linux shell脚本求系统内存使用率怎么弄?

2025-04-07 20:13:55
推荐回答(1个)
回答1:

一句话

free -m |grep -i mem |awk '{print $3/$2*100,"%"}'