https://drive.google.com/file/d/1qYUrxUr1QCrXGTx00iDGMgqoYUVdSNL5/view?usp=sharing
top - Real-time Process Monitortop # Interactive process viewer
top -p <PID> # Monitor specific process
%CPU, %MEM, PID, COMMANDk → Kill processr → Renice processq → Quitfree - Memory Usagefree # Show memory in KB
free -m # Show in MB
free -g # Show in GB
free -s 3 # Update every 3 seconds
watch -d -n 5 free # Highlight changes every 5 seconds
total, used, free, shared, buff/cache, availableavailable (not free) shows usable memoryiostat - I/O Statistics# Install sysstat package first
sudo yum install sysstat -y
iostat # CPU + disk I/O summary
iostat -d 2 8 # Disk stats every 2s, 8 times
%util → Device utilization (100% = bottleneck)await → Average I/O wait time (ms)mpstat - Per-CPU Statisticsmpstat # Average across all CPUs
mpstat -P ALL # Per-CPU breakdown
sar - System Activity Reporter