View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#2
You can install htop from maemo repository http://maemo.org/development/tools/
htop is slightly better but still the fundamental problem here is that you really don't want to monitor "free memory" in linux. Free memory is wasted memory, the best for the system is to keep free memory at zero. For finding who eats the memory watch "RES" (resident set) column in htop and substract "SHR" (shared set).

You can also run something like this (maemo-developers, Subject: Re: C - Hildon - Memory usage Date: Tue, 12 Feb 2008 16:50:40 +0200 From: Eero Tamminen )
Code:
awk '/Private_Dirty/{sum+=$2}END{print sum "kB"}' /proc/$(pidof myprogram)/smaps
to see private memory taken by specific program.
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post: