Mem Details


 
Thread Tools Search this Thread
Operating Systems Solaris Mem Details
# 1  
Old 06-01-2012
Error Mem Details

<A href="mailto:root@sssdpmds01$">
HTML Code:
root@sssdpmds01$ prstat -a
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP       
 13831 ogw      2613M 2108M cpu12    0    0 277:43:27 3.9% java/1201
  4312 ogw      2641M 2092M sleep   59    0 562:45:51 2.1% java/1235
  4469 ogw      2616M 2021M sleep   59    0 250:00:58 2.1% java/1260
  4059 ogw      2622M 2181M sleep   49    0 524:19:09 2.0% java/1250
  4185 ogw      2633M 2136M sleep   59    0 495:44:18 1.8% java/1259
  5870 ogw      3157M 3144M sleep   59    0 336:55:03 1.0% java/175
  4439 ogw      3156M 3113M sleep   59    0 339:44:45 0.8% java/463
 13872 ogw      1649M  708M sleep   59    0   1:45:10 0.3% java/52
  4198 ogw      2172M  583M sleep   59    0  18:40:09 0.0% java/129
  3964 ogw      1649M  452M sleep   59    0  14:59:15 0.0% java/68
  3388 ogw        93M   70M sleep   53    2   1:11:32 0.0% java/40
 19515 root     6592K 3376K sleep   59    0   0:00:00 0.0% sshd/1
  3569 ogw       235M  219M sleep   59    0   5:10:17 0.0% java/55
  9908 root     3624K 3536K cpu8    39    0   0:00:00 0.0% prstat/1
 12264 root      291M  209M sleep   59    0  22:02:50 0.0% opcmona/9
  8547 mysql     186M  170M sleep   59    0 136:51:11 0.0% mysqld/17
     1 root     2680K  760K sleep   59    0  29:42:40 0.0% init/1
 11319 root       26M   11M sleep   59    0   3:54:44 0.0% ovcd/28
  2821 root     6632K 4856K sleep   59    0   3:20:53 0.0% lserv/1
 11321 root       16M 3448K sleep   59    0   0:00:07 0.0% ovconfd/10
  7403 root     2008K  160K sleep   59    0   0:00:00 0.0% vxconfigbackupd/1
  1750 root     4256K 1808K sleep   59    0   0:00:13 0.0% sshd/1
  1764 root       16M 8056K sleep   59    0   0:11:21 0.0% syslogd/19
  1767 root       16M 5288K sleep   59    0   0:05:43 0.0% fmd/22
  1732 root     3072K 1904K sleep   59    0   0:01:11 0.0% automountd/2
  1731 root     2648K  216K sleep   59    0   0:00:00 0.0% automountd/2
  7094 root     2400K  336K sleep   59    0   0:00:00 0.0% vxnotify/1
  1657 root     2096K   96K sleep   59    0   0:00:00 0.0% smcboot/1
  1642 root     1392K  760K sleep   59    0   0:03:28 0.0% utmpd/1
  1629 root       16M 8824K sleep   59    0   0:04:49 0.0% inetd/4
   443 root     2496K  728K sleep   59    0   1:17:50 0.0% in.mpathd/1
  1606 daemon   2480K   96K sleep   60  -20   0:00:00 0.0% nfs4cbd/2
  1745 root     3168K 1360K sleep   59    0   0:00:08 0.0% vold/5
  1602 daemon   3000K  112K sleep   59    0   0:00:00 0.0% statd/1
   405 daemon   5416K 2984K sleep   59    0   0:07:45 0.0% kcfd/6
  1600 daemon   3064K  272K sleep   59    0   0:00:00 0.0% rpcbind/1
  1607 daemon     46M 1232K sleep   59    0   0:00:40 0.0% nfsmapid/3
  1658 root     2096K   96K sleep   59    0   0:00:00 0.0% smcboot/1
 19517 root     3168K 2784K sleep   49    0   0:00:00 0.0% bash/1
 NPROC USERNAME  SWAP   RSS MEMORY      TIME  CPU                             
    20 ogw        28G   21G    67% 2829:37:3  14%
    85 root     1125M  717M   2.2%  99:03:03 0.0%
     1 mysql     176M  172M   0.5% 136:51:11 0.0%
     1 noaccess  119M  108M   0.3%   6:05:41 0.0%
     6 daemon     49M   48M   0.1%   0:08:25 0.0%
</U>

My system is taking 67% of the memory and I am experiencing High Swap utilization issue, I want to check which process is taking this much memory and eating swap memory

I also used the command

