Visit Our UNIX and Linux User Community


i have conflict with memory utilization


 
Thread Tools Search this Thread
Operating Systems Solaris i have conflict with memory utilization
# 1  
Old 09-16-2012
i have conflict with memory utilization

dear all,

kindly i want to check my server memory utilization i used alot of commands but i want to make sure that it is acurate let me explain


i have a server which has 32GB RAM
Code:
Total Memory = 33423360 kb
Free Memory = 4172568 kb
Utilized Memory = 29250792 kb
 Memory Utilization Percentage = 87.5 %

if Utilized Memory = 29250792 kb how can i make sure which processes eat this amount of memory


I listed the top proceses i found the following
if i sum the amount of memory by each process from the flowing it will not equal the utilized memory 29250792 kb so i want to know which processes eat the amount of memory

i found also the swap device is free and not used my system now in test cycle and the memory reached to 87% i want to make sure that if it in the production it will still has 87% and use the swap space or exceed the amount of memory

i tested another server it has memory utilization like 46% and after rebooting it it was 29% so i want to make sure that how memory work it has some processes sleep in memory after we has a new instruction enterd the memory it will free some of the old processes ?
top processes using memory
Code:
SIZE RSS PROCESS/NLWP
2580M 866M be-engine/1408
478M 428M java/3647
476M 418M java/3647
324M 320M esd/4
123M 107M java/113
131M 103M java/18
24M 22M svc.startd/15
29M 22M msragent/10
21M 18M nscd/31
35M 16M nsrexecd/4
33M 15M nsrmmd/1
33M 15M nsrmmd/1
17M 14M inetd/4
19M 13M fmd/27
13M 12M svc.configd/16

swap device
/dev/zvol/dsk/rpool/swap 256,1 16 67108848 67108848

whem it will use free swap ?
Code:
free swap = 30375816k
used Swap = 4569504k

how come the amount of memory percentage in these processes that run by these users is equal to 7.4 % and the memory utilization is equal to 87%
Code:
 NPROC USERNAME  SWAP   RSS MEMORY      TIME  CPU                             
     3 user1     2547M  870M   2.7%   5:31:59 0.3%
    63 root      1538M 1476M   4.5%  92:09:30 0.1%
    10 user2    7264K   17M   0.1%   0:00:00 0.0%
     2 user3     1672K   10M   0.0%   0:00:01 0.0%
     8 daemon     11M   17M   0.1%   0:15:05 0.0%

forgive me for my weak english

Last edited by jim mcnamara; 09-16-2012 at 09:58 AM..
# 2  
Old 09-16-2012
Code:
ipcs -m

for shared memory usage may shed some light on things.

prstat for the whole system should show more than just a few users if it is an active system. What does
Code:
ps -ef

show?
# 3  
Old 09-17-2012
ps -ef

Code:
   UID   PID  PPID   C    STIME TTY         TIME CMD
    root     0     0   0   Jun 04 ?           1:01 sched
    root     5     0   0   Jun 04 ?         279:48 zpool-rpool
    root     1     0   0   Jun 04 ?          66:24 /sbin/init
    root     2     0   0   Jun 04 ?           0:00 pageout
    root     3     0   0   Jun 04 ?        7741:48 fsflush
  daemon   193     1   0   Jun 04 ?           1:02 /usr/lib/crypto/kcfd
    root     9     1   0   Jun 04 ?           2:47 /lib/svc/bin/svc.startd
    root    11     1   0   Jun 04 ?           6:24 /lib/svc/bin/svc.configd
    root   319     1   0   Jun 04 ?           0:22 /usr/sbin/cron
    root   101     0   0   Jun 04 ?         257:34 zpool-app-pool
    root   105     1   0   Jun 04 ?           2:59 devfsadmd
    root   103     0   0   Jun 04 ?          12:12 zpool-log-pool
    root   721     1   0   Jun 04 ?           5:33 /usr/lib/fm/fmd/fmd
  daemon   580     1   0   Jun 04 ?           0:02 /usr/lib/nfs/nfsmapid
    root   280     1   0   Jun 04 ?           0:00 /lib/svc/method/iscsi-initiator
    root   153     1   0   Jun 04 ?           0:00 /usr/lib/ldoms/drd
  daemon   574     1   0   Jun 04 ?           0:01 /usr/sbin/rpcbind
    root   160     1   0   Jun 04 ?           0:00 /usr/lib/sysevent/syseventd
  daemon   576     1   0   Jun 04 ?           0:00 /usr/lib/nfs/nfs4cbd
  daemon   581     1   0   Jun 04 ?           0:00 /usr/lib/nfs/statd
    root  3905  2102   0   Jun 04 ?          36:15 esd - shell perftool-shell.tcl
  daemon   310     1   0   Jun 04 ?          14:57 /usr/lib/rcap/rcapd
  daemon   588     1   0   Jun 04 ?           0:00 /usr/lib/nfs/lockd
    root   246     1   0   Jun 04 ?           8:28 /usr/lib/inet/in.mpathd -a
    root   305     1   0   Jun 04 ?           0:00 /usr/lib/efcode/sparcv9/efdaemon
    root 14164     1   0   Aug 15 ?           0:00 /usr/lib/ssh/sshd
    root 12469     1   0   Sep 15 ?           0:36 /usr/sbin/nscd
    root   583     1   0   Jun 04 ?          15:09 /usr/lib/inet/xntpd
    root   607   592   0   Jun 04 ?           0:03 /usr/lib/saf/ttymon
    root   592     9   0   Jun 04 ?           0:04 /usr/lib/saf/sac -t 300
    root  1250     1   0   Jun 04 ?         554:47 /app/ArcSightSmartConnectorsSolarisOS/current/bin/wrapper/sunos/wrapper /app/Ar
    root   700     1   0   Jun 04 ?           0:19 /usr/sbin/syslogd
    root   617     1   0   Jun 04 ?           0:19 /usr/lib/utmpd
    root   616     1   0   Jun 04 ?           2:45 /usr/lib/inet/inetd start
    root 27063 27870   0 10:41:55 ?           0:00 sleep 2
    root   646     1   0   Jun 04 ?           0:00 /usr/sadm/lib/smc/bin/smcboot
    root   649   646   0   Jun 04 ?           0:00 /usr/sadm/lib/smc/bin/smcboot
    root   648   646   0   Jun 04 ?           0:00 /usr/sadm/lib/smc/bin/smcboot
    root   680     1   0   Jun 04 ?           0:00 /usr/lib/nfs/mountd
    root 29698  2057   0 00:30:47 ?           0:01 /usr/sbin/nsrmmd -n 26 -s nwriy2
    root   660     1   0   Jun 04 ?           0:00 /usr/lib/autofs/automountd
    root   662   660   0   Jun 04 ?           0:34 /usr/lib/autofs/automountd
 user1 27040 27004   0 10:41:43 pts/1       0:00 bash
    root   757     9   0   Jun 04 console     0:00 /usr/lib/saf/ttymon -g -d /dev/console -l console -T vt100 -m ldterm,ttcompat -
  daemon   686     1   0   Jun 04 ?           0:00 /usr/lib/nfs/nfsd
    root  2102     1   0   Jun 04 ?        3015:56 esd - init agent -dir /var/opt/SUNWsymon -q
    root   751     1   0   Jun 04 ?           0:00 /usr/sbin/auditd
    root  1227     1   0   Jun 04 ?         172:53 /app/ArcSightSmartConnectorsApp/current/bin/wrapper/sunos/wrapper /app/ArcSight
    root   912   911   0   Jun 04 ?         514:26 _jvm/bin/java -Djetty.home=jetty -Djava.endorsed.dirs=endorsed -DSTART=jetty/et
    root   911     1   0   Jun 04 ?          96:44 /opt/homebase-agent/bin/../bin/wrapper-solaris-sparc-32 /opt/homebase-agent/bin
    root  2559  2102   0   Jun 04 ?           0:00 sh
    root 18870  1227   0   Aug 30 ?         534:09 ../../../jre/bin/java -server -XX:MaxNewSize=128m -verbose:gc -DARCSIGHT_HOME=.
    root  2057     1   0   Jun 04 ?           2:02 /usr/sbin/nsrexecd
    root 11317     1   0   Aug 07 ?           0:00 /opt/VRTSpbx/bin/pbx_exchange
    root  2557  2102   0   Jun 04 ?           0:00 sh
    root  1474     1   0   Jun 04 ?          76:17 /usr/ecc/exec/mstragent
    root  6298     1   0   Jun 04 ?          26:50 /usr/sbin/tictimed
    root  1609  1474   0   Jun 04 ?          31:51 /usr/ecc/exec/mstragent -s
    root  3945  2102   0   Jun 04 ?           0:00 sh
    root 16756     1   0   Sep 15 ?           0:05 /usr/lib/sendmail -bl -q15m
   smmsp 16752     1   0   Sep 15 ?           0:01 /usr/lib/sendmail -Ac -q15m
    root 27875 27873   0   Sep 10 ?           0:22 tail +1lf /var/audit/20120604131827.not_terminated.sec37-5
    root  3963  2102   0   Jun 04 ?           0:00 sh
    root  3962  2102   0   Jun 04 ?           0:01 sh
noaccess  2055     1   0   Jun 04 ?         151:13 /usr/java/bin/java -server -Xmx128m -XX:+UseParallelGC -XX:ParallelGCThreads=4 
 user1 26974 26973   0 10:41:25 ?           0:01 /usr/lib/ssh/sshd
 user1 27004 26974   0 10:41:41 pts/1       0:00 -sh
    root  3859     1   0   Jun 04 ?          77:23 /usr/lib/picl/picld
 user1 27064 27040   0 10:41:56 pts/1       0:00 ps -ef
    root 26973 14164   0 10:41:25 ?           0:00 /usr/lib/ssh/sshd
    root 27783  1250   0   Sep 10 ?         207:33 ../../../jre/bin/java -server -XX:MaxNewSize=128m -verbose:gc -DARCSIGHT_HOME=.
    user2 18176     1   0 11:47:31 ?         297:54 /app/user2/tibco/be/5.0/bin/be-engine -u default -p /app/user2/be-default.propert
    root 27873 27870   0   Sep 10 ?           0:01 praudit -x -l
    root 12907     1   0   Aug 07 ?           1:03 /usr/openv/netbackup/bin/vnetd -standalone
    root 29655  2057   0 00:30:23 ?           0:00 /usr/sbin/nsrmmd -n 48 -s nwriy2
    root 22847     1   0   Jun 26 ?          93:52 /usr/ecc/exec/MSR610/msragent
    root 12912     1   0   Aug 07 ?           1:22 /usr/openv/netbackup/bin/bpcd -standalone
    root 27870 27783   0   Sep 10 ?          13:58 /bin/sh /app/ArcSightSmartConnectorsSolarisOS/current/bin/agent/bsm/tailauditlo


ipcs -m
Code:
IPC status from <running system> as of Mon Sep 17 10:42:08 AST 2012
T         ID      KEY        MODE        OWNER    GROUP
Shared Memory:


Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Need help on memory utilization.

I have run the utility nmon in aix 6.1, and found memory utilization is 99.9% in physical. and pressed h key and then t , in that it is not showing single process which is consuming memory resources. please help me how to find out actual memory utilization. wheather 99% is real memory... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

2. Red Hat

CPU Utilization and Memory Utilization of Services and Applications

Hi, i am new to linux/RHEL 6.0 and i have two questions. 1) How to get the CPU utilization and Memory Utilization of all Services running currently? 2) How to get the CPU utilization and Memory Utilization of all Applications running currently? Please help me to find the script. ... (2 Replies)
Discussion started by: nossam
2 Replies

3. SuSE

Memory utilization issue

I have parallels container running on Suse. From top command, I am not able to see, what is eating up so big amount of memory. top - 07:44:24 up 172 days, 18:52, 1 user, load average: 0.01, 0.02, 0.00 Tasks: 44 total, 1 running, 43 sleeping, 0 stopped, 0 zombie Cpu(s): 0.0%us, ... (1 Reply)
Discussion started by: solaris_1977
1 Replies

4. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

5. HP-UX

memory utilization

command for checking memory utilization in HP -UX (2 Replies)
Discussion started by: tushar_spatil
2 Replies

6. AIX

Memory Utilization

Hi friends i have a query. we have two p-series machine(p550 & p570) with HACMP 5.3 and AIX 5.3 hosting SAP. Now i need to now is there a way or a command to check the memory utilization on these machines on daily basis. I have tried vmstat and iostat but still it's not clear. We have... (3 Replies)
Discussion started by: nathandrake13
3 Replies

7. Shell Programming and Scripting

Memory utilization in HP unix

Hi, I am creating monitoring scripts in HP unix for that i need CPU utilization and memory utilization in HP unix. for CPU utilization i am using TOP command for Memory utilizaion i am not able to use glance command in scripts. means i am not able to redirect and stop. apart from... (1 Reply)
Discussion started by: rsivasan
1 Replies

8. Shell Programming and Scripting

Memory Utilization

Hi, Is it possible to obtain physical memory and swap memory available in HP-UX server. I tried using "top" command but i'm not able to grep the memory part exclusively... Thanks.... (4 Replies)
Discussion started by: EmbedUX
4 Replies

9. UNIX for Dummies Questions & Answers

CPU/Memory utilization

hi guys I just want to know how to get the cpu/memory utilization of a running script? Well i know that I can use the sar command but it shows the whole system's statistics. Is it possible to get the stats of a single scirpt or a single running service? (6 Replies)
Discussion started by: khestoi
6 Replies

10. AIX

Memory Utilization

All, The (fre) coloumn of the (vmstat) command, does it report the size of the free list including the swap space or it only report on the RAM (physical memory). BR, (1 Reply)
Discussion started by: Negm
1 Replies

Featured Tech Videos