summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-11-27 20:19:05 +0000
committeryar <yar@FreeBSD.org>2006-11-27 20:19:05 +0000
commitb3c89a49481f20757609507e2c527d6b787058ea (patch)
treefcee98c57a13e0e7617ce3dfc0e616a9ae098128 /usr.bin
parentcc6ba21ff6ff020abfbda13ee9f990b784fa71f4 (diff)
downloadFreeBSD-src-b3c89a49481f20757609507e2c527d6b787058ea.zip
FreeBSD-src-b3c89a49481f20757609507e2c527d6b787058ea.tar.gz
Consistently mark percentage scales as such.
PR: bin/101975 MFC after: 3 days
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/iostat.c4
-rw-r--r--usr.bin/systat/pigs.c2
-rw-r--r--usr.bin/systat/swap.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/systat/iostat.c b/usr.bin/systat/iostat.c
index 59c247d..1ac8d5b 100644
--- a/usr.bin/systat/iostat.c
+++ b/usr.bin/systat/iostat.c
@@ -182,7 +182,7 @@ labeliostat()
row = 0;
wmove(wnd, row, 0); wclrtobot(wnd);
mvwaddstr(wnd, row++, INSET,
- "/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
+ "/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
mvwaddstr(wnd, row++, 0, "cpu user|");
mvwaddstr(wnd, row++, 0, " nice|");
mvwaddstr(wnd, row++, 0, " system|");
@@ -244,7 +244,7 @@ barlabels(row)
char tmpstr[10];
mvwaddstr(wnd, row++, INSET,
- "/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
+ "/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
linesperregion = 2 + kbpt;
for (i = 0; i < num_devices; i++)
if (dev_select[i].selected) {
diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c
index b0d6d52..16d8ae9 100644
--- a/usr.bin/systat/pigs.c
+++ b/usr.bin/systat/pigs.c
@@ -236,7 +236,7 @@ labelpigs()
wmove(wnd, 0, 0);
wclrtoeol(wnd);
mvwaddstr(wnd, 0, 20,
- "/0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
+ "/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
}
int
diff --git a/usr.bin/systat/swap.c b/usr.bin/systat/swap.c
index 7729afd..5436b1c 100644
--- a/usr.bin/systat/swap.c
+++ b/usr.bin/systat/swap.c
@@ -128,7 +128,7 @@ labelswap()
header = getbsize(&hlen, &blocksize);
mvwprintw(wnd, row++, 0, "%-5s%*s%9s %55s",
"Disk", hlen, header, "Used",
- "/0% /10% /20% /30% /40% /50% /60% /70% /80% /90% /100");
+ "/0% /10 /20 /30 /40 /50 /60 /70 /80 /90 /100");
for (i = 0; i < kvnsw; ++i) {
mvwprintw(wnd, i + 1, 0, "%-5s", kvmsw[i].ksw_devname);
OpenPOWER on IntegriCloud