1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00

11 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
jay park
2984accfa1 return error when CPUTimes fails on callPs, modify comments on ReadLines 2015-09-13 13:05:09 +09:00
Shirou WAKAYAMA
b5ffc220a6 common: Rename StringContains to StringsContains and add StringsHas. 2015-07-21 15:25:04 +09:00
WAKAYAMA Shirou
69ad6a7822 fix new line problem on Windows 2015-02-12 22:34:00 +09:00
Shirou WAKAYAMA
389b362cce if not NULL terminated, size is not set correctly. 2015-01-22 15:16:09 +09:00
Shirou WAKAYAMA
406cbe9b87 implements pernic of NetIOCounters. 2015-01-01 21:29:25 +09:00
Shirou WAKAYAMA
13cd195a7e change package name. 2014-12-30 22:09:05 +09:00
Shirou WAKAYAMA
3f7769ccfa implement disk_partition of Darwin using golang.org/x/sys/unix. 2014-12-28 22:30:07 +09:00
Shirou WAKAYAMA
a1c1d7b25f fix on Linux. 2014-11-27 10:32:35 +09:00
WAKAYAMA shirou
d11680c773 fix bugs on FreeBSD. 2014-11-27 10:25:14 +09:00
Shirou WAKAYAMA
a4671fcc2a move subdirectories. refer to issue #24 2014-11-27 10:18:15 +09:00