feat(agent): host collector for /proc loadavg, meminfo, uptime
This commit is contained in:
parent
e4db0beac6
commit
ce828084c8
5 changed files with 152 additions and 0 deletions
1
agent/test/fixtures/proc/loadavg
vendored
Normal file
1
agent/test/fixtures/proc/loadavg
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
0.42 0.55 0.31 3/512 12345
|
||||
7
agent/test/fixtures/proc/meminfo
vendored
Normal file
7
agent/test/fixtures/proc/meminfo
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
MemTotal: 16384000 kB
|
||||
MemFree: 2048000 kB
|
||||
MemAvailable: 8192000 kB
|
||||
Buffers: 256000 kB
|
||||
Cached: 4096000 kB
|
||||
SwapTotal: 4194304 kB
|
||||
SwapFree: 4194304 kB
|
||||
1
agent/test/fixtures/proc/uptime
vendored
Normal file
1
agent/test/fixtures/proc/uptime
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
123456.78 987654.32
|
||||
Loading…
Add table
Add a link
Reference in a new issue