top -b -n 1 | grep java| awk '{print "PID:"$1",mem:"$6",CPU percent:"$9"%","mem percent:"$10"%"}'
转载于:https://www.cnblogs.com/oftenlin/p/4679384.html
top -b -n 1 | grep java| awk '{print "PID:"$1",mem:"$6",CPU percent:"$9"%","mem percent:"$10"%"}'
转载于:https://www.cnblogs.com/oftenlin/p/4679384.html