Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Sep 2014, 16:41
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Is Puppy a memory hog?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Bruce B


Joined: 18 May 2005
Posts: 11108
Location: The Peoples Republic of California

PostPosted: 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.

~
memfree.zip
Description 
zip

 Download 
Filename  memfree.zip 
Filesize  402 Bytes 
Downloaded  205 Time(s) 

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11108
Location: The Peoples Republic of California

PostPosted: 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
View user's profile Send private message 
Béèm


Joined: 21 Nov 2006
Posts: 11782
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

PostPosted: 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
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11108
Location: The Peoples Republic of California

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0581s ][ Queries: 12 (0.0133s) ][ GZIP on ]