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:
Jim Warner 2016-06-02 00:00:00 -05:00 committed by Craig Small
parent 0196a4e350
commit fa0d983a7d

View File

@ -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,