protected class VMStatCollector.VMStatReader extends ProcessReaderHelper
vm_stat 60
, where 60
is the
interval. Unlike the linux vmstat
, there is no option to
suppress the periodic repeat of the header. The header repeats in its
entirety every "page" full.
Mach Virtual Memory Statistics: (page size of 4096 bytes, cache hits 0%) free active spec inactive wire faults copy 0fill reactive pageins pageout 346061 1246K 51002 196922 190727 1004215K 19835511 525442K 7555575 2897558 2092534 346423 1247K 50754 196922 189767 2707 0 1263 0 0 0 343123 1247K 52180 198906 189767 3885 0 1754 0 0 0 342474 1247K 52101 198978 190116 21739 2013 4651 0 0 0 342542 1247K 52016 199319 189799 5792 17 2561 0 0 0For more recent OSX releases (e.g., Yosemite) there are now additional columns:
Mach Virtual Memory Statistics: (page size of 4096 bytes) free active specul inactive throttle wired prgable faults copy 0fill reactive purged file-backed anonymous cmprssed cmprssor dcomprs comprs pageins pageout swapins swapouts 17656 1502912 110218 1329298 0 783121 32302 1122834K 22138464 897721K 4538117 2220029 382716 2559712 1093181 449012 1856773 4298532 67248050 263644 779970 886296 41993 1479331 110174 1329290 0 782241 33940 2115 1 1316 0 0 382671 2536124 1093181 449012 0 0 24 0 0 0
r
is, log
Constructor and Description |
---|
VMStatCollector.VMStatReader() |
Modifier and Type | Method and Description |
---|---|
protected ActiveProcess |
getActiveProcess()
Override to return the
ActiveProcess . |
protected void |
readProcess()
Responsible for reading the data.
|
readLine, run, start
protected ActiveProcess getActiveProcess()
ProcessReaderHelper
ActiveProcess
.getActiveProcess
in class ProcessReaderHelper
protected void readProcess() throws Exception
ProcessReaderHelper
readProcess
in class ProcessReaderHelper
Exception
TestParse_vm_stat.test_vmstat_header_and_data_parse()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.