| 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 11:26:47 CEST 1min 26s left Sat 2020-05-16 11:24:21 CEST 58s ago dyndns-update-script_nuernberg_dev-eth0_ipv4.timer dyndns-update-script_nuernberg_dev-eth0_ipv4.service |
| 22 |
Sat 2020-05-16 11:27:01 CEST 1min 40s left Sat 2020-05-16 11:23:44 CEST 1min 36s ago nsca-localhost.timer nsca-localhost.service |
| 23 |
Sat 2020-05-16 11:27:39 CEST 2min 19s left Sat 2020-05-16 11:25:14 CEST 6s ago dyndns-update-script_nrasp_dev-eth0_ipvboth.timer dyndns-update-script_nrasp_dev-eth0_ipvboth.service |
| 24 |
Sat 2020-05-16 11:30:00 CEST 4min 39s left Sat 2020-05-16 09:00:00 CEST 2h 25min ago turn-on.timer turn-on.service |
| 25 |
Sat 2020-05-16 11:46:11 CEST 20min left Sat 2020-05-16 10:41:47 CEST 43min ago unattended-upgrades-frequent.timer unattended-upgrades-frequent.service |
| 26 |
Sat 2020-05-16 12:01:43 CEST 36min left Sat 2020-05-16 11:01:06 CEST 24min ago dfm-auto-root.timer dfm-auto-root.service |
| 27 |
Sat 2020-05-16 12:02:32 CEST 37min left Sat 2020-05-16 11:00:42 CEST 24min ago anacron.timer anacron.service |
| 28 |
Sat 2020-05-16 16:30:13 CEST 5h 4min left Fri 2020-05-15 16:30:13 CEST 18h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service |
| 29 |
Sat 2020-05-16 18:52:48 CEST 7h left Sat 2020-05-16 10:28:05 CEST 57min ago apt-daily.timer apt-daily.service |
| 30 |
Sun 2020-05-17 00:00:00 CEST 12h left Sat 2020-05-16 00:00:00 CEST 11h ago gitserver-manager.timer gitserver-manager.service |
| 31 |
Sun 2020-05-17 00:00:00 CEST 12h left Sat 2020-05-16 00:00:00 CEST 11h ago oh-my-zsh_jf.timer oh-my-zsh_jf.service |
| 32 |
Sun 2020-05-17 00:00:00 CEST 12h left Sat 2020-05-16 00:00:00 CEST 11h ago oh-my-zsh_root.timer oh-my-zsh_root.service |
| 33 |
Sun 2020-05-17 06:23:17 CEST 18h left Sat 2020-05-16 06:16:55 CEST 5h 8min ago apt-daily-upgrade.timer apt-daily-upgrade.service |
| 34 |
n/a n/a Tue 2020-04-07 05:49:00 CEST 1 months 1 days ago dfm-auto-jf.timer dfm-auto-jf.service |
| 35 |
n/a n/a Tue 2020-04-07 04:17:32 CEST 1 months 2 days ago rsync.timer rsync.service |
| 36 |
|
| 37 |
15 timers listed."; |
| 38 |
exit 0 |
| 39 |
;; |
| 40 |
|
| 41 |
esac |