Active Topics

 


Reply
Thread Tools
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#11
Code:
awk '/^MemTotal/ { t = $2 } /^MemFree/ { f += $2 } /^Buffers/ { f += $2 } /^Cached/ { f += $2 } END { print ( t - f ) * 100 / t }' /proc/meminfo
 

The Following 4 Users Say Thank You to lma For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 05:11.