System Resource Snapshot Reporter
A script that gathers CPU, memory, disk, and process information at a point in time and formats it into a readable plain-text or HTML report. Learners practice parsing /proc and command output (top, df, free) and formatting text output in Bash.
- Estimate
- ~7h
- Steps
- 5
- Completed by
- 0
- Proposed by
- codeseed.app
/proc filesystem · awk · df · free
Project roadmap
- 01
Collect CPU and memory stats
~1.5hParse /proc/stat and /proc/meminfo (or use free) to compute current CPU load and memory usage percentages.
- 02
Collect disk usage stats
~1hRun df -h and parse its output with awk to list mount points over a configurable usage threshold.
- 03
Collect top processes
~1hUse ps or top in batch mode to list the top 5 CPU and memory consuming processes.
- 04
Format a readable report
~1.5hCombine all sections into a formatted plain-text report with headers and aligned columns.
- 05
Add an HTML output mode
~2hAdd a --html flag that renders the same data as a simple styled HTML file that can be opened in a browser.
Resources
Ready to build this?
Get a GitHub repo and start building. Your AI reviewer checks each step as you go.
Tech stack