Skip to content

Commit

Permalink
feat: Add support for meminfo
Browse files Browse the repository at this point in the history
Signed-off-by: Brad Beam <[email protected]>
  • Loading branch information
bradbeam authored and pgier committed Nov 11, 2019
1 parent 0c9b32e commit 8a05559
Show file tree
Hide file tree
Showing 4 changed files with 430 additions and 185 deletions.
46 changes: 46 additions & 0 deletions fixtures.ttar
Original file line number Diff line number Diff line change
Expand Up @@ -1674,6 +1674,52 @@ md101 : active (read-only) raid0 sdb[2] sdd[1] sdc[0]
unused devices: <none>
Mode: 644
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Path: fixtures/proc/meminfo
Lines: 42
MemTotal: 15666184 kB
MemFree: 440324 kB
Buffers: 1020128 kB
Cached: 12007640 kB
SwapCached: 0 kB
Active: 6761276 kB
Inactive: 6532708 kB
Active(anon): 267256 kB
Inactive(anon): 268 kB
Active(file): 6494020 kB
Inactive(file): 6532440 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 768 kB
Writeback: 0 kB
AnonPages: 266216 kB
Mapped: 44204 kB
Shmem: 1308 kB
Slab: 1807264 kB
SReclaimable: 1738124 kB
SUnreclaim: 69140 kB
KernelStack: 1616 kB
PageTables: 5288 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 7833092 kB
Committed_AS: 530844 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 36596 kB
VmallocChunk: 34359637840 kB
HardwareCorrupted: 0 kB
AnonHugePages: 12288 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 91136 kB
DirectMap2M: 16039936 kB
Mode: 664
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Directory: fixtures/proc/net
Mode: 755
# ttar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down
42 changes: 0 additions & 42 deletions fixtures/meminfo

This file was deleted.

Loading

0 comments on commit 8a05559

Please sign in to comment.