Thread
:
Does my n900 use to much RAM ?
View Single Post
klaus1901
2011-10-13 , 15:40
Posts: 69 | Thanked: 12 times | Joined on Aug 2011
#
2
These are the code ive used:
RAM used:
awk '/mT/ {memttl = $2}; /mF/ {memfre = $2}; /Bu/ {membff = $2}; $1 == "Cached:" {memcch = $2} END {printf ("%.1f MB\n",(memttl-memfre-membff-memcch)/1024)}' /proc/meminfo
RAM free:
awk '/mF/ {memfre = $2}; /Bu/ {membff = $2}; $1 == "Cached:" {memcch = $2} END {printf ("%.1f MB\n",(memfre+membff+memcch)/1024)}' /proc/meminfo
Quote & Reply
|
klaus1901
View Public Profile
Send a private message to klaus1901
Find all posts by klaus1901