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.
1 Answer
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
service --status-all
but they don't. I've checked.service --status-all [ + ] acpid [ - ] anacron [ - ] apparmor [ ? ] apport [ + ] avahi-daemon [ ? ] binfmt-support
is what I get... What is your output for the first 6 lines???