![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Quad Shot of Ubuntu
![]() Join Date: May 2006
Beans: 414
Ubuntu 6.10 Edgy
|
Limit CPU usage of process
I wrote a script to convert a few thousand music files from one file to another, and have started it going and don't want to stop it now really. However, after leaving it running for a while I realise that I forgot to start it with the 'nice' command, to make it have a low priority on CPU usage. Is there a way to lower a processes priority once it has started?
The script uses lots of sequential ffmpeg instances, and each one has a different PID, so I suspect this may not be possible. Also, would the 'nice' command have done what I wanted it to do seeing as the script itself doesn't do much, other that tell ffmpeg which files to convert. That is, it's ffmpeg that is using the resources. Or does 'nice' make all the children of a script have the same priority as the parent process? Last edited by Lunar_Lamp; August 15th, 2006 at 06:13 AM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|