[CentOS] Starting a process at a specified nice value.
Craig White
craigwhite at azapple.comThu Aug 18 17:20:20 UTC 2005
- Previous message: [CentOS] Starting a process at a specified nice value.
- Next message: [CentOS] Creating your own ACPI events to suspend?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 2005-08-18 at 13:02 -0400, David Johnston wrote: > On Thu, 2005-08-18 at 11:49 -0500, CentOS-List at jamesplace.net wrote: > > I wonder if someone could point me to the appropriate docs for my question? If > > I would like to cause my system to always start 'smbd' processes at priority > > 7 for example, how would I go about doing that. > > > > I'm assuming there's a better way than running a cronjob every minute to > > renice existing processes. > > > > smbd is started by /etc/init.d/smb > > Find where that script starts smbd, and prefix smb with something like > this: > nice -n 7 > > This isn't a particularly elegant solution, but it will work. > > You should note that upgrades to Samba may overwrite /etc/init.d/smb, so > you may need to make this change again after an upgrade. ---- you might be able to tack it on to /etc/sysconfig/samba launch options (this of course is untested) Craig
- Previous message: [CentOS] Starting a process at a specified nice value.
- Next message: [CentOS] Creating your own ACPI events to suspend?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list