Posts Tagged ‘nice’

nice apt-get

Saturday, April 5th, 2008

Today I wanted to upgrade packages at my WD MyBook running Debian Lenny. My notebook was being backed up at the time so I thought that it would be a good idea to run apt-get with a lower priority, as the the samba process eats almost all MyBook resources.

I typed nice apt-get update && nice apt-get upgrade. It did what I wanted it to do, but hour later I found that apache and samba were running with low priority. This is because the services were restarted by apt-get.

Having been reniced, all the services are running OK again.