↑ ↓ select, Enter open, Esc close

List all running systemd services

user@server
systemctl list-units --type=service --state=running --no-pager

Shows all currently running service units with a short description. Useful when taking over an unfamiliar server or during a security review, to spot unexpected services. --state=failed or --state=exited filters for other states.

Also searched as

  • which services are running
  • show running services
  • what is running on the server
  • list all active services

Related one-liners

All in systemd

Read first, then run.

The commands on myline.de act directly on servers, files and databases. A wrong path or placeholder can delete data irreversibly or make a server unreachable.

  • All commands are provided without warranty and are not tested on every system.
  • Understand what a command does before running it, and check every placeholder.
  • Make a backup first and, if possible, try it on a test system.
  • You run commands at your own risk. Liability for damages is excluded to the extent permitted by law.