Consistently mark percentage scales as such.
PR: bin/101975 MFC after: 3 days
This commit is contained in:
parent
1dfd31abfb
commit
65b02a0f4b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=164689
@ -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) {
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user