Great script and succeeded on both my local Virtualbox VM and cloud box. But my uxrvt terminal consistently receives warning when run some specific systemctl commands:
[root@archlinux ~]# systemctl list-timers
WARNING: terminal is not fully functional
Press RETURN to continue
NEXT LEFT LAST PASSED UNIT ACTIVATES
Fri 2023-03-31 00:00:00 UTC 7h left Thu 2023-03-30 07:05:46 UTC 9h ago shadow.timer shadow.service
Fri 2023-03-31 07:45:48 UTC 15h left Thu 2023-03-30 07:45:48 UTC 8h ago systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.service
Tue 2023-04-04 10:29:08 UTC 4 days left Thu 2023-03-30 07:05:46 UTC 9h ago archlinux-keyring-wkd-sync.timer archlinux-keyring-wkd-sync.service
3 timers listed.
Pass --all to see loaded but inactive timers, too.
[root@archlinux ~]#
[root@archlinux ~]# systemctl list-units --type=service
WARNING: terminal is not fully functional
Press RETURN to continue
UNIT LOAD ACTIVE SUB DESCRIPTION
dbus.service loaded active running D-Bus System Message Bus
getty@tty1.service loaded active running Getty on tty1
kmod-static-nodes.service loaded active exited Create List of Static Device Nodes
lvm2-monitor.service loaded active exited Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
sshd.service loaded active running OpenSSH Daemon
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running User Login Management
systemd-network-generator.service loaded active exited Generate network units from Kernel command line
systemd-networkd.service loaded active running Network Configuration
systemd-random-seed.service loaded active exited Load/Save OS Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-timesyncd.service loaded active running Network Time Synchronization
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited Coldplug All udev Devices
systemd-udevd.service loaded active running Rule-based Manager for Device Events and Files
systemd-update-utmp.service loaded active exited Record System Boot/Shutdown in UTMP
systemd-user-sessions.service loaded active exited Permit User Sessions
user-runtime-dir@0.service loaded active exited User Runtime Directory /run/user/0
user@0.service loaded active running User Manager for UID 0
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.
22 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
[root@archlinux ~]#
Great script and succeeded on both my local Virtualbox VM and cloud box. But my uxrvt terminal consistently receives warning when run some specific systemctl commands: