jstackpath="/usr/java/jdk1.6.0_07/bin/jstack"
cpulogpath="/home/"
for key in ${keys}
do
cpulogpath_file="${cpulogpath}cpu_${nowdate}${key}.log"
cpustackCmd="${jstackpath} -l ${key} >${cpulogpath_file}"
echo "command: ${cpustackCmd}"
eval $cpustackCmd
done
新闻热点
疑难解答