summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-10-21 10:16:26 +0000
committerru <ru@FreeBSD.org>2006-10-21 10:16:26 +0000
commit7b0d9d98850fbd404d93497c62ac45e9c1dd4312 (patch)
tree7b06f786431b0d6f9f7371a4ada28a2468be7896
parent90429a233141d728b2397f41f8e23e653ae43ff6 (diff)
downloadFreeBSD-src-7b0d9d98850fbd404d93497c62ac45e9c1dd4312.zip
FreeBSD-src-7b0d9d98850fbd404d93497c62ac45e9c1dd4312.tar.gz
- Add comma after REQUESTS field missed in previous commit.
- Widen some columns; make width of header columns less cryptic.
-rw-r--r--usr.bin/vmstat/vmstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index 66c83ce..24d6622 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -969,13 +969,13 @@ domemstat_zone(void)
memstat_strerror(error));
}
}
- printf("%-15s %-8s %-9s %-7s %-5s %-8s %-8s\n\n", "ITEM", "SIZE",
+ printf("%-20s %8s %8s %8s %8s %8s %8s\n\n", "ITEM", "SIZE",
"LIMIT", "USED", "FREE", "REQUESTS", "FAILURES");
for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
mtp = memstat_mtl_next(mtp)) {
strlcpy(name, memstat_get_name(mtp), MEMTYPE_MAXNAME);
strcat(name, ":");
- printf("%-15s %4llu, %8llu, %7llu, %6llu, %8llu %8llu\n", name,
+ printf("%-20s %8llu, %8llu, %8llu, %8llu, %8llu, %8llu\n", name,
memstat_get_size(mtp), memstat_get_countlimit(mtp),
memstat_get_count(mtp), memstat_get_free(mtp),
memstat_get_numallocs(mtp), memstat_get_failures(mtp));
OpenPOWER on IntegriCloud