listing of daemons running on a unix server

Luke Kenneth Casson Leighton lkcl at switchboard.net
Wed Dec 9 22:00:42 GMT 1998


> >is there a way to obtain a list of daemons running?  is there a method for
> >starting / stopping them?
> >
> 
> Luke, I a not sure what you are asking, this is a script that I have in
> /usr/local/sbin that I use (manually) to stop and start (and gain access to
> smb.conf and smbpasswd) samba. Usage at the end.

one of these for each and every daemon required to be controlled. then an
smb.conf file listing a set of daemon name and the location of its
control-script file.


> #!/bin/sh
> # Scrip to control Samba server, David Bannon, 14-6-96 
> #
> PATH=/bin:/usr/sbin:/usr/bin
> export PATH
> case "$1" in
> 'start')
> 	if [ -f /usr/local/samba/bin/smbd ]
> 	then

....



More information about the samba-ntdom mailing list