systemd: how to list enabled services

Toshio Kuratomi a.badger at
Sat Mar 26 04:30:48 UTC 2011

On Fri, Mar 25, 2011 at 11:05:21PM -0500, Ian Pilcher wrote:
> I'm in the habit of running
>     chkconfig --list | grep :on
> to list all of the services that are enabled on my system (usually right
> after an installation, so I can disable all of the stuff that I don't
> need).
> What is the systemd (systemctl equivalent)? 

ls /etc/systemd/system/*.wants/frobozz.service

Note that because systemd uses dependencies to tell what needs to be
started, some services may start that aren't listed there if one of the
listed services depends on it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : 

More information about the test mailing list