SCHED_BATCH

This commit is contained in:
albert 2006-01-22 08:00:03 +00:00
parent 58f47c6614
commit 20fba946af
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -1,6 +1,7 @@
procps-3.2.6 --> procps-3.2.7
top: document H option -- thanks Tony Ernst
top: terabytes -- thanks Tony Ernst
ps: SCHED_BATCH is B
procps-3.2.5 --> procps-3.2.6

View File

@ -609,7 +609,7 @@ static int pr_class(char *restrict const outbuf, const proc_t *restrict const pp
case 0: return snprintf(outbuf, COLWID, "TS"); // SCHED_OTHER
case 1: return snprintf(outbuf, COLWID, "FF"); // SCHED_FIFO
case 2: return snprintf(outbuf, COLWID, "RR"); // SCHED_RR
case 3: return snprintf(outbuf, COLWID, "#3"); // SCHED_BATCH? (will be "B")
case 3: return snprintf(outbuf, COLWID, "B"); // SCHED_BATCH? (will be "B")
case 4: return snprintf(outbuf, COLWID, "#4"); // SCHED_ISO? (Con Kolivas)
case 5: return snprintf(outbuf, COLWID, "#5"); //
case 8: return snprintf(outbuf, COLWID, "#8"); //