summaryrefslogtreecommitdiff
path: root/usr.bin/vmstat/vmstat.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-07-25 21:25:30 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-07-25 21:25:30 +0000
commit81c6e2e53009d99cd35f42331f7608e2382e068e (patch)
tree9a50398fcf2de91dbab80cad62e29dfa9aec0779 /usr.bin/vmstat/vmstat.c
parent54a7e8885e8dc3a8fac7701cf293ea08341eb47a (diff)
context switches and interrupts are traps, not faults. align cpu field a
little better. some man page pretty from jmc@ and ok millert@
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
-rw-r--r--usr.bin/vmstat/vmstat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 03ccd416bc2..69cd6933ae4 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1,5 +1,5 @@
/* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */
-/* $OpenBSD: vmstat.c,v 1.78 2003/06/25 21:18:08 deraadt Exp $ */
+/* $OpenBSD: vmstat.c,v 1.79 2003/07/25 21:25:29 tedu Exp $ */
/*
* Copyright (c) 1980, 1986, 1991, 1993
@@ -444,11 +444,11 @@ printhdr(void)
(void)printf(" procs memory page%*s", 20, "");
if (ndrives > 0)
- (void)printf("%s %*sfaults cpu\n",
+ (void)printf("%s %*straps cpu\n",
((ndrives > 1) ? "disks" : "disk"),
((ndrives > 1) ? ndrives * 4 - 4 : 0), "");
else
- (void)printf("%*s faults cpu\n",
+ (void)printf("%*s traps cpu\n",
ndrives * 3, "");
(void)printf(" r b w avm fre flt re pi po fr sr ");
@@ -457,7 +457,7 @@ printhdr(void)
(void)printf("%c%c%c ", dr_name[i][0],
dr_name[i][1],
dr_name[i][strlen(dr_name[i]) - 1]);
- (void)printf(" in sy cs us sy id\n");
+ (void)printf(" int sys cs us sy id\n");
hdrcnt = winlines - 2;
}