From 2827f15c69f924e6a3b2fcf13dcade24f1092cc6 Mon Sep 17 00:00:00 2001 From: kumon Date: Tue, 5 Jan 2016 00:15:09 +0900 Subject: [PATCH] Added ionice --- pages/common/ionice.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pages/common/ionice.md diff --git a/pages/common/ionice.md b/pages/common/ionice.md new file mode 100644 index 000000000..5cc37d429 --- /dev/null +++ b/pages/common/ionice.md @@ -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`