Commit Graph

7 Commits (4dcbf38c38a5a97613edb17b789e7fa9d2de80e5)

Author SHA1 Message Date
Tobias Klauser 611c8b576e process, v3/process: use SC_CLK_TCK sysconf value instead of hard-coding clock ticks
The github.com/tklauser/go-sysconf package is already a dependency used
in the cpu and v3/cpu packages to determine clock ticks using
`sysconf.Sysconf(sysconf.SC_CLK_TCK)`, see #1036. Use the same in
packages process and v3/process as well instead of hard-coding clock
ticks to 100.
John Blesener 07797b12d3
Make cmdNameWithContext lower-case to avoid exporting it
Signed-off-by: John Blesener <jblesener@reactivelabs.com>
John Blesener e8b2bea47f
Fix spaces on long process names for MacOS
Lomanic 5641beec4c [process][darwin] Fix Parent() when lsof returns warnings
Same as #867, the error being:
error strconv.Atoi: parsing "      Output information may be incomplete.": invalid syntax
Lomanic 148a662b06 [process][darwin] Remove Groups() as it's non-functional
shirou b7e74218ca [v3 migration] change process.Status returns []string with no letter status string.
shirou 005a35c436 [v3 migartion] add v3 sourcodes, and change disk.opts to []string