How can I view the IO priority of a process? like to see for example if something has been ionice-ed.
Asked
Active
Viewed 9,066 times
21
Gilles 'SO- stop being evil'
- 807,993
- 194
- 1,674
- 2,175
xenoterracide
- 57,918
- 74
- 184
- 250
1 Answers
28
ionice [-p] <pids/>
For example:
$ ionice -p `pidof X`
none: prio 0
This means X is using the none scheduling class (best effort) with priority 0 (highest priority out of 7). Read more with man ionice.
badp
- 2,977
- 2
- 24
- 32