top of page

SUN Status Monitoring Script

clear while true do echo "System configuration: lcpu=5"

echo

echo " UID PID PPID CPU S TTY TIME VSIZE CMD" echo "——– ——- ——– —- – ——– ———- —– ——"

ps -efo user,pid,ppid,pcpu,stime,tty,time,vsz,comm | sort -k 4n,4r | head -10

echo

echo "Disks: % tm_act Kbps tps Kb_read Kb_wrtn" iostat -d | sort -k 3n,3r | head -3

echo "Sar: " sar 1 5

clear done

조회수 1회댓글 0개

Comments


bottom of page