Command to list down all daemons in Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Command to list down all daemons in Solaris
# 1  
Old 05-10-2012
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
# 2  
Old 05-10-2012
Do you mean services?
# 3  
Old 05-10-2012
Yes all running services
# 4  
Old 05-10-2012
Which version of Solaris?

For Solaris 10 onwards:
Code:
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".
# 5  
Old 05-10-2012
Quote:
Originally Posted by admin_xor
For Solaris 9 and below (which I haven't worked on), you may find a command called "service" similar to RHEL. But, I am not really sure about that.
There is no service command on Solaris 9 and below. There are only scripts in /etc/init.d.
# 6  
Old 05-10-2012
Question answered by admin_xor. Good job

svcs -a
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris command to list user

Can someone tell me the Solaris equivelant of aix command lsuser? I need to find a users primary and secondary group. I don't have smit... (2 Replies)
Discussion started by: Grueben
2 Replies

2. Solaris

Command to list or view the files in .pkg (solaris) and how to extract without installing

In Linux for .rpm we can list or view the files using the command rpm -qpl <file.rpm> and to extract, the command is rpm2cpio <file.rpm> | cpio -idvh I would like to know the commands which has same functionality as above for solaris ( .pkg) Thanks in Advance (5 Replies)
Discussion started by: frintocf
5 Replies

3. Solaris

Command to list all the VIP addresses assigned to Solaris server

Hello All, I want to list all the VIP addresses assigned to Solaris server. whats the command we have use on solaris for this? Please help Thanks!! Weblogic Consultant (1 Reply)
Discussion started by: weblogicsupport
1 Replies

4. HP-UX

status of daemons

Hi there all, Hey, is there a way to get the status of all daemons running on a HPUX? in an easy way? Like the same way how to vieuw the status of packages in cmviewcl. Thanks! (1 Reply)
Discussion started by: draco
1 Replies

5. Shell Programming and Scripting

daemons definition

hi there, can somebody give me a definition for daemons, or example what are they !! and what the use for? i've done some research and all what i found is /etc/... or /usr/bin/... and i haven't quietly got the concept. any ideas !! Thanks. (5 Replies)
Discussion started by: new2Linux
5 Replies

6. UNIX for Dummies Questions & Answers

Starting daemons at reboot.

I rebooted my server (solaris 5.8) and I had to manually start the cron and mailx daemons. How do I get these to automatically start at reboot? Thanks in advance. (2 Replies)
Discussion started by: shorty
2 Replies

7. Solaris

SUN SOLARIS boot: start daemons

Hi, I have a problem on a Solaris 9 server! After a restart some daemons don't start and I have to start them manually! I thing that everything is ok in the /sbin/rc3 script! And if I run manually the "/etc/init.d/xxx start" the services start without problem. I didn't find anything in... (1 Reply)
Discussion started by: ctap
1 Replies

8. Linux

A doubt on Daemons

Hi there! I'm a bit curious on something about Daemons.... Supose you have two processes say A and B, where B is a daemon. A is totally independent from B. Is there a way for A to find out B's return code? Is there a way for A to find out when B ends? Thanks! (4 Replies)
Discussion started by: marioh
4 Replies

9. UNIX for Dummies Questions & Answers

Daemons

MYSQL-daemon don't started automatically by system-start. And same trouble with httpd too. I have SuSE 8.0. What can I do ? Thanks.... (6 Replies)
Discussion started by: Pennywize
6 Replies

10. IP Networking

DNS daemons

Does anyone know the command to start the DNS Daemon. I looked in the /etc/init.d/inetsvc file and it tells me what the text should look like. When I go to open the corresponding files they are encoded and I can't read them. So is there a command that will start the DNS daemon? If... (8 Replies)
Discussion started by: Deuce
8 Replies
Login or Register to Ask a Question