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.
2021-06-02 14:11:11 +02:00
John Blesener
07797b12d3
Make cmdNameWithContext lower-case to avoid exporting it
...
Signed-off-by: John Blesener <jblesener@reactivelabs.com>
2021-03-27 17:14:18 +09:00
John Blesener
e8b2bea47f
Fix spaces on long process names for MacOS
2021-02-16 14:51:44 +09:00
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
2020-11-08 17:13:56 +01:00
Lomanic
148a662b06
[process][darwin] Remove Groups() as it's non-functional
2020-11-08 17:13:56 +01:00
shirou
b7e74218ca
[v3 migration] change process.Status returns []string with no letter status string.
2020-10-31 23:29:25 +09:00
shirou
005a35c436
[v3 migartion] add v3 sourcodes, and change disk.opts to []string
2020-10-31 23:29:24 +09:00