ubuntu:services:list_running_service
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:services:list_running_service [2019/12/08 14:19] – peter | ubuntu:services:list_running_service [2021/06/22 11:26] (current) – [Using systemd Status] peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - Services - List Running Services ====== | ====== Ubuntu - Services - List Running Services ====== | ||
- | ====== Using systemd Service | + | ===== Using systemd Service |
<code bash> | <code bash> | ||
systemctl -t service | systemctl -t service | ||
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | <code bash> | ||
+ | systemctl list-units --type=service | ||
</ | </ | ||
Line 20: | Line 26: | ||
blk-availability.service | blk-availability.service | ||
bluetooth.service | bluetooth.service | ||
- | bolt.service | ||
- | colord.service | ||
- | console-setup.service | ||
- | containerd.service | ||
- | cron.service | ||
- | cups-browsed.service | ||
- | cups.service | ||
- | dbus.service | ||
- | docker.service | ||
- | ebtables.service | ||
- | expressvpn.service | ||
- | fwupd.service | ||
- | gdm.service | ||
- | grub-common.service | ||
- | irqbalance.service | ||
- | kerneloops.service | ||
- | keyboard-setup.service | ||
- | kmod-static-nodes.service | ||
- | libvirt-guests.service | ||
- | libvirtd.service | ||
- | lm-sensors.service | ||
- | lvm2-lvmetad.service | ||
- | lvm2-monitor.service | ||
- | lvm2-pvscan@8: | ||
- | ModemManager.service | ||
- | networkd-dispatcher.service | ||
- | networking.service | ||
... | ... | ||
</ | </ | ||
Line 52: | Line 31: | ||
---- | ---- | ||
- | ====== Using systemd | + | ===== Only running services ===== |
+ | |||
+ | <code bash> | ||
+ | systemctl | grep running | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Get Service Settings ===== | ||
+ | |||
+ | <code bash> | ||
+ | systemctl list-unit-files -t service | ||
+ | </ | ||
+ | |||
+ | returns: | ||
+ | |||
+ | <code bash> | ||
+ | UNIT FILE STATE | ||
+ | accounts-daemon.service | ||
+ | acpid.service | ||
+ | alsa-restore.service | ||
+ | alsa-state.service | ||
+ | alsa-utils.service | ||
+ | anacron.service | ||
+ | apparmor.service | ||
+ | apport-autoreport.service | ||
+ | apport-forward@.service | ||
+ | apport.service | ||
+ | apt-daily-upgrade.service | ||
+ | apt-daily.service | ||
+ | autovt@.service | ||
+ | avahi-daemon.service | ||
+ | binfmt-support.service | ||
+ | blk-availability.service | ||
+ | bluetooth.service | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Using systemd | ||
<code bash> | <code bash> |
ubuntu/services/list_running_service.1575814742.txt.gz · Last modified: 2020/07/15 09:30 (external edit)