Questions and Answers :
Unix/Linux :
a boincRnice command for fedora
Message board moderation
Author | Message |
---|---|
wlh2008 Send message Joined: 25 Aug 09 Posts: 8 Credit: 11,432 RAC: 0 |
# # boincRnice - change the nice value of boinc procs # # call as "boincRnice 5" to change value to 5 # $SUDO="" # Not a privileged user - use sudo if [ `id -u` != 0 ] ; then $SUDO=sudo fi for procid in `ps -elfa|grep boinc|grep -v grep|cut -d ' ' -f 8` do $SUDO renice $1 $procid; done |
wlh2008 Send message Joined: 25 Aug 09 Posts: 8 Credit: 11,432 RAC: 0 |
oops - should have been:: # |
wlh2008 Send message Joined: 25 Aug 09 Posts: 8 Credit: 11,432 RAC: 0 |
A better way of doing the pid list. THE FIRST WAY DOES NOT WORK CORRECTLY. # |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.