1836636 Members
1742 Online
110102 Solutions
New Discussion

Memory explanation

 
SOLVED
Go to solution
Sam Dee
Advisor

Memory explanation

Hi guys,

We've got physical memory of 2 GB.

Using the top command on HP-UX 11i the following is displayed

Memory: 818000K (483536K) real, 1795960K (1177824K) virtual, 20020K free

Please if anyone one can tell me what is real, virtual and free.

Thanks in Advance
Regards
Sam
5 REPLIES 5
Fred Ruffet
Honored Contributor
Solution

Re: Memory explanation

real is memory in use.
virtual is memory used for swap in RAM.
free is free :)

if you sum all of these you have your RAM.
--

"Reality is just a point of view." (P. K. D.)
Steve Steel
Honored Contributor

Re: Memory explanation

Hi


Look at
Memory Usage (â What is using all of the memoryâ ?)

by:eric.herberholz@hp.com

Last modified: April 7, 2004

Latest version also available at external ftp site:

ftp://eh:spear9@hprc.external.hp.com/memory.htm


Open the web site and you will learn it all about memory


Steve
If you want truly to understand something, try to change it. (Kurt Lewin)
Geoff Wild
Honored Contributor

Re: Memory explanation

Here's a nice program called memdetail - just compile it.

Output like:

# memdetail
Memory Stat total used avail %used
physical 10080.0 10034.5 45.5 100%
active virtual 10957.9 4345.1 6612.8 40%
active real 7617.8 2941.9 4675.9 39%
memory swap 7697.2 1526.9 6170.3 20%
device swap 26528.0 10597.0 15931.0 40%



Some info on memeory here:

http://www2.itrc.hp.com/service/cki/search.do?category=c0&docType=Security&docType=Patch&docType=EngineerNotes&docType=BugReports&docType=Hardware&docType=ReferenceMaterials&docType=ThirdParty&searchString=UPERFKBAN00000726&mode=id&admit=-1335382922+1054213293587+28353475&searchCrit=allwords&printable=true

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Sanjay_6
Honored Contributor

Re: Memory explanation

Hi Sam,

Try these two links,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000068500228

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072760485

The itrc doc ids are A3940339 & RCMEMKBRC00005784.

To find the total memory on your system, try

1.) echo 'selclass qualifier memory;info;wait;infolog' |cstm |grep 'Total Configured'
2.) grep Physical /var/adm/syslog/syslog.log

Hope this helps.

Regds
Sam Dee
Advisor

Re: Memory explanation

Thanks guys.
I have got a lot information to use.

BR
Sam