统计内存利用率

free|grep Mem|awk '{print (1-($4+$5+$6+$7)/$2)*100"%"}'awk

或者grep

free|grep ^-|awk '{print $3/($3+$4)*100"%"}'

相关文章
相关标签/搜索