Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:ionice [2019/11/04 22:29] billdozor created |
linux_wiki:ionice [2019/11/04 22:34] (current) billdozor [Set Class/Priority] |
||
---|---|---|---|
Line 12: | Line 12: | ||
Available scheduling classes are: | Available scheduling classes are: | ||
- | * 0 -> none | + | * 0 -> none (equivalent to the default of 2) |
- | * 1 -> real time | + | * 1 -> real time - first, priority access to the disk, only available to root user |
- | * 2 -> best effort | + | * 2 -> best effort |
- | * 3 -> idle | + | * 3 -> idle - use cpu only when no other process has asked for cpu time |
Priority Levels: | Priority Levels: | ||
Line 41: | Line 41: | ||
</ | </ | ||
+ | \\ | ||
Remove a large file, use best effort scheduling, with a low priority | Remove a large file, use best effort scheduling, with a low priority | ||
<code bash> | <code bash> | ||
- | ionice | + | ionice -n 7 rm / |
</ | </ | ||
---- | ---- | ||