How do I view the IO priority of a process?

8,487
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.

Share:
8,487

Related videos on Youtube

xenoterracide
Author by

xenoterracide

Former Linux System Administrator, now full time Java Software Engineer.

Updated on September 17, 2022

Comments

  • xenoterracide
    xenoterracide almost 2 years

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