CMGS
80b3769ea3
not modify old API now
2018-09-21 11:22:23 +08:00
CMGS
d93c01e54d
get docker container cpu usage from cpuacct.usage
2018-09-11 15:29:13 +08:00
Laurie Clark-Michalek
413cb32b6c
Use static initialisation for invoke instances, instead of init funcs
...
The order of init function execution is dependant on the order that the
source files are passed to the compiler. This causes issues when
building under other build systems, such as bazel or buck, as they are
not guarenteed to maintain the same file order as the default go tool.
2018-03-21 14:08:39 +00:00
shirou
231815dfea
[docker]: move String() to docker.go for all platforms.
2018-01-09 11:12:00 +09:00
Shirou WAKAYAMA
57f6aebc7e
add Timeout to invoke command and use common.Invoke refs: #201
2016-05-20 17:59:41 +09:00
Shirou WAKAYAMA
97e1d05084
[docker]linux: add CgroupDockerStat ( #189 )
2016-04-24 17:15:45 +09:00
Shirou WAKAYAMA
4bb84648bf
JSON representation is renamed to fit Google JSON style, camelCase.
2016-03-23 10:52:46 +09:00
Shirou WAKAYAMA
40bbba9636
docker[linux]: add more memory stats in cgroup.
2015-11-21 23:00:37 +09:00
Shirou WAKAYAMA
1223e28905
docker[linux]: change docker error valiable and add cgroup error.
2015-08-07 10:16:06 +09:00
Cameron Sparr
7a2d225b30
Allow gopsutil docker to build on non-linux boxes by stubbing out non-linux libraries
2015-08-05 10:19:36 -06:00