summaryrefslogtreecommitdiff
path: root/vmstat.c
diff options
context:
space:
mode:
authoralbert <>2002-11-19 23:40:56 +0000
committeralbert <>2002-11-19 23:40:56 +0000
commitd796c16b1b0bac1e33a9109ee92ef0ea5023c3ea (patch)
tree9f6f15edc4002b3338ecb893cae49a83e4afff7c /vmstat.c
parent1f8e72837e5ceb05a86ba21f86d864df0ffdc067 (diff)
downloadprocps-ng-d796c16b1b0bac1e33a9109ee92ef0ea5023c3ea.tar.gz
After 1st row, -a had 2 inact cols. #169774
Diffstat (limited to 'vmstat.c')
-rw-r--r--vmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmstat.c b/vmstat.c
index bfef829..78ebfb0 100644
--- a/vmstat.c
+++ b/vmstat.c
@@ -315,7 +315,7 @@ static void new_format(void) {
running, blocked,
kb_swap_used,kb_main_free,
a_option?kb_inactive:kb_main_buffers,
- a_option?kb_inactive:kb_main_cached,
+ a_option?kb_active:kb_main_cached,
(unsigned)( ( (pswpin [tog] - pswpin [!tog])*kb_per_page+sleep_half )/sleep_time ),
(unsigned)( ( (pswpout[tog] - pswpout[!tog])*kb_per_page+sleep_half )/sleep_time ),
(unsigned)( ( pgpgin [tog] - pgpgin [!tog] +sleep_half )/sleep_time ),