Debian Codegraph @

test/bin/dead_timers_ok/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 hblock.service
22 Sat 2020-05-16 14:37:33 CEST 1min 16s left Sat 2020-05-16 14:32:27 CEST 3min 49s ago update-motd.timer update-motd.service
23 Sat 2020-05-16 14:50:58 CEST 14min left Sat 2020-05-16 14:31:56 CEST 4min 20s ago rsync_nnas_data-shares-jf-maps_wnas-data-shares-jf-maps.timer rsync_nnas_data-shares-jf-maps_wnas-data-shares-jf-maps.service
24 Sat 2020-05-16 15:03:13 CEST 26min left Sat 2020-05-16 14:31:56 CEST 4min 20s ago anacron.timer anacron.service
25 Sat 2020-05-16 15:11:15 CEST 34min left Sat 2020-05-16 14:31:56 CEST 4min 20s ago apt-daily.timer apt-daily.service
26
27 5 timers listed.";
28 exit 0
29 ;;
30
31 esac