Systemd, journal Snippets
# Show all running servicessystemctl status
# Show status of a unitsystemctl status unitsystemctl status portmaster
# List failed unitssystemctl --failed
# Start/Stop/Restart/Reload/Show the status a servicesystemctl start|stop|restart|reload|status unit
# Enable/Disable a unit to be started on system startsystemctl enable|disable unit
# Reload systemd, scan for new or changed units:systemctl daemon-reload
# Show the contents & absolute path of a unit file or edit it:systemctl cat|edit unitjournalctl
Section titled “journalctl”# Show all messages matching PATTERNjournalctl --grep=PATTERN
# Show all messages from this bootjournalctl -b
# Show all messages from date (and optional time)journalctl --since="2012-10-30 18:17:16"
# Show all messages since 20 minutes agojournalctl --since "20 min ago"
# Follow new messagesjournalctl -f
# Show all messages by a specific executablejournalctl /usr/lib/systemd/systemd
# Show all messages by a specific unitjournalctl -u man-db.service
# Show only error, critical and alert priority messagesjournalctl -p err..alert