Consistently mark percentage scales as such.
PR: bin/101975 MFC after: 3 days
This commit is contained in:
parent
1dfd31abfb
commit
65b02a0f4b
@ -182,7 +182,7 @@ labeliostat()
|
|||||||
row = 0;
|
row = 0;
|
||||||
wmove(wnd, row, 0); wclrtobot(wnd);
|
wmove(wnd, row, 0); wclrtobot(wnd);
|
||||||
mvwaddstr(wnd, row++, INSET,
|
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, "cpu user|");
|
||||||
mvwaddstr(wnd, row++, 0, " nice|");
|
mvwaddstr(wnd, row++, 0, " nice|");
|
||||||
mvwaddstr(wnd, row++, 0, " system|");
|
mvwaddstr(wnd, row++, 0, " system|");
|
||||||
@ -244,7 +244,7 @@ barlabels(row)
|
|||||||
char tmpstr[10];
|
char tmpstr[10];
|
||||||
|
|
||||||
mvwaddstr(wnd, row++, INSET,
|
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;
|
linesperregion = 2 + kbpt;
|
||||||
for (i = 0; i < num_devices; i++)
|
for (i = 0; i < num_devices; i++)
|
||||||
if (dev_select[i].selected) {
|
if (dev_select[i].selected) {
|
||||||
|
@ -236,7 +236,7 @@ labelpigs()
|
|||||||
wmove(wnd, 0, 0);
|
wmove(wnd, 0, 0);
|
||||||
wclrtoeol(wnd);
|
wclrtoeol(wnd);
|
||||||
mvwaddstr(wnd, 0, 20,
|
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
|
int
|
||||||
|
@ -128,7 +128,7 @@ labelswap()
|
|||||||
header = getbsize(&hlen, &blocksize);
|
header = getbsize(&hlen, &blocksize);
|
||||||
mvwprintw(wnd, row++, 0, "%-5s%*s%9s %55s",
|
mvwprintw(wnd, row++, 0, "%-5s%*s%9s %55s",
|
||||||
"Disk", hlen, header, "Used",
|
"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) {
|
for (i = 0; i < kvnsw; ++i) {
|
||||||
mvwprintw(wnd, i + 1, 0, "%-5s", kvmsw[i].ksw_devname);
|
mvwprintw(wnd, i + 1, 0, "%-5s", kvmsw[i].ksw_devname);
|
||||||
|
Loading…
Reference in New Issue
Block a user