diff options
author | 2001-01-03 19:24:04 +0000 | |
---|---|---|
committer | 2001-01-03 19:24:04 +0000 | |
commit | 47c65eea4a5daf89978bd287dcc2ca8d53e5a6c9 (patch) | |
tree | 0b59b85e46349a62581abc4326e78afc5563aecb | |
parent | Add sysctl_quad/sysctl_rdquad routines. (diff) | |
download | wireguard-openbsd-47c65eea4a5daf89978bd287dcc2ca8d53e5a6c9.tar.xz wireguard-openbsd-47c65eea4a5daf89978bd287dcc2ca8d53e5a6c9.zip |
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.
-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); |