From: Jim Warner Date: Thu, 2 Jun 2016 05:00:00 +0000 (-0500) Subject: vmstat: fix 1st time enumerators so zeros aren't shown X-Git-Tag: v4.0.0~887 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa0d983a7de6a83de7aff7a39e2331e15c0e0436;p=procps-ng vmstat: fix 1st time enumerators so zeros aren't shown Some DELTA versions were used where raw totals needed. Signed-off-by: Jim Warner --- diff --git a/vmstat.c b/vmstat.c index 35a4f57f..78792d69 100644 --- a/vmstat.c +++ b/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,