| Author |
Message |
Bruce B

Joined: 18 May 2005 Posts: 10817 Location: The Peoples Republic of California
|
Posted: Sun 17 May 2009, 03:58 Post subject:
Is Puppy a memory hog? Subject description: I don't think so. |
|
Puppy uses a BusyBox extension 'free' for measuring
memory. Free includes cache and buffers as used memory,
leading to artificially higher readings than it should, because
Linux will drop cache and buffers to make room for a new
processes.
Full featured 'free' utilities factor out the buffers and
cache by default. (Conky does also) I've attached a simple
little script which outputs the same calculations as the full
featured free, thus giving the user a way of calculating
memory usage the same way the a full version
such as 'procps free' does. Output example below.
| Code: | MemTotal: 515964
-/+ buffers/cache
MemUsed: 97668
MemFree: 418296
|
Hoping you find it a helpful tool.
~
| Description |
|

Download |
| Filename |
memfree.zip |
| Filesize |
402 Bytes |
| Downloaded |
185 Time(s) |
_________________ New! Puppy Linux Links Page
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Sun 17 May 2009, 05:50 Post subject:
|
|
Nice tool.
It runs only from a terminal and I had to type sh memfree to have it run.
Indeed free and htop (even per pid) give higher values for the reasons explained.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
Bruce B

Joined: 18 May 2005 Posts: 10817 Location: The Peoples Republic of California
|
Posted: Sun 17 May 2009, 06:03 Post subject:
|
|
Béèm,
I could have it run off a menu with a dialog where the user
clicks OK to close it.
Problem is what to call it? How does beemer sound?
If you do the desktop item. I can do the script.
Bruce
PS Please note my avatar, I'm still getting used to the
notion of a GUI :)
_________________ New! Puppy Linux Links Page
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Sun 17 May 2009, 06:11 Post subject:
|
|
I have noticed your avatar, which is significant, but I don't have a problem with it.
I wasn't aiming at a GUI implementation. I just wondered why I had to have sh to be typed in front of memfree to have it executed.
Is there something missing on my system (upup alpha 6)
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
Bruce B

Joined: 18 May 2005 Posts: 10817 Location: The Peoples Republic of California
|
Posted: Sun 17 May 2009, 07:04 Post subject:
|
|
| Béèm wrote: | I just wondered why I had to have sh to
be typed in front of memfree to have it executed.
|
Béèm
I suppose. not having more information, it's location. I
think if you put it in the executable path say at:
/root/my-applications/bin
Then it will run simply by typing in the name.
But if you want a menu item, that's not a problem, mostly
I think in terms of the CLI and run the computer off it.
For an example: I type 'sea' to run SeaMonkey
Bruce
_________________ New! Puppy Linux Links Page
|
|
Back to top
|
|
 |
|