1834279 Members
1837 Online
110066 Solutions
New Discussion

Swapinfo output.

 
Adam Winebaugh
Regular Advisor

Swapinfo output.

Here is the output from my swapinfo -tam

# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 2048 219 1829 11% 0 - 1 /dev/vg00/lvol2
reserve - 428 -428
memory 1537 1410 127 92%
total 3585 2057 1528 57% - 0 -
My memory is at 92% but the system is at 99.9% idle. I am relatively new to HP-UX. How do I find what is using the memory?
7 REPLIES 7
Ramesh S
Esteemed Contributor

Re: Swapinfo output.

Hi

"Memory" in swapinfo is Pseudoswap.

Pseudoswap is nothing but, 75% of your physical memory act as a swap space ( where swap_mem=on )

pseudo swap is only used for reserving a process. fro your output, there is a total of 1537 megs of pseudo swap configured, 1410 megs of pseudo swap are being
used by processes running in memory. The remainder of pseudo swap that it is
not used.system performance would be the same on a system that had 3% or 99% percent of pseudo swap used. It is usually
recommended that the "memory" line simpily be ignored when looking at swapinfo.

It does not mean the physical memory on the system.

Best Regards,
Ramesh
OFC_EDM
Respected Contributor

Re: Swapinfo output.

Try top and better yet glance(press m key).

Glance will will give you a memory report

MEMORY REPORT Users= 1
Event Current Cumulative Current Rate Cum Rate High Rate
--------------------------------------------------------------------------------
Page Faults 0 81 0.0 3.6 22.6
Page In 0 6 0.0 0.2 2.0
Page Out 0 0 0.0 0.0 0.0
KB Paged In 0kb 288kb 0.0 12.8 64.0
KB Paged Out 0kb 0kb 0.0 0.0 0.0
Reactivations 0 0 0.0 0.0 0.0
Deactivations 0 0 0.0 0.0 0.0
KB Deactivated 0kb 0kb 0.0 0.0 0.0
VM Reads 0 6 0.0 0.2 0.5
VM Writes 0 0 0.0 0.0 0.0

Total VM : 883mb Sys Mem : 540mb User Mem: 522mb Phys Mem: 2.0gb
Active VM: 746mb Buf Cache: 408mb Free Mem: 571mb
The Devil is in the detail.
Adam Winebaugh
Regular Advisor

Re: Swapinfo output.

Thanks GUys, that actually makes a lot more sense. I appreciate the help.


Adam Winebaugh
OFC_EDM
Respected Contributor

Re: Swapinfo output.

top will give you
Memory Data
Includes virtual and real memory in use (with the amount of memory considered "active" in parentheses) and the amount of free memory.

It will also graphically show all processes and the memory they're using.

You can output this to a file. Don't know how readable it will be.

man top
The Devil is in the detail.
Adam Winebaugh
Regular Advisor

Re: Swapinfo output.

Glance.... I must investigate.
Dennis Handly
Acclaimed Contributor

Re: Swapinfo output.

>O'Kevin: You can output this to a file. Don't know how readable it will be.

Use "top -f file -n 10000" and it will readable.
OFC_EDM
Respected Contributor

Re: Swapinfo output.

Thanks Dennis
The Devil is in the detail.