[kanchilug] 1D1C - renice

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx
  • Date: Tue, 10 Jan 2023 06:00:00 +0530

renice - alter priority of running processes

To change the priority of the running process.
$ sudo renice -n <nice_value>  -p <pid_of_the_process>
$ renice -n 10 -p <PID>

To change the priority of all programs of a specific group with group id 5
to 15
$ renice -n 15 -g 5

To change the priority of all programs of a specific user 3 to 15
$ sudo renice -n 15 -u 3



regards,
T.Dhanasekar

Other related posts: