Page 1 of 1
Easiest way to Determine RAM Usage?
Posted: Sun 13 Jan 2013, 18:14
by Cecil
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
Posted: Sun 13 Jan 2013, 18:26
by RSH
If you are running your puppy, just type into the cosole:
Result here is:
Code: Select all
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: Select all
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: Select all
sync; echo 3 > /proc/sys/vm/drop_caches
Posted: Sun 13 Jan 2013, 19:00
by Amgine
The free command always confused me, since it reads in kilibites..
You can also make it read in Megabites use
Posted: Mon 14 Jan 2013, 01:01
by postfs1
In LINUX QUIRKY - 1.40
Posted: Mon 14 Jan 2013, 08:45
by 8-bit
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.
Easiest way to Determine RAM Usage?
Posted: Mon 14 Jan 2013, 09:00
by Monsie
In Wary Puppy, I get the following:
Code: Select all
# 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
Easiest way to Determine RAM Usage?
Posted: Thu 17 Jan 2013, 05:50
by Sky Aisling
Cecil,
You might want to look at *Hardinfo* and some of the tools it offers.
Menu/System/System Status and Config/Hardinfo