linux_wiki:ionice

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 (default if not specified) 
-  * 3 -> idle+  * 3 -> idle - use cpu only when no other process has asked for cpu time
  
 Priority Levels: Priority Levels:
Line 41: Line 41:
 </code> </code>
  
 +\\
 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 -c 2 -n 7 rm /var/log/mylargelog+ionice -n 7 rm /var/log/mylargelog
 </code> </code>
  
 ---- ----
  
  • linux_wiki/ionice.1572924552.txt.gz
  • Last modified: 2019/11/04 22:29
  • by billdozor