21

How can I view the IO priority of a process? like to see for example if something has been ionice-ed.

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
xenoterracide
  • 57,918
  • 74
  • 184
  • 250

1 Answers1

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