File: systemctl

package info (click to toggle)
monitoring-plugins-systemd 2.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 556 kB
  • sloc: python: 1,157; sh: 863; makefile: 25
file content (15 lines) | stat: -rwxr-xr-x 1,320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh

echo "UNIT                                                                                                    LOAD      ACTIVE   SUB       DESCRIPTION
rtkit-daemon.service                                                                                    loaded    inactive running   RealtimeKit Scheduling Policy Service
setvtrgb.service                                                                                        loaded    active   exited    Set console scheme
user@123.service                                                                                        loaded    failed   failed    User Manager for UID 123
user@234.service                                                                                        loaded    failed   failed    User Manager for UID 234
user@345.service                                                                                        loaded    failed   failed    User Manager for UID 345

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

xxx loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'."