[Samba] Renice server process [solved]

Bertram Scharpf
Tue, 31 Jul 2007 22:19:47 -0000

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