# Watching

Watching: Reading System Logs, Services: systemctl, Is It Healthy? Memory, Load and Uptime.

Updated: November 10, 2026

1. [Reading System Logs](https://www.ask-codey.com/lessons/bash-system-logs) (Journeyman): Programs on a Linux computer write down what happens in logs, the files in /var/log and systemd's journal; journalctl -u shows one service's lines, -f watches new ones arrive, and on a Mac log show and the Console app do the same job.
2. [Services: systemctl](https://www.ask-codey.com/lessons/bash-services) (Journeyman): A service is a program that runs in the background with no window and starts when the computer does; on Linux, systemd runs them, systemctl status shows whether one is running, and sudo systemctl start, stop, restart, enable and disable change it now or at every start-up.
3. [Is It Healthy? Memory, Load and Uptime](https://www.ask-codey.com/lessons/bash-system-health) (Journeyman): uptime says how long a computer has been running and how busy it is, which you compare with the number of CPUs nproc prints; free -h says how much memory is still available and df -h how much disk is left; and a short script puts them all on one screen.

Source: https://www.ask-codey.com/courses/bash-in-depth/topics/bash-watching-system-health
