日期:2014-05-16  浏览次数:20804 次

tuxedo unix下监控脚本
uname -a
while true
do
date
netstat -an|grep TIME_WAIT|wc -l
echo pclt |tmadmin -r|grep -v tmadmin|grep -v WSH|wc -l
echo psr |tmadmin -r|grep -v IDLE|sort +0
echo pq  |tmadmin -r|sort +4|grep -v "  0  "
#vmstat 1 50
ipcs -qob|grep -v "  0  "|sort +7
sleep 5
done