By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,092 Members | 1,546 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,092 IT Pros & Developers. It's quick & easy.

Listing services with systemctl

P: 1
I want to list services currently installed in an ubuntu box. Also want to list the status of the listed services. Thanks.
Oct 16 '19 #1
Share this Question
Share on Google+
1 Reply


gits
Expert Mod 5K+
P: 5,352
if you have access to a terminal on that box you can run:

Expand|Select|Wrap|Line Numbers
  1. service --status-all
which should give you the list and status ([+] running svc, [-] stopped svc, [?] svc without 'status' cmd)

if you want to use systemctl - then probably:

Expand|Select|Wrap|Line Numbers
  1. systemctl list-units --all
gives you what you want.
Oct 18 '19 #2

Post your reply

Sign in to post your reply or Sign up for a free account.