[/HTML]
root@sssdpmds01$ swap -s
total: 33396592k bytes allocated + 6862496k reserved = 40259088k used, 2185832k available
root@sssdpmds01$ swap -l
swapfile dev swaplo blocks free
/dev/vx/dsk/bootdg/swapvol 308,29001 16 33458672 19543392
[/HTML]
# 2  
Old 06-01-2012
I'd take a wild guess that it's ogw's multiple >2G java process that are using the memory.

You can limit this by setting the -Xmx flag, however if they are servlet or application servers (Tomcat, Websphere, etc...) then you will be forcing class disposal which may slow the individual process down (though not as much as swapping out does). Perhaps you need to re-define your sizing requirements?
# 3  
Old 06-01-2012
Code:
ps -elfy | head -1; ps -elfy | grep -v SZ | sort -nrk 9 | head

Output will be sorted by SZ i.e Total virtual memory consumption (Real+Swap in KB)
the -y switch enables RSS (Residential size i.e real memory consumption in KB) so that you can make estimation of how much swap memory is being used by process (i.e SZ - RSS).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Paging is filling up while physical mem still available

Hi, Paging on one of my boxes has been bloating up while physical memory is still available. Avg Phys Mem - 85% (of 96GB) Avg Paging: - 55% (of 24GB) Last week, the box ran out of paging while physical memory still reported 84% usage. Any idea what I'm missing out here? ------------- #... (2 Replies)
Discussion started by: denissi
2 Replies

2. UNIX for Dummies Questions & Answers

at -l doesnt give details of the scheduled job. How to get the details?

I have scheduled couple of shell scripts to run using 'at' command. The o/p of at -l is: $ at -l 1320904800.a Thu Nov 10 01:00:00 2011 1320894000.a Wed Nov 9 22:00:00 2011 1320876000.a Wed Nov 9 17:00:00 2011 $ uname -a SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies

3. Emergency UNIX and Linux Support

Can top show more than 100% in %MEM?

Can the %MEM value for a process show more than 100% in top output?Is this ever possible? (5 Replies)
Discussion started by: proactiveaditya
5 Replies

4. AIX

Command that shows mem slots

A while back I had a command that shows the memory slots (and info on the modules inserter) in an IBM AIX machine. I cannot remember it at this time, can someone help me out with this command please? (4 Replies)
Discussion started by: bbbngowc
4 Replies

5. Shell Programming and Scripting

What is max MEM% in top command?

HI, When i use the top command in Linux I get the below values. PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND What is the maximum MEM% that will occur. I got once 303% . Is it possible to get such a high value. Regards, Ahamed. (2 Replies)
Discussion started by: ahamed
2 Replies

6. Solaris

Solaris Mem Consumption

We have Sun OS running on spark : SunOS ciniwnpr67 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Fire-V440 Having Physical RAM : Sol10box # prtconf | grep Mem Memory size: 8192 Megabytes My Top Output is : 130 processes: 129 sleeping, 1 on cpu CPU states: 98.8% idle, 0.2% user, 1.0%... (27 Replies)
Discussion started by: rajwinder
27 Replies

7. Programming

/dev/mem on Dell Poweredge

Hi, I have a C++ program to access /dev/mem and retrieve details like Vendor, Manufacturer details of the motherboard. This works fine on all the machines except for on Dell Poweredge 2850,1950... machines. I receive a 'EFAULT' when I try to access /dev/mem on these servers. I suspect some... (1 Reply)
Discussion started by: ragisreekanth
1 Replies

8. Linux

Linux Mem Usage

What is amount of free RAM i have now? total used free shared buffers cached Mem: 1010 963 46 0 215 256 -/+ buffers/cache: 491 518 Swap: 1983 0 1983 Above is the output of... (1 Reply)
Discussion started by: new2ss
1 Replies

9. Solaris

Mem analyze / vmstat, prstat ...

Hi all, I would lke to know which is the best tool/command to analyze the memory really used and free on a Solaris 10 server. I have strange results with prstat -a command, and do not know how to analyze the vmstat result. 75 root 453M 69M 0.5% 0:10:00 0.3% 6 e415072 ... (2 Replies)
Discussion started by: unclefab
2 Replies

10. UNIX for Dummies Questions & Answers

Difference in Mem usage ?

Hi All, I have a pair of sun ultra 5_10 with SunOS 5.5.1. Both are almost equally patched and set up with simillar applications. host# uname -a SunOS host 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-5_10 Even though both have same amount of RAM ( 512 Mb ) , ... (1 Reply)
Discussion started by: shibz
1 Replies
Login or Register to Ask a Question