Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 9 down vote accepted
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|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.