$ sudo systemctl list-units
Failed to list units: No such method 'ListUnitsFiltered'
Is this as expected? I'm trying to get to the status of
systemd timers
systemctl list-units [Solved]
-
- Posts: 5
- Joined: Mon Jul 15, 2019 9:45 am
systemctl list-units [Solved]
Last edited by pkmorrison on Tue Jul 16, 2019 8:17 am, edited 1 time in total.
Re: systemctl list-units
Chris
MX 18 MX 19 - Manjaro
MX 18 MX 19 - Manjaro
Re: systemctl list-units
Did you in fact boot into systemd instead of the default sysV?
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin
Re: systemctl list-units
Also see the Our Positions section of
https://mxlinux.org/about-us/
https://mxlinux.org/about-us/
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.
-
- Posts: 5
- Joined: Mon Jul 15, 2019 9:45 am
Re: systemctl list-units
OK, I get it now about systemd.
Given that where can I do the equivalent of "sudo crontab -l"
to show system cron jobs. It says "no crontab for root"
btw thank you for your replies
Given that where can I do the equivalent of "sudo crontab -l"
to show system cron jobs. It says "no crontab for root"
btw thank you for your replies
Re: systemctl list-units
I might be misinterpreting what info you're looking for, but I think you want this:
Or install bum...
Code: Select all
service --status-all
Code: Select all
sudo apt install bum
Chris
MX 18 MX 19 - Manjaro
MX 18 MX 19 - Manjaro
Re: systemctl list-units
Yes it is.pkmorrison wrote: ↑Mon Jul 15, 2019 9:51 am $ sudo systemctl list-units
Failed to list units: No such method 'ListUnitsFiltered'
Is this as expected? I'm trying to get to the status of systemd timers
If you boot with sysVinit, which is the default in Mx Linux, the existing systemd timers:
Code: Select all
/etc/systemd/system/timers.target.wants/fstrim.timer
/etc/systemd/system/timers.target.wants/apt-daily-upgrade.timer
/etc/systemd/system/timers.target.wants/apt-daily.timer
/etc/systemd/system/timers.target.wants/anacron.timer
You might rather look in the corresponding ancacron entries used in sysVinit:
Code: Select all
cat /etc/anacrontab
# /etc/anacrontab: configuration file for anacron
# See anacron(8) and anacrontab(5) for details.
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
HOME=/root
LOGNAME=root
# These replace cron's entries
1 5 cron.daily run-parts --report /etc/cron.daily
7 10 cron.weekly run-parts --report /etc/cron.weekly
@monthly 15 cron.monthly run-parts --report /etc/cron.monthly
Code: Select all
ls -1 /etc/cron*/*
/etc/cron.daily/0anacron
/etc/cron.daily/1-quick-live-update
/etc/cron.daily/2-apt-compat
/etc/cron.daily/apt-compat
/etc/cron.daily/aptitude
/etc/cron.daily/bsdmainutils
/etc/cron.daily/dpkg
/etc/cron.daily/logrotate
/etc/cron.daily/man-db
/etc/cron.daily/mlocate
/etc/cron.daily/ntp
/etc/cron.daily/opera-browser
/etc/cron.daily/passwd
/etc/cron.daily/vivaldi
/etc/cron.d/anacron
/etc/cron.monthly/0anacron
/etc/cron.monthly/vrms
/etc/cron.weekly/0anacron
/etc/cron.weekly/apt-xapian-index
/etc/cron.weekly/fstrim-mx
/etc/cron.weekly/man-db
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB
-
- Posts: 5
- Joined: Mon Jul 15, 2019 9:45 am
Re: systemctl list-units [Solved]
Thank you all for your replies. I now get the bigger picture re systemd
and cron.
and cron.