Skip to content

Commit

Permalink
Use proc not ps for OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth authored and Gareth committed Aug 10, 2021
1 parent a96a0c2 commit 8795012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pidusage.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func init() {
fnMap["darwin"] = wrapper("ps")
fnMap["sunos"] = wrapper("ps")
fnMap["freebsd"] = wrapper("ps")
fnMap["openbsd"] = wrapper("ps")
fnMap["openbsd"] = wrapper("proc")
fnMap["aix"] = wrapper("ps")
fnMap["linux"] = wrapper("proc")
fnMap["netbsd"] = wrapper("proc")
Expand Down

0 comments on commit 8795012

Please sign in to comment.