Operating System - HP-UX
1748164 Members
3762 Online
108758 Solutions
New Discussion юеВ

Re: Memory utilisation very high on HP-UX 11.31

 
SOLVED
Go to solution
Nilesh_Rami
Occasional Advisor

Memory utilisation very high on HP-UX 11.31

Experts, I am monitoring memory usage from swapinfo command on production servers and its showing almost 99% usage of memory so could you please help me to find out exact memory usage of server and which process is using more memory ? Please note that glance is not available on server.

Please find below kmeminfo output : 

tool: kmeminfo 10.57 - libp4 9.873 - libhpux 1.507 - HP CONFIDENTIAL
unix: HP-UX B.11.31 64bit Tukwila 9320 
core: /dev/kmem live kernel!
link: Sat Jul 22 01:09:04 IST 2017
boot: Sat Jul 22 01:17:28 2017
time: Mon Sep 11 15:10:14 2017
nbpg: 4096 bytes


----------------------------------------------------------------------
Physical memory usage summary (in page/byte/percent):

Physical memory = 8344708 31.8g 100%
Free memory = 71214 278.2m 1%
User processes = 1326587 5.1g 16% details with -user
Detached SHMEM = 1 4.0k 0% details with -shmem
System = 6946907 26.5g 83%

 

7 REPLIES 7
Dennis Handly
Acclaimed Contributor

Re: Memory utilization very high on HP-UX 11.31

Where is your "swapinfo -tam" output?

Nilesh_Rami
Occasional Advisor

Re: Memory utilization very high on HP-UX 11.31

Please find below requested output :

-bash-4.3# swapinfo -atm
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16384 704 15680 4% 0 - 1 /dev/vg00/lvol2
reserve - 4840 -4840
memory 15485 4473 11012 29%
total 31869 10017 21852 31% - 0 -

Bill Hassell
Honored Contributor
Solution

Re: Memory utilisation very high on HP-UX 11.31

100% memory usage is not a problem. It means your system is making best use of that resource. If more memory is needed, the paging subsystem will provide more by deactivating low priority processes and moveing inactive pages to the swap area. Are you trying to run additional processes that fail due to lack of memory?

You can get a simple picture of memory usage with these three commands:

# swapinfo -tam
# ipcs -bmop
# UNIX95=1 ps -e -o vsz,ruser,pid,args | sort -nk1

The first command show paging (swap) statistics, the second shows shared memory usage and the last shows the ram usage for each process with the largest programs at the bottom.

Note that some programs may report a lack of available memory because they were not prepared to handle large amounts of RAM. And kernel parameters may limit the amount of memory that a program is allowed to use. Both of these limits can be changed.



Bill Hassell, sysadmin
Dennis Handly
Acclaimed Contributor

Re: Memory utilization very high on HP-UX 11.31

>memory 15485 4473 11012 29%

 

You need to run this when you are near 100%.

Nilesh_Rami
Occasional Advisor

Re: Memory utilisation very high on HP-UX 11.31

Thank you very much for help....I got clear picture of memory utilisation now....thanks again

Dennis Handly
Acclaimed Contributor

Re: Memory utilisation very high on HP-UX 11.31

> Correction to my last post. 

 

You can use Post Options > Edit reply to correct it and similarly delete your correction post.

Bill Hassell
Honored Contributor

Re: Memory utilisation very high on HP-UX 11.31

Done



Bill Hassell, sysadmin