1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/ionice.md

16 lines
297 B
Markdown
Raw Normal View History

2016-01-05 00:15:09 +09:00
# ionice
> get/set program io scheduling class and priority
- sets process with PID 89 as an idle io process
`ionice -c 3 -p 89`
- runs 'bash' as a best-effort program with highest priority
`ionice -c 2 -n 0 bash`
- prints the class and priority of the processes with PID 89
`ionice -p 89`