HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

HP-UX top command specifics

 
Tata Consultants
Occasional Advisor

HP-UX top command specifics

Hi,

Partial output of TOP
System Page Size: 4Kbytes
Memory: 1831796K (853596K) real, 2985852K (1874188K) virtual, 10458236K free Page# 1/6

And here the memory from syslog

/var/adm/syslog #cat syslog.log |grep -i phy
vmunix: Class Physmem Lockmem Swapmem
vmunix: physical page size = 4096 bytes, logical page size = 4096 bytes
vmunix: Physical: 16777216 Kbytes, lockable: 12368624 Kbytes, available: 14127676 Kbytes

Can anyone help me understand the difference between the two.

Regards,
Ashutosh Singh
4 REPLIES

Re: HP-UX top command specifics

>Can anyone help me understand the difference between the two?

What are you really trying to figure out? Have you read the top(1) man page?
Have you looked at "swapinfo -tam"?
Tata Consultants
Occasional Advisor

Re: HP-UX top command specifics

Hi,

I have checked the man page of TOP but it doesn't clarifies what does the memory part in its output shows. It says

Memory Data
Reports virtual and real memory used by user processes (with
the amount of memory considered "active" in parentheses) and
the amount of free memory.

So, I want to know what is the diff b/w real, virtual and free and the significance of the memory shown in brackets.

Regards,
Ashutosh Singh
Ismail Azad
Esteemed Contributor

Re: HP-UX top command specifics

The latter output is the allocated page size and the allocated RAM . Physical is the RAM on the system. Kernel and data structures require some amount of space. The rest is available. Lockable memory is the pages that cannot be paged out to swap space. This is the allocated part.

Top displays an output which tells us the memory used as of "now". It is a REAL TIME monitoring tool and swapinfo tells us how much is allocated. This is the most significant difference.
Read, read and read... Then read again until you read "between the lines".....
Tata Consultants
Occasional Advisor

Re: HP-UX top command specifics

Thanks to all for the help.