Игорь Олемской — практические заметки по системному администрированию Linux CentOS

Run process with least cpu and IO priority (перепечатка)

Комментариев нет

Below is command to run process with the least CPU and IO priority.

nice -n 19 ionice -c 3 <command>

You could also include the same in the beginning of the script:

#!/bin/bash<br /># Make process nice<br />renice +19 -p $$ >/dev/null 2>&1<br />ionice -c3 -p $$ >/dev/null 2>&1

References:

read more

Похожие записи:

  1. Check number of file descriptors opened by process
  2. Twitter from command line
  3. SIGTERM vs. SIGKILL
  4. APC 3.1.6
  5. memcached 2.0.0b2

Комментировать