From c3c34e5fb34830f18b62261b8e58a310e5089146 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Fri, 16 Dec 2016 22:25:00 -0800 Subject: [PATCH] vmstat - Adjust headers * Widen some of the header names to make them more readable. * Adjust manual page. --- usr.bin/vmstat/vmstat.8 | 12 ++++-------- usr.bin/vmstat/vmstat.c | 2 +- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/usr.bin/vmstat/vmstat.8 b/usr.bin/vmstat/vmstat.8 index ca5f765558..c749eef65b 100644 --- a/usr.bin/vmstat/vmstat.8 +++ b/usr.bin/vmstat/vmstat.8 @@ -210,10 +210,8 @@ they belong to processes which are running or have run in the last 20 seconds. .Pp .Bl -tag -width indent -compact -.It avm -active virtual pages .It fre -size of the free list +Approximate free and easily-freeable memory. .El .It page Information about page faults and paging activity. @@ -234,8 +232,6 @@ pages paged out pages freed per second .\" .It de .\" anticipated short term memory shortfall -.It sr -pages scanned by clock algorithm, per-second .El .It disks Disk operations per second (this field is system dependent). @@ -263,11 +259,11 @@ and will not randomly select other devices in the system. Trap/interrupt rate averages per second over last 5 seconds. .Pp .Bl -tag -width indent -compact -.It in +.It int device interrupts per interval (including clock interrupts) -.It sy +.It sys system calls per interval -.It cs +.It ctx cpu context switch rate (switches/interval) .El .It cpu diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 526265a938..a936ce4649 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -596,7 +596,7 @@ printhdr(void) printf(" %c%c%d ", dev_select[i].device_name[0], dev_select[i].device_name[1], dev_select[i].unit_number); - printf(" in sy cs us sy id\n"); + printf(" int sys ctx us sy id\n"); hdrcnt = winlines - 2; } -- 2.11.4.GIT