Added ionice

waldyrious/alt-syntax
kumon 2016-01-05 00:15:09 +09:00
parent 8e2cfdd3b6
commit 2827f15c69
1 changed files with 15 additions and 0 deletions

15
pages/common/ionice.md Normal file
View File

@ -0,0 +1,15 @@
# 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`