| Author |
Message |
Cecil
Joined: 25 Dec 2012 Posts: 15
|
Posted: 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
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: Sun 13 Jan 2013, 14:26 Post_subject:
|
|
If you are running your puppy, just type into the cosole:
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 |
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
Amgine

Joined: 21 Sep 2011 Posts: 212 Location: Washington State
|
Posted: 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
|
|
Back to top
|
|
 |
postfs1

Joined: 27 Mar 2010 Posts: 831
|
Posted: Sun 13 Jan 2013, 21:01 Post_subject:
|
|
In LINUX QUIRKY - 1.40
_________________
- 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
|
|
 |
8-bit

Joined: 03 Apr 2007 Posts: 3033 Location: Oregon
|
Posted: 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 |
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
|
|
 |
Monsie

Joined: 01 Dec 2011 Posts: 470 Location: Kamloops BC Canada
|
Posted: 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.
Edited_time_total
|
|
Back to top
|
|
 |
Sky Aisling

Joined: 27 Jun 2009 Posts: 625 Location: Port Townsend, WA. USA
|
Posted: Thu 17 Jan 2013, 01:50 Post_subject:
Easiest way to Determine RAM Usage? Sub_title: 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
|
|
 |
|