listing of daemons running on a unix server

Jens B. Jorgensen jjorgens at
Wed Dec 9 18:30:10 GMT 1998

Debian uses scripts in /etc/init.d which all take start/stop/restart. They
tend to work pretty well. I don't know of any "standard" API or convention for
enumerating/controlling services. I don't there there is one.

Luke Kenneth Casson Leighton wrote:

> is there a way to obtain a list of daemons running?  is there a method for
> starting / stopping them?
> on slackware, for example, /etc/rc.d/pcmcia.d has "start|stop|restart"
> which isn't particularly good.  on redhat there is a directory where every
> script in it has "start|stop|restart".
> what i really wanted was something under program control (c code),
> although scripts would do.  and yet another smb.conf option listing where
> a file is that contains the scripts.
> why i am asking is because i have "service control manager" running on the
> latest version of samba, and i wanted to start / stop / restart httpd,
> imapd, syslogd etc etc.
> luke

Jens B. Jorgensen
jjorgens at

More information about the samba-technical mailing list