CyberStars

Recap: System Checkup

Chapter 8 gave you the tools to inspect and manage the station's operating system itself:

CommandPurpose
ps auxList all running processes
ps aux --sort=-%cpuSort by CPU usage (heaviest first)
kill PIDPolitely stop a process
kill -9 PIDForce-kill a stubborn process
df -hShow disk space per filesystem
du -sh DIRShow total size of a directory
datePrint current date/time
historyShow past commands

These are your system diagnostic toolkit. When something goes wrong, you start with ps aux to check what is running, df -h to check disk space, and date to timestamp the incident.


Mission: System Health Inspection

The station is approaching a debris field and the captain wants a full systems check logged before entry. Run through the standard diagnostic sequence.

  1. Inspect all active processes. Confirm the reactor monitor and life support are running.
  2. Check the available disk space on all filesystems.
  3. Measure how large the logs/ directory has grown.
  4. Timestamp this inspection with the current date and time.
  5. Review the full list of commands recorded this session to confirm the audit trail.

Expected result

You should see the reactor-monitor and life-support processes active, disk usage stats for all mounts, the size of logs/, the current date, and your full command history.