Skip to content

Commit

Permalink
adding macos support to procstat smaps
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramadon committed Sep 22, 2024
1 parent ca1a069 commit 31ff893
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/inputs/procstat/memmap.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build linux
//go:build linux || darwin

package procstat

Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/procstat/memmap_notlinux.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build !linux
//go:build windows

package procstat

Expand Down
1 change: 0 additions & 1 deletion plugins/inputs/procstat/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
type Process interface {
PID() PID
Tags() map[string]string

PageFaults() (*process.PageFaultsStat, error)
IOCounters() (*process.IOCountersStat, error)
MemoryInfo() (*process.MemoryInfoStat, error)
Expand Down

0 comments on commit 31ff893

Please sign in to comment.