1748201 Members
2921 Online
108759 Solutions
New Discussion юеВ

Memory utilisation Isuue

 
vadakkan
Occasional Contributor

Memory utilisation Isuue

System show 42% memory utilisation using swapinfo and on HPOV it is show 93%.

And reserved memory on this particular machine is 8GB where as on other servers it is 1GB. Appreciate you guys comments


# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 8192 661 7531 8% 0 - 1 /dev/vg00/lvol2
dev 8192 14 8178 0% 0 - 1 /dev/vg00/swap
reserve - 8612 -8612
memory 15554 6531 9023 42%
total 31938 15818 16120 50% - 0 -
#
7 REPLIES 7
VVS
Regular Advisor

Re: Memory utilisation Isuue

Check through Glance,

# glance

then press m for memory usage to check

Or Use below command,

UNIX95= ps -ef -o vsz,pid,user,pcpu,args"|sort -rn -k1
Work is life, you know, and without it, there's nothing but fear and insecurity.
vadakkan
Occasional Contributor

Re: Memory utilisation Isuue

Sorry, Glance is not available on this machine
VVS
Regular Advisor

Re: Memory utilisation Isuue

The "memory" line in the output of swapinfo is NOT physical memory, rather it is pseudoswap which is calculated to be 75% the size of RAM.

Provide the top output.
Work is life, you know, and without it, there's nothing but fear and insecurity.
vadakkan
Occasional Contributor

Re: Memory utilisation Isuue

System: emsphc01 Wed Aug 4 09:17:24 2010
Load averages: 0.02, 0.04, 0.04
250 processes: 184 sleeping, 66 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 0.02 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
2 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
4 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
6 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
8 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
10 0.02 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
12 0.01 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%
14 0.04 1.0% 0.0% 0.0% 99.0% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 0.02 0.0% 0.0% 0.0% 100.0% 0.0% 0.0% 0.0% 0.0%

System Page Size: 4Kbytes
Memory: 9676916K (8375408K) real, 15615628K (13524748K) virtual, 1383092K free Page# 1/23

CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
10 ? 11309 root 152 20 9490M 5313M run 2278:28 8.66 8.65 ovjboss
2 ? 11409 root 152 20 3013M 2541M run 2680:53 5.58 5.57 java
8 ? 1753 root 152 20 42680K 872K run 1397:45 1.48 1.48 cimprovagt
12 ? 16433 nmsdbmgr 154 20 303M 4460K sleep 0:06 0.73 0.73 postgres:
2 ? 1748 root 152 20 330M 81152K run 128:48 0.53 0.53 cimprovagt
4 ? 4488 root 152 20 87828K 12108K run 20:59 0.39 0.39 ovcd
4 ? 81 root 152 20 28080K 24960K run 439:22 0.32 0.31 vxfsd
8 ? 85 root 152 20 1152K 1024K run 2:16 0.31 0.31 pagezerod
10 ? 2969 root 168 20 15348K 828K sleep 352:47 0.28 0.28 utild
2 ? 4575 root 152 20 108M 22564K run 19:13 0.26 0.26 agtrep
VVS
Regular Advisor

Re: Memory utilisation Isuue


Download kmeminfo and run. this will show you the memory utilization.

This utility is not supplied by default with the OS. It is a single binary file. You can put it anywhere you like after you acquire it.

What is HP-UX OS version?
Work is life, you know, and without it, there's nothing but fear and insecurity.
vadakkan
Occasional Contributor

Re: Memory utilisation Isuue

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

Physical memory = 4186537 16.0g 100%
Free memory = 297470 1.1g 7%
User processes = 0 0.0b 0% details with -user
System = 32782 128.1m 1%
Kernel = 0 0.0b 0% kernel text and data
Dynamic Arenas = 473501 1.8g 11% details with -arena
spinlock_arena = 55934 218.5m 1%
misc region are = 46204 180.5m 1%
vx_global_kmcac = 43799 171.1m 1%
FCACHE_ARENA = 33673 131.5m 1%
bc_bpdata_8K_ar = 32782 128.1m 1%
Other arenas = 261109 1020.0m 6% details with -arena
Super page pool = 408093 1.6g 10% details with -kas
Static Tables = 258802 1010.9m 6% details with -static
pfdat = 204420 798.5m 5%
vhpt = 32768 128.0m 1%
text = 8779 34.3m 0% vmunix text section
bss = 5547 21.7m 0% vmunix bss section
nbuf = 3278 12.8m 0% bufcache headers
Other tables = 4009 15.7m 0% details with -static
Buffer cache = 32782 128.1m 1% details with -bufcache
# uname -a
HP-UX emsphc01 B.11.31 U ia64 2698367590 unlimited-user license
# model
ia64 hp server rx6600
VVS
Regular Advisor

Re: Memory utilisation Isuue

You can download kmeminfo and use it.
There is one more script attached that I found on the Forum. You can check with this also.

Output like:

# memdetail
Memory Stat total used avail %used
Work is life, you know, and without it, there's nothing but fear and insecurity.