How do i list all units systemd knows about?



  • List all active units. If you run systemctl on its own it does this.

    $ systemctl list-unit
    

    List all active and inactive units.

    $ systemctl list-unit --all
    

    List all unit files known to systemd.

    $ systemctl list-unit-files
    


© Lightnetics 2024