vmstat: fix 1st time enumerators so zeros aren't shown
Some DELTA versions were used where raw totals needed. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
0196a4e350
commit
fa0d983a7d
8
vmstat.c
8
vmstat.c
@ -204,10 +204,10 @@ static unsigned long unitConvert(unsigned long size)
|
||||
}
|
||||
|
||||
static enum stat_item First_stat_items[] = {
|
||||
PROCPS_STAT_SYS_DELTA_PROC_RUNNING,
|
||||
PROCPS_STAT_SYS_DELTA_PROC_BLOCKED,
|
||||
PROCPS_STAT_SYS_DELTA_INTERRUPTS,
|
||||
PROCPS_STAT_SYS_DELTA_CTX_SWITCHES,
|
||||
PROCPS_STAT_SYS_PROC_RUNNING,
|
||||
PROCPS_STAT_SYS_PROC_BLOCKED,
|
||||
PROCPS_STAT_SYS_INTERRUPTS,
|
||||
PROCPS_STAT_SYS_CTX_SWITCHES,
|
||||
PROCPS_STAT_TIC_USER,
|
||||
PROCPS_STAT_TIC_NICE,
|
||||
PROCPS_STAT_TIC_SYSTEM,
|
||||
|
Loading…
Reference in New Issue
Block a user