Command to list down all daemons in Solaris

Hi All,

Is there any command to list all running daemons in Solaris.

I should able to see only running daemons.

Regards,
SKumar

Do you mean services?

Yes all running services

Which version of Solaris?

For Solaris 10 onwards:

svcs -a

For Solaris 9 and below (which I haven't worked on), you may find a command called "/sbin/service" similar to RHEL. But, I am not really sure about that. However, you may find startup scripts in /etc/init.d (for all startup scripts) or /etc/rcX.d (for runlevel specific scripts, replace X with current runlevel) and you can compare that with output of "ps -elf".

There is no service command on Solaris 9 and below. There are only scripts in /etc/init.d .

Question answered by admin_xor. Good job

svcs -a