Is Puppy a memory hog?

Using applications, configuring, problems
Post Reply
Message
Author
Bruce B

Is Puppy a memory hog?

#1 Post by Bruce B »

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: Select all

MemTotal:  515964
-/+ buffers/cache
MemUsed:   97668
MemFree:   418296
Hoping you find it a helpful tool.

~
Attachments
memfree.zip
(402 Bytes) Downloaded 286 times

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#2 Post by Béèm »

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).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Bruce B

#3 Post by Bruce B »

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 :)

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#4 Post by Béèm »

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).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Bruce B

#5 Post by Bruce B »

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

Post Reply