User Tools

Site Tools


ubuntu:systemd:determine_the_command_used_to_run_a_service

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubuntu:systemd:determine_the_command_used_to_run_a_service [2023/06/03 09:26] – created peterubuntu:systemd:determine_the_command_used_to_run_a_service [2023/06/03 09:27] (current) peter
Line 1: Line 1:
 ====== Ubuntu - SystemD - Determine the command used to run a service ====== ====== Ubuntu - SystemD - Determine the command used to run a service ======
 +
 +<code bash>
 +systemctl status
 +</code>
 +
 +returns:
 +
 +<code bash>
 +● BigMamba
 +    State: running
 +     Jobs: 0 queued
 +   Failed: 0 units
 +    Since: Sat 2023-06-03 08:31:48 BST; 1h 50min ago
 +   CGroup: /
 +           ├─user.slice 
 +           │ └─user-1000.slice 
 +           │   ├─user@1000.service 
 +           │   │ ├─session.slice 
 +           │   │ │ ├─org.gnome.SettingsDaemon.MediaKeys.service 
 +           │   │ │ │ └─2533 /usr/libexec/gsd-media-keys
 +           │   │ │ ├─org.gnome.SettingsDaemon.Smartcard.service 
 +           │   │ │ │ └─2547 /usr/libexec/gsd-smartcard
 +           │   │ │ ├─org.gnome.SettingsDaemon.Datetime.service 
 +           │   │ │ │ └─2525 /usr/libexec/gsd-datetime
 +           │   │ │ ├─xdg-document-portal.service 
 +           │   │ │ │ ├─2180 /usr/libexec/xdg-document-portal
 +           │   │ │ │ └─2190 fusermount3 -o rw,nosuid,nodev,fsname=portal,auto_unmount,subtype=portal -- /run/user/1000/doc
 +           │   │ │ ├─org.gnome.SettingsDaemon.Housekeeping.service 
 +           │   │ │ │ └─2528 /usr/libexec/gsd-housekeeping
 +           │   │ │ ├─xdg-desktop-portal.service 
 +           │   │ │ │ └─2832 /usr/libexec/xdg-desktop-portal
 +           │   │ │ ├─org.freedesktop.IBus.session.GNOME.service 
 +           │   │ │ │ ├─2515 sh -c /usr/bin/ibus-daemon --panel disable $([ "$XDG_SESSION_TYPE" = "x11" ] && echo "--xim")
 +           │   │ │ │ ├─2519 /usr/bin/ibus-daemon --panel disable
 +           │   │ │ │ ├─2609 /usr/libexec/ibus-dconf
 +           │   │ │ │ ├─2612 /usr/libexec/ibus-extension-gtk3
 +           │   │ │ │ └─2791 /usr/libexec/ibus-engine-simple
 +           │   │ │ ├─org.gnome.SettingsDaemon.Keyboard.service 
 +           │   │ │ │ └─2529 /usr/libexec/gsd-keyboard
 +           │   │ │ ├─pipewire-media-session.service 
 +           │   │ │ │ └─2133 /usr/bin/pipewire-media-session
 +           │   │ │ ├─org.gnome.SettingsDaemon.A11ySettings.service 
 +           │   │ │ │ └─2518 /usr/libexec/gsd-a11y-settings
 +           │   │ │ ├─pulseaudio.service 
 +           │   │ │ │ └─2134 /usr/bin/pulseaudio --daemonize=no --log-target=journal
 +           │   │ │ ├─org.gnome.SettingsDaemon.Wacom.service 
 +           │   │ │ │ └─2559 /usr/libexec/gsd-wacom
 +           │   │ │ ├─org.gnome.SettingsDaemon.Sharing.service 
 +           │   │ │ │ └─2541 /usr/libexec/gsd-sharing
 +           │   │ │ ├─org.gnome.SettingsDaemon.Color.service 
 +           │   │ │ │ └─2521 /usr/libexec/gsd-color
 +           │   │ │ ├─org.gnome.SettingsDaemon.ScreensaverProxy.service 
 +           │   │ │ │ └─2540 /usr/libexec/gsd-screensaver-proxy
 +           │   │ │ ├─org.gnome.SettingsDaemon.PrintNotifications.service 
 +           │   │ │ │ ├─2538 /usr/libexec/gsd-print-notifications
 +           │   │ │ │ └─2716 /usr/libexec/gsd-printer
 +           │   │ │ ├─org.gnome.SettingsDaemon.Power.service 
 +           │   │ │ │ └─2536 /usr/libexec/gsd-power
 +           │   │ │ ├─org.gnome.Shell@wayland.service 
 +           │   │ │ │ ├─2333 /usr/bin/gnome-shell
 +           │   │ │ │ ├─2721 /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mutter-Xwaylandauth.VGIO51 -listen 4 -listen 5 -displayfd 6 -initfd 7
 +           │   │ │ │ └─3005 gjs /usr/share/gnome-shell/extensions/ding@rastersoft.com/ding.js -E -P /usr/share/gnome-shell/extensions/ding@rastersoft.com -M 0 -D 0:0:3440:1440:1:27:0:74:0:0
 +           │   │ │ ├─org.gnome.SettingsDaemon.XSettings.service 
 +           │   │ │ │ ├─2881 /usr/libexec/gsd-xsettings
 +           │   │ │ │ └─2923 /usr/libexec/ibus-x11
 +           │   │ │ ├─org.gnome.SettingsDaemon.Sound.service 
 +           │   │ │ │ └─2551 /usr/libexec/gsd-sound
 +           │   │ │ ├─pipewire.service 
 +           │   │ │ │ └─2132 /usr/bin/pipewire
 +           │   │ │ └─org.gnome.SettingsDaemon.Rfkill.service 
 +           │   │ │   └─2539 /usr/libexec/gsd-rfkill
 +           │   │ ├─background.slice 
 +           │   │ │ └─tracker-miner-fs-3.service 
 +           │   │ │   └─2244 /usr/libexec/tracker-miner-fs-3
 +           │   │ ├─app.slice 
 +           │   │ │ ├─gvfs-goa-volume-monitor.service 
 +           │   │ │ │ └─2368 /usr/libexec/gvfs-goa-volume-monitor
 +           │   │ │ ├─app-gnome-org.gnome.Evolution\x2dalarm\x2dnotify-2557.scope 
 +           │   │ │ │ └─2557 /usr/libexec/evolution-data-server/evolution-alarm-notify
 +           │   │ │ ├─xdg-permission-store.service 
 +           │   │ │ │ └─2183 /usr/libexec/xdg-permission-store
 +           │   │ │ ├─app-gnome-update\x2dnotifier-5963.scope 
 +...
 +</code>
 +
 +
 +<WRAP info>
 +**NOTE:**  This gives you a list of active systemd service units and the commands used to start them.
 +</WRAP>
  
ubuntu/systemd/determine_the_command_used_to_run_a_service.1685784400.txt.gz · Last modified: 2023/06/03 09:26 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki