3.4 Logs and Monitoring
Logging (journalctl)
Section titled “Logging (journalctl)”Systemd collects logs in a central journal.
Traditional Logs
Section titled “Traditional Logs”Many applications still modify plain text files in /var/log.
/var/log/syslogor/var/log/messages: General system log./var/log/auth.logor/var/log/secure: Authentication/SSH logs./var/log/dmesg: Kernel buffer (boot messages).
Scheduling Tasks (cron)
Section titled “Scheduling Tasks (cron)”The cron daemon runs tasks at specific times.
crontab -e: Edit current user’s cron table.crontab -l: List tasks.
Format:
m h dom mon dow command