diff options
| author | Marc G. Fournier <scrappy@FreeBSD.org> | 1997-03-16 23:11:07 +0000 |
|---|---|---|
| committer | Marc G. Fournier <scrappy@FreeBSD.org> | 1997-03-16 23:11:07 +0000 |
| commit | 54a064002a7930ff754dfa61f5a4abbf891e5376 (patch) | |
| tree | 43d7536ac5c66288bbb7e5752ef305360eae2ad0 /usr.bin/vmstat | |
| parent | 444f003cca2c56fb7395eeca48fea61c15a67fad (diff) | |
Notes
Diffstat (limited to 'usr.bin/vmstat')
| -rw-r--r-- | usr.bin/vmstat/vmstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 4ec7152be90d..6f65a3066702 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -426,7 +426,7 @@ dovmstat(interval, reps) total.t_rq - 1, total.t_dw + total.t_pw, total.t_sw); #define pgtok(a) ((a) * sum.v_page_size >> 10) #define rate(x) (((x) + halfuptime) / uptime) /* round */ - (void)printf("%6ld%6ld ", + (void)printf("%8ld%6ld ", pgtok(total.t_avm), pgtok(total.t_free)); (void)printf("%4lu ", rate(sum.v_vm_faults - osum.v_vm_faults)); (void)printf("%3lu ", @@ -465,13 +465,13 @@ printhdr() { register int i; - (void)printf(" procs memory page%*s", 20, ""); + (void)printf(" procs memory page%*s", 20, ""); if (ndrives > 1) (void)printf("disks %*s faults cpu\n", ndrives * 3 - 6, ""); else (void)printf("%*s faults cpu\n", ndrives * 3, ""); - (void)printf(" r b w avm fre flt re pi po fr sr "); + (void)printf(" r b w avm fre flt re pi po fr sr "); for (i = 0; i < dk_ndrive; i++) if (dr_select[i]) (void)printf("%c%c ", dr_name[i][0], |
