protected class IOStatCollector.IOStatReader extends ProcessReaderHelper
iostat -d -C -n 999 -w 60, where
60 is the interval. There is no option to suppress the
periodic repeat of the header. The header repeats in its entirety every
"page" full.
disk0 disk1 disk2 disk3 disk4 cpu
KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us sy id
197.14 26 5.10 79.10 1 0.07 3.74 0 0.00 41.31 0 0.00 13.03 0 0.00 31 6 63
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 53 4 43
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 56 8 37
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 54 9 37
0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 0.00 0 0.00 57 8 35
Note that the #of device columns will vary for this format. The #of
columns for the report can presumably vary as devices are connected and
disconnected!
Note: The first data line is ignored as it will be a historical average.
| Modifier and Type | Field and Description |
|---|---|
static int |
IOSTAT_CPU_FIELDS_NUM |
static String |
IOSTAT_FIELD_CPU_ID |
static String |
IOSTAT_FIELD_CPU_SY |
static String |
IOSTAT_FIELD_CPU_US |
static String |
IOSTAT_FIELD_KB_T |
static String |
IOSTAT_FIELD_MB_S |
static String |
IOSTAT_FIELD_TPS |
ris, log| Constructor and Description |
|---|
IOStatCollector.IOStatReader() |
| Modifier and Type | Method and Description |
|---|---|
protected ActiveProcess |
getActiveProcess()
Override to return the
ActiveProcess. |
protected void |
readProcess()
Responsible for reading the data.
|
readLine, run, startpublic static final int IOSTAT_CPU_FIELDS_NUM
public static final String IOSTAT_FIELD_KB_T
public static final String IOSTAT_FIELD_TPS
public static final String IOSTAT_FIELD_MB_S
public static final String IOSTAT_FIELD_CPU_US
public static final String IOSTAT_FIELD_CPU_SY
public static final String IOSTAT_FIELD_CPU_ID
protected ActiveProcess getActiveProcess()
ProcessReaderHelperActiveProcess.getActiveProcess in class ProcessReaderHelperprotected void readProcess()
throws Exception
ProcessReaderHelperreadProcess in class ProcessReaderHelperExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.