maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE? (https://talk.maemo.org/showthread.php?t=75202)

GigaByte 2011-07-24 11:37

Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
I couldn't find it anywhere.
I appreciate it.

5spdvl 2011-07-24 11:38

Re: Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
Why not use Conky? Tells you this and a lot more.

GigaByte 2011-07-24 12:28

Re: Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
Quote:

Originally Posted by 5spdvl (Post 1057317)
Why not use Conky? Tells you this and a lot more.

Yes I already have Conky, but I need the script for QBW or DCEW to have it as a widget on my homescreen.

dtergens 2011-07-24 12:29

Re: Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
+1, Conky is simply a must have !


There's also the nice SysteminfoWidget to see the cpu and memory usage on the desktop :-)

fareed_xtreme 2011-07-24 12:36

Re: Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
Quote:

Originally Posted by GigaByte (Post 1057313)
I couldn't find it anywhere.
I appreciate it.

Your Best Bet is to use a widget for this. Either Queen Bee Widget, (if you are a pro) or Desktop Command Execution (Soft Start). Both available in the Repositories.

Follow this page of the WIKI for Desktop Command Execution (Memory Usage)

shrijith1 2011-07-24 12:37

Re: Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
http://wiki.maemo.org/Desktop_Comman...s#Memory_usage

This is what u r looking for?

glabifrons 2011-07-24 13:05

Re: Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
Try the "free" command.

GigaByte 2011-07-24 13:18

Re: Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
Thanks, I've already had a look on the DCEW (desktop command execution widget) scripts WIKI but I didn't find the script that actually produces a percent value. @fareed_Xtreme yes my aim is to use QBW but I've gotta find the script at first.

glabifrons 2011-07-24 13:29

Re: Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
free |grep Mem|awk '{print $3 / $2 * 100 "%"}'

For swap, simply replace Mem with Swap.

beermad 2011-07-26 20:29

Re: Can somebody please post a script which will allow me to see the percentage RAM used? PLEASE? PLEASE?
 
Quote:

Originally Posted by glabifrons (Post 1057367)
free |grep Mem|awk '{print $3 / $2 * 100 "%"}'

For swap, simply replace Mem with Swap.

But don't forget, the total amount of memory in use isn't the same as the total memory minus memory available for other processes. Some of it may be cache or buffers (as you'll see from the raw "free" output). Your OS is happy to dump whatever's in cache of buffers if it's needed for another process.


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

vBulletin® Version 3.8.8