Debian Codegraph @

test/bin/dead_timers_1/systemctl

raw
1 #! /bin/sh
2
3 case $@ in
4 'list-units --all')
5 echo "UNIT LOAD ACTIVE SUB DESCRIPTION
6 sockets.target loaded active active Sockets
7 sound.target loaded active active Sound Card
8 swap.target loaded active active Swap
9
10 LOAD = Reflects whether the unit definition was properly loaded.
11 ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
12 SUB = The low-level unit activation state, values depend on unit type.
13
14 xxx loaded units listed. Pass --all to see loaded but inactive units, too.
15 To show all installed unit files use 'systemctl list-unit-files'.";
16 exit 0
17 ;;
18
19 'list-timers --all')
20 echo "NEXT LEFT LAST PASSED UNIT ACTIVATES
21 Sat 2020-05-16 23:34:57 CEST 20h left Fri 2020-05-15 23:34:57 CEST 3h 39min ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
22 n/a n/a Thu 2020-03-12 03:09:01 CET 2 months 4 days ago phpsessionclean.timer phpsessionclean.service
23
24 2 timers listed.";
25 exit 0
26 ;;
27
28 esac
29 echo