Aggregate kernel and process state from /proc into one quick, readable snapshot. 13.06.2026 | reading time: 3 min Need a quick system snapshot without opening many files? "procinfo" is a compact view that collects key entries from "/proc" and prints CPU, memory, uptime, top processes and basic network info so the administrator gets actionable data in one glance. Example: quick system snapshot Run `procinfo` and inspect the top lines for an immediate overview; here is a representative run and output: ```bash $ procinfo CPU: Intel(R) Core(TM) i7-8650U @1.90GHz (4 cores) Load: 0.12 0.08 0.05 Uptime: 3 days, 05:12 Memory: 15.5G total, 9.3G free, 3.1G cached Top processes: PID USER %CPU RSS CMD 2345 root 4.7 512M java 1234 root 1.1 45M sshd Network: eth0 192.168.1.20 ``` Recreate it in a minute If your distro lacks a packaged "procinfo", build a tiny script that reads "/proc"; place this script in "/usr/local/bin" and make it executable to get the same snapshot: ```bash $ sudo tee /usr/local/bin/procinfo > /dev/null <<'EOF' #!/bin/sh echo "CPU: $(awk -F': ' '/model name/ {print $2; exit}' /proc/cpuinfo)" echo "Cores: $(nproc)" echo "Uptime: $(awk '{printf "%d hours", $1/3600}' /proc/uptime)" echo "Mem: $(awk '/MemTotal/ {print $2" kB"}' /proc/meminfo)" awk 'NR==1{print "Top processes:"} NR>1&&NR<=6{print}' <(ps -eo pid,user,pcpu,rss,comm --sort=-pcpu) | sed -n '1,6p' EOF $ sudo chmod +x /usr/local/bin/procinfo $ procinfo ``` Drill-down and practical tips Use the script to get a fast baseline, then drill deeper: check `/proc/[PID]/status` for a process' memory and capabilities, `/proc/net` for sockets, and `/proc/slabinfo` when investigating kernel memory; combine the snapshot with `grep`, `awk` or small wrappers to produce filtered outputs for automated alerts. Related commands to reach for next A single snapshot is great, but pair it with live or historical tools: `ps` for static process listings, `top`/`htop` for interactive monitoring, `vmstat` for I/O and memory trends; use the snapshot in scripts for quick diagnostics or incident reports. Next steps Start by installing or scripting a local "procinfo" and practice correlating its output with `ps` and `ss`; deepen the skillset by preparing for a Linux certification — consider CompTIA Linux+ or LPIC-1 and the intensive exam prep at bitsandbytes.academy to turn these techniques into certified competence. Join Bits & Bytes Academy First class LINUX exam preparation. utilities filesystem processes troubleshooting scripting