21 Şubat 2019 Perşembe

ionice komutu - Reduce The Process IO Priority

Giriş
Açıklaması şöyle
- nice can be used to reduce the process CPU priority
- ionice can be used to reduce the process IO priority
-c seçeneği
Örnek
Şöyle yaparız.
ionice -c idle -p "$pid"
Örnek
Şöyle yaparız
This example pushes the process IO into the lowest end of the "best effort" class:

ionice -c2 -n7 find...
Change -c2 to -c3 to ensure your process will only run when the IO subsystem is otherwise idle.

This example drops the processor allowance to a low priority:

nice -n12 find...
Change -n12 to -n19 for the least possible priority.

Combine them for maximum effect:

ionice -c2 -n7 nice -n12 find...

Hiç yorum yok:

Yorum Gönder