getHPAllProcess.sh
483 Bytes
LANG=en_US
export LANG
uname -a >> ../result_temp/hpAllProcess
echo "*******************************************************************************************#" >> ../result_temp/hpAllProcess
export UNIX95=XPG4;ps -ef -o pcpu,state,sz,pid,ruser,stime,args | grep -v '%CPU' >> ../result_temp/hpAllProcess
echo "*******************************************************************************************#" >> ../result_temp/hpAllProcess
mv ../result_temp/hpAllProcess ../result/