How to get the list of daemons and theirs statuses (stopped, running, crashed, etc) for each runlevel? Like rc-status in gentoo.
Asked
Active
Viewed 9.2k times
23
zerkms
- 1,472
1 Answers
34
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.)
Egil
- 14,162
service --status-allis for sysvinit managed daemons (as the service command comes from the sysvinit-utils package). The ones managed by Upstart can be seen withinitctl list– yuvilio Jul 24 '12 at 18:28initctl listseems better because it list out all, where some not inservice --status-all. Eg. dovecot, vsftpd etc. @yuvilio if you post as answer i would definitely +1 it. – checksum Apr 25 '16 at 13:28