List all socket units

All socket-activated units and their state

systemctl list-units --type=socket --all

tool
systemd26 commands
tags
systemdnetwork

More systemd commands

  • systemctl mask snapd.service

    Prevent a service from being started by anything

  • systemctl show myapp.service -p Environment

    Print environment variables injected into the service

  • systemd-analyze critical-chain <unit>

    Show the serialized dependency chain that actually delays boot; more honest than blame

  • systemd-analyze plot > boot.svg

    Render full parallel boot timeline as an SVG to spot serialized stalls visually

  • systemctl edit <unit> # writes /etc/systemd/system/<unit>.d/override.conf

    Patch a unit via drop-in without touching the vendor file; use --full to fork the whole unit

all 26 systemd commands