1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-29 13:49:21 +08:00

10 Commits

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.
2021-06-02 14:11:11 +02:00
Sergey Kacheev
44d3907f9d
Merge branch 'master' into splitProcStat 2021-05-11 09:43:55 +07:00
shirou
008b5a41ef
Merge pull request #1060 from heptalium/master
Fix fillFromStatusWithContext() on systems with 128 bit signal masks.
2021-05-08 18:52:36 +09:00
Jens Meißner
14a1f64e7e
[v3][process][linux] Fix fillFromStatusWithContext() on systems with 128 bit signal masks. 2021-04-25 17:35:07 +02:00
Damilola Bello
61c36c7b8c Make limitToUint parse to uint instead of int 2021-04-23 21:30:29 -04:00
Sergey Kacheev
306f6d104b add a reliable way to get fields from /prod/PID/stat 2021-04-05 12:11:15 +07:00
shirou
a5a07ae83c [process][linux] apply #1033 to v3. 2021-03-01 20:23:37 +09:00
Rishabh Arya
5b1d8ecae7 fix smap parser 2021-01-03 21:06:54 +05:30
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