check CPU top -bn1 | grep load | awk '{printf "CPU Load: %.2f\n", $(NF-2)}' check memory free -m | awk 'NR==2{printf "Memory Usage: %s/%sMB (%.2f%%)\n", $3,$2,$3*100/$2 }'