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 (13 lines) | stat: -rwxr-xr-x 994 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

echo "UNIT                                                                                                    LOAD      ACTIVE   SUB       DESCRIPTION
rtkit-daemon.service                                                                                    loaded    failed   running   RealtimeKit Scheduling Policy Service
setvtrgb.service                                                                                        loaded    active   exited    Set console scheme
smartd.service                                                                                          masked    failed   dead      smartd.service

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'."