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 Fri 31 Oct 2014, 13:22
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Easiest way to Determine RAM Usage?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
Cecil

Joined: 25 Dec 2012
Posts: 15

PostPosted: Sun 13 Jan 2013, 14:14    Post subject:  Easiest way to Determine RAM Usage?  

I have searched the web and forum and haven't found a straightforward answer to this question. I am adding programs to Precise Puppy but want to make sure I am staying less than the 500 MB I have for RAM. I am running Precise off of a USB Flash Drive. What is the easiest way to determine how much RAM my configuration of Puppy is utilizing? Thanks in advance.

Cecil
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Sun 13 Jan 2013, 14:26    Post subject:  

If you are running your puppy, just type into the cosole:
Code:
free

Result here is:
Code:
sh-4.1# free
              total         used         free       shared      buffers
  Mem:      1554556      1498412        56144            0       380476
 Swap:      4157436            0      4157436
Total:      5711992      1498412      4213580
sh-4.1#

Second result here is, after flushing the RAM:
Code:
sh-4.1# free
              total         used         free       shared      buffers
  Mem:      1554556       572768       981788            0         2304
 Swap:      4157436            0      4157436
Total:      5711992       572768      5139224
sh-4.1#

To flush the RAM type into console (or create a bash script):
Code:
sync; echo 3 > /proc/sys/vm/drop_caches

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
Amgine


Joined: 21 Sep 2011
Posts: 233
Location: Washington State

PostPosted: Sun 13 Jan 2013, 15:00    Post subject:  

The free command always confused me, since it reads in kilibites..

You can also make it read in Megabites use
Code:
free -m
Back to top
View user's profile Send private message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Sun 13 Jan 2013, 21:01    Post subject:  

In LINUX QUIRKY - 1.40 Arrow
Code:
cat /proc/meminfo

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3387
Location: Oregon

PostPosted: Mon 14 Jan 2013, 04:45    Post subject:  

Amgine wrote:
The free command always confused me, since it reads in kilibites..

You can also make it read in Megabites use
Code:
free -m


I am running Lupu 520 and when I type "free -m" in a terminal, I get a busybox message of usage being only "free".
It evidently does not support the parameter in Lupu 520.
Back to top
View user's profile Send private message 
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Mon 14 Jan 2013, 05:00    Post subject: Easiest way to Determine RAM Usage?  

In Wary Puppy, I get the following:

Code:
# free
             total         used         free       shared      buffers
Mem:        385068       377792         7276            0        33912
-/+ buffers:             343880        41188
Swap:       396280            0       396280
# free -m
             total         used         free       shared      buffers
Mem:           376          366            9            0           33
-/+ buffers:                333           42
Swap:          386            0          386


I am assuming the apparent discrepancy with the values in kilobytes versus megabytes has to do with the algorithm that says: 1mb = 1024k

Monsie

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.

Last edited by Monsie on Fri 18 Jan 2013, 01:59; edited 1 time in total
Back to top
View user's profile Send private message 
Sky Aisling


Joined: 27 Jun 2009
Posts: 909
Location: Port Townsend, WA. USA

PostPosted: Thu 17 Jan 2013, 01:50    Post subject: Easiest way to Determine RAM Usage?
Subject description: Hardinfo has tools to help
 

Cecil,

You might want to look at *Hardinfo* and some of the tools it offers.

Menu/System/System Status and Config/Hardinfo
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0643s ][ Queries: 12 (0.0038s) ][ GZIP on ]