You're on call as an SRE at esc bash. An alert just fired: the web server feels slow, and the on-call channel needs a clear picture of the machine before anyone starts changing things. Your job is to capture a health snapshot into a single file the team can read at a glance.
Run this first. It prepares the machine for the task:
curl -fsSL https://raw.githubusercontent.com/Esc-Bash/project-init-scripts/main/linux/project-2/init.sh | bash
This adds some log data under /var/log/escbash-app/ so the machine
has something realistic to report on.
Create /root/health-report.txt and put all of the following into it,
in any order. Each one is a short section of real output from this
machine:
/var.Use the monitoring, disk, and networking commands from the earlier topics. Send each command's output into the report file, appending as you go so nothing gets overwritten.
When the checks pass, press Submit.
Start the lab on the right to run checks.