Skip to content

systemd - list all available services?

I've noticed that some of my services that should be enabled are not enabled. I'm not sure why this happened, but it seems to me that the easiest way to go about fixing what should be enabled would be to list all available services along with which are enabled and which are not. Is there any way to do this?

Even a list without enabled / disabled status would work (I can just send an enable command and if they're already enabled no harm should be done, but it would save me a lot of time if I could see what's enabled and what's not).

Thanks.

2 points3 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
279mxv

Author

112
posts
348
comments
33
media
View profile

3 comments

systemctl list-units

Check out the systemd man page for concepts, and the systemctl man page for a ton of options, switches, and filters.

2 points

Just running systemctl with no arguments (on my machines at least) is the same as 'systemctl list-units', which is what you wanted.

1 points

running systemctl just lists what's running, correct? I don't think that lists all the services available.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.