nerdexam
LPI

102-500 · Question #59

Which of the following commands shows all active systemd timers?

The correct answer is D. systemctl list-timers. systemctl list-timers is the correct command because systemctl is the primary interface for interacting with systemd, and list-timers is a valid subcommand that displays all active timers along with their next trigger time, last trigger time, and associated service unit. The…

Essential System Services

Question

Which of the following commands shows all active systemd timers?

Options

  • Asystemctl-timer show
  • Btimectl list
  • Csystemctl -t
  • Dsystemctl list-timers
  • Etimeq

How the community answered

(25 responses)
  • A
    4% (1)
  • B
    8% (2)
  • D
    76% (19)
  • E
    12% (3)

Explanation

systemctl list-timers is the correct command because systemctl is the primary interface for interacting with systemd, and list-timers is a valid subcommand that displays all active timers along with their next trigger time, last trigger time, and associated service unit.

The distractors fail for these reasons:

  • A (systemctl-timer show) - systemctl-timer is not a real command; the correct binary is systemctl (no hyphen before "timer")
  • B (timectl list) - timectl is a fabricated command; the real timedatectl manages system time/timezone settings, not timers
  • C (systemctl -t) - -t is a flag that filters by unit type (e.g., systemctl -t service), not a standalone command for listing timers
  • E (timeq) - this command does not exist in standard Linux distributions

Memory tip: Think of it as "list what's ticking" - systemctl list-timers follows the same pattern as systemctl list-units and systemctl list-sockets, so if you can list units, you can list timers the same way.

Topics

#systemd#timers#systemctl#service-management

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice