User Tools

Site Tools


ubuntu:services:list_running_service

This is an old revision of the document!


Ubuntu - Services - List Running Services

Using systemd Service

systemctl -t service 

returns:

UNIT                                                  LOAD   ACTIVE SUB     DESCRIPTION                                                                  
accounts-daemon.service                               loaded active running Accounts Service                                                             
acpid.service                                         loaded active running ACPI event daemon                                                            
alsa-restore.service                                  loaded active exited  Save/Restore Sound Card State                                                
apparmor.service                                      loaded active exited  AppArmor initialization                                                      
apport.service                                        loaded active exited  LSB: automatic crash report generation                                       
avahi-daemon.service                                  loaded active running Avahi mDNS/DNS-SD Stack                                                      
binfmt-support.service                                loaded active exited  Enable support for additional executable binary formats                      
blk-availability.service                              loaded active exited  Availability of block devices                                                
bluetooth.service                                     loaded active running Bluetooth service                                                            
bolt.service                                          loaded active running Thunderbolt system service                                                   
colord.service                                        loaded active running Manage, Install and Generate Color Profiles                                  
console-setup.service                                 loaded active exited  Set console font and keymap                                                  
containerd.service                                    loaded active running containerd container runtime                                                 
cron.service                                          loaded active running Regular background program processing daemon                                 
cups-browsed.service                                  loaded active running Make remote CUPS printers available locally                                  
cups.service                                          loaded active running CUPS Scheduler                                                               
dbus.service                                          loaded active running D-Bus System Message Bus                                                     
docker.service                                        loaded active running Docker Application Container Engine                                          
ebtables.service                                      loaded active exited  ebtables ruleset management                                                  
expressvpn.service                                    loaded active running ExpressVPN Daemon                                                            
fwupd.service                                         loaded active running Firmware update daemon                                                       
gdm.service                                           loaded active running GNOME Display Manager                                                        
grub-common.service                                   loaded active exited  LSB: Record successful boot for GRUB                                         
irqbalance.service                                    loaded active running irqbalance daemon                                                            
kerneloops.service                                    loaded active running Tool to automatically collect and submit kernel crash signatures             
keyboard-setup.service                                loaded active exited  Set the console keyboard layout                                              
kmod-static-nodes.service                             loaded active exited  Create list of required static device nodes for the current kernel           
libvirt-guests.service                                loaded active exited  Suspend/Resume Running libvirt Guests                                        
libvirtd.service                                      loaded active running Virtualization daemon                                                        
lm-sensors.service                                    loaded active exited  Initialize hardware monitoring sensors                                       
lvm2-lvmetad.service                                  loaded active running LVM2 metadata daemon                                                         
lvm2-monitor.service                                  loaded active exited  Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
lvm2-pvscan@8:2.service                               loaded active exited  LVM2 PV scan on device 8:2                                                   
ModemManager.service                                  loaded active running Modem Manager                                                                
networkd-dispatcher.service                           loaded active running Dispatcher daemon for systemd-networkd                                       
networking.service                                    loaded active exited  Raise network interfaces                                      
...

Using systemd Staus

systemctl status

returns:

● peter-bigmamba
    State: running
     Jobs: 0 queued
   Failed: 0 units
    Since: Tue 2019-12-03 19:02:51 GMT; 4 days ago
   CGroup: /
           ├─user.slice
           │ ├─user-1000.slice
           │ │ ├─user@1000.service
           │ │ │ ├─gvfs-goa-volume-monitor.service
           │ │ │ │ └─19454 /usr/lib/gvfs/gvfs-goa-volume-monitor
           │ │ │ ├─xdg-permission-store.service
           │ │ │ │ └─19404 /usr/libexec/xdg-permission-store
           │ │ │ ├─evolution-calendar-factory.service
           │ │ │ │ ├─19690 /usr/lib/evolution/evolution-calendar-factory
           │ │ │ │ └─19738 /usr/lib/evolution/evolution-calendar-factory-subprocess --factory all --bus-name org.gnome.evolution.dataserver.Subprocess.Backend.Calendarx19690x2 --own-path /org/gnome/evolution/dataserver/Subprocess/Backend/Calendar/19690/2
           │ │ │ ├─gvfs-daemon.service
           │ │ │ │ ├─19338 /usr/lib/gvfs/gvfsd
           │ │ │ │ ├─19343 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
           │ │ │ │ ├─19628 /usr/lib/gvfs/gvfsd-trash --spawner :1.22 /org/gtk/gvfs/exec_spaw/0
...

Using Upstart

initctl list
ubuntu/services/list_running_service.1575814742.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki