摘要: #!/bin/bash echo "pid mem" for j in `pgrep -P 1` do a=0 c=0 pgrep -P $j &> /dev/null if [ $? -ne 0 ];then b=`ps -eo pid,rss|egrep -w "^( $j| $j|$j)"|g 阅读全文
posted @ 2021-05-07 14:50 培天王 阅读(258) 评论(0) 推荐(0) 编辑