Blame view

script/ibm/getHPProcess.sh 709 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14
LANG=en_US.utf8
export LANG
export UNIX95=XPG4

uname -a >> ../result_temp/hpProcessResult
echo "*******************************************************************************************#" >> ../result_temp/hpProcessResult

ps -ef -o pcpu,state,sz,pid,ruser,stime,args | grep -v '%CPU' >> ../result_temp/hpProcessResult
echo "*******************************************************************************************#" >> ../result_temp/hpProcessResult

/usr/contrib/bin/machinfo|grep Memory >> ../result_temp/hpProcessResult
echo "*******************************************************************************************#" >> ../result_temp/hpProcessResult

mv ../result_temp/hpProcessResult ../result/