diff --git a/ps/output.c b/ps/output.c index d99be099..24f7e5e9 100644 --- a/ps/output.c +++ b/ps/output.c @@ -609,10 +609,13 @@ 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, "B"); // SCHED_BATCH? (will be "B") + case 3: return snprintf(outbuf, COLWID, "B"); // SCHED_BATCH case 4: return snprintf(outbuf, COLWID, "#4"); // SCHED_ISO? (Con Kolivas) - case 5: return snprintf(outbuf, COLWID, "#5"); // + case 5: return snprintf(outbuf, COLWID, "#5"); // SCHED_IDLEPRIO? (Con Kolivas) + case 8: return snprintf(outbuf, COLWID, "#6"); // + case 8: return snprintf(outbuf, COLWID, "#7"); // case 8: return snprintf(outbuf, COLWID, "#8"); // + case 8: return snprintf(outbuf, COLWID, "#9"); // default: return snprintf(outbuf, COLWID, "?"); // unknown value } }