[Samba] Renice server process [solved]

Bertram Scharpf lists at bertram-scharpf.de
Tue Jul 31 22:19:15 GMT 2007


Am Dienstag, 31. Jul 2007, 17:46:26 +0200 schrieb Bertram Scharpf:
> for a job of lesser priority I would like to connect to a
> Samba server. When I'm doing a 'smbmount', enter the server
> by SSH, pgrep for the new smbd process and then renice it I
> have exactly the behaviour I desire.

  root preexec = renice 18 -p %d
or
  root preexec = bash -c '[ "%I" = 192.168.42.33 ] && renice 18 -p %d'

Bertram

-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de


More information about the samba mailing list