1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-02 22:17:08 +08:00

55 Commits

Author SHA1 Message Date
Shirou WAKAYAMA
fc513b6f9a proces[darwin]: change exec.Command to interface to enable mocking.
Add common.invoker interface to mock exec.Command. common.FakeInvoker returns
expected file if exists instead of invoke exec.Command.
Currenly, mocking is enabled only process.Pids(). I will expand to other funcs incrementally.
2015-09-16 11:58:02 +09:00
Shirou WAKAYAMA
8db78af11e process: CPUPercent delta should be changed by CPUNums. 2015-03-17 17:03:03 +09:00
Shirou WAKAYAMA
2093d43c2a process: implement cpu_percent on linux. 2015-03-04 00:02:09 +09:00
Shirou WAKAYAMA
13cd195a7e change package name. 2014-12-30 22:09:05 +09:00
Shirou WAKAYAMA
a4671fcc2a move subdirectories. refer to issue #24 2014-11-27 10:18:15 +09:00