Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to get the list of daemons and theirs statuses (stopped, running, crashed, etc) for each runlevel? Like rc-status in gentoo.

share|improve this question
up vote 21 down vote accepted

Run service --status-all to get a list off all the Upstart services and their status. (It basically issues a status command for all the services.)

share|improve this answer
3  
I think service --status-all is for sysvinit managed daemons (as the service command comes from the sysvinit-utils package). The ones managed by Upstart can be seen with initctl list – yuvilio Jul 24 '12 at 18:28
1  
initctl list seems better because it list out all, where some not in service --status-all. Eg. dovecot, vsftpd etc. @yuvilio if you post as answer i would definitely +1 it. – checksum Apr 25 at 13:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.