Why does "ps -l" shows one number in column "PRI" but in same time "ps -o pri" shows another number?
Issue
-
Why does
ps -l
shows one number in column "PRI" but in same timeps -o pri
shows another number? for instance:$ ps -elf | grep migration F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME CMD 1 S root 3 2 0 -40 - - 0 migrat Mar28 ? 00:00:04 [migration/0] $ ps -eo pid,ni,pri,comm | grep migration PID NI PRI COMMAND 3 - 139 migration/0
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.