摘要: #!/bin/bash if [ -z "$1" ]; then ### 1.先找到消耗cpu最高的Java进程 ### pid=`ps -eo pid,%cpu,cmd --sort=-%cpu | grep java | grep -v grep | head -1 | awk 'END{pri 阅读全文
posted @ 2023-04-17 18:19 wujf 阅读(37) 评论(0) 推荐(0) 编辑