diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-01-03 19:24:05 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2001-01-03 19:24:05 +0000 |
commit | e816addd30a715d9cb09df7bd4a24b047fbf4845 (patch) | |
tree | b6f061ac082125c2648325690188d348bb2b785a /usr.bin | |
parent | 56454668b619b353e3cf18abd110fc3b805b32a9 (diff) |
New length of kmembuckets counters; we don't really take advantage of
the full length, since that would bring us way beyond typical terminal
size (~20 digits per field). Still, this should be enough for a while.
Diffstat (limited to 'usr.bin')
-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 fed14499d1e..83d7c239912 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.41 2001/01/02 17:51:11 mickey Exp $ */ +/* $OpenBSD: vmstat.c,v 1.42 2001/01/03 19:24:04 angelos Exp $ */ /* * Copyright (c) 1980, 1986, 1991, 1993 @@ -847,11 +847,11 @@ domem() if (first) { (void)printf("Memory statistics by bucket size\n"); (void)printf( - " Size In Use Free Requests HighWater Couldfree\n"); + " Size In Use Free Requests HighWater Couldfree\n"); first = 0; } size = 1 << i; - (void)printf("%8d %8ld %6ld %12lu %7ld %10ld\n", size, + (void)printf("%8d %8qu %6qu %18qu %7qu %10qu\n", size, kp->kb_total - kp->kb_totalfree, kp->kb_totalfree, kp->kb_calls, kp->kb_highwat, kp->kb_couldfree); |