10

There are two ways you could do this service --status-all. The other way is to do initctl list. I would like to know the difference. some services like mysql do not show up in initctl list, and some like 'nova-api' do not show up in service --status-all. How do I get the complete list in one go.

7
  • see this answer.
    – g_p
    Jan 22, 2015 at 6:28
  • 3
    thanks. but my quest is still incomplete. the answer says services managed by upstart appear with ? in service --status-all but they don't. I've checked.
    – Akilesh
    Jan 22, 2015 at 7:04
  • 1
    possible duplicate of How to read "service --status-all" results
    – Fabby
    Jan 23, 2015 at 17:01
  • 1
    @Fabby You have given me the same like from first comment again.
    – Akilesh
    Jan 25, 2015 at 8:25
  • 1
    service --status-all [ + ] acpid [ - ] anacron [ - ] apparmor [ ? ] apport [ + ] avahi-daemon [ ? ] binfmt-support is what I get... What is your output for the first 6 lines???
    – Fabby
    Jan 25, 2015 at 9:16

1 Answer 1

0

You can use too:

systemctl list-units --type=service

or

systemctl list-unit-files --type=service

or

service --status-all

Maybe this link can help you : service vs. initctl

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .