How to see all active systemd units of one type
How to see all active systemd units of one type?
Run systemctl with the 'list-units' subcommand and select a specific type using the '--type' option.
systemctl list-units --type=TYPEThe systemctl command will show by default all active units. To filter down on a particular unit type, use the --type= option, followed by the type. Not sure what types are available? Run systemctl --type=help
.
Usage
systemctl list-units --type=target