I recently found out about ionice. If I run a script which in turn runs processes will the priorities of the child processes be equal to the parent script? If not, is there a way to set priorities for the child processes together?


Niceness does propagate as answered on unix.se. Does the I/O priority do too?

  • 1
    ionice != nice. One is CPU scheduling priority, the other is input/output scheduling priority. – CameronNemo Jun 3 '14 at 15:12
  • I didn't know that. However, the question is the same minus the incorrect nice tag. – topher Jun 3 '14 at 15:15

Yes, both ionice and nice values are inherited by the children of a process. In the future, you can test things like this by running the following command to test and print the ionice value of a process and compare to its parent:

ionice -p $pid

These questions on unix.stackexchange and superuser have more information on the subject:



| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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