Skip to content

Instantly share code, notes, and snippets.

@gatopeich
Created October 19, 2018 08:23
Show Gist options
  • Save gatopeich/a14cbadc4b0db4f6f00e4f0f0fd1fe87 to your computer and use it in GitHub Desktop.
Save gatopeich/a14cbadc4b0db4f6f00e4f0f0fd1fe87 to your computer and use it in GitHub Desktop.
Checking Linux processes scheculing policies and priorities with ps command
$ ps -eo pid,policy,rtprio,pri,nice,cmd
PID POL RTPRIO PRI NI CMD
1 TS - 19 0 /usr/lib/systemd/systemd --switched-root --system --deserialize 23
2 TS - 19 0 [kthreadd]
3 TS - 19 0 [ksoftirqd/0]
5 TS - 39 -20 [kworker/0:0H]
6 TS - 19 0 [kworker/u16:0]
7 FF 99 139 - [migration/0]
8 TS - 19 0 [rcu_bh]
9 TS - 19 0 [rcu_sched]
10 FF 99 139 - [migration/1]
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment