Subject: | MemStats.pm "inactive" not available in 2.4.21-51.EL, Failed test (t/040-memstat.t at line 47) |
Hello and thanks for Sys::Statistics::Linux,
I'm getting the following test case failure:
not ok 15 - checking memstats inactive
Failed test (t/040-memstat.t at line 47)
Using kernel:
cat /proc/sys/kernel/osrelease
2.4.21-51.EL
With a meminfo file that looks like:
cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 1313763328 1159131136 154632192 0 200097792 472494080
Swap: 735305728 302223360 433082368
MemTotal: 1282972 kB
MemFree: 151008 kB
MemShared: 0 kB
Buffers: 195408 kB
Cached: 397832 kB
SwapCached: 63588 kB
Active: 896192 kB
ActiveAnon: 478036 kB
ActiveCache: 418156 kB
Inact_dirty: 138632 kB
Inact_laundry: 35520 kB
Inact_clean: 7544 kB
Inact_target: 215576 kB
HighTotal: 393196 kB
HighFree: 49080 kB
LowTotal: 889776 kB
LowFree: 101928 kB
SwapTotal: 718072 kB
SwapFree: 422932 kB
CommitLimit: 1359556 kB
Committed_AS: 1548588 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 4096 kB
( note - no Inactive, but 4 Inact_* entries )
It's RedHat ES3, I found the following docs that might be useful:
http://www.redhat.com/advice/tips/meminfo.html
Cheers,
Peter (Stig) Edwards