I want to list services currently installed in an ubuntu box. Also want to list the status of the listed services. Thanks.
Listing services with systemctl
Collapse
X
-
Tags: None
-
if you have access to a terminal on that box you can run:
which should give you the list and status ([+] running svc, [-] stopped svc, [?] svc without 'status' cmd)Code:service --status-all
if you want to use systemctl - then probably:
gives you what you want.Code:systemctl list-units --all
Last edited by gits; Oct 18 '19, 01:23 PM.
Comment