Memory Check in SUN Solaris


 
Thread Tools Search this Thread
Operating Systems Solaris Memory Check in SUN Solaris
# 1  
Old 07-24-2007
Memory Check in SUN Solaris

Hi

I am facing a problem with memory in SunOS 5.9. I just want to check the memory usage. Can anybody suggest me a command that will help me in this regard.
# 2  
Old 07-24-2007
look at "vmstat".
# 3  
Old 07-26-2007
Hi

I am getting the following when i use the vmstat but unable to decipher much out of it. Can any body help..

$ vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr m0 m1 m2 m3 in sy cs us sy id
0 0 0 6646576 2928584 22 116 2 0 0 0 0 1 1 1 0 506 142 15 1 1 99
# 4  
Old 07-26-2007
maybe a look at the vmstat manpage can help you out?

Code:
root@miraculix # vmstat 1
 kthr      memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr s6 sd sd --   in   sy   cs us sy id
 1 0 0 5243008 1848104 179 1157 608 8 2 0 284 0 39 0 0 1184 5525 2222 13 10 77
 0 0 0 5752976 1805520 2 51  0  0  0  0  0  0  0  0  0 1151  184  169  0  1 99
 0 0 0 5752968 1805512 0  1  0  0  0  0  0  0  0  0  0 1153   89  165  0  0 100
 0 0 0 5752968 1805512 0  0  0  0  0  0  0  0  0  0  0 1141   91  158  0  1 99
 0 0 0 5752968 1805512 0  0  0  0  0  0  0  0  0  0  0 1149   87  156  0  0 100
 0 0 0 5752968 1805512 0  0  0  0  0  0  0  0  1  0  0 1148   96  170  0  1 99
 0 0 0 5752968 1805512 0  0  0  0  0  0  0  0  0  0  0 1146   82  167  0  0 99
 0 0 0 5752968 1805512 0  0  0  0  0  0  0  0  0  0  0 1189  119  190  0  1 99
 0 0 0 5752968 1805512 0  0  0  0  0  0  0  0  0  0  0 1185  106  182  0  0 100


Last edited by DukeNuke2; 04-25-2010 at 06:29 AM..
# 5  
Old 07-27-2007
if you want to see what procs are using most memory, use this command so u have a sorted list of procs.

prstat -s size

vmstat and top are good alternatives. Vmstat is not very obvious about the usage, but once u have read the man page, things get a little easier.

-GGR
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Check Solaris Zones Processor & Memory allocations

Hi, I am a newbee in the solaris administration. My question is how to 1. Check the total CPU and memory of a global zone. 2. Check the allocated CPU and memory for each of the residing non-global zones. I have already tried prtconf which gives the following output /usr/sbin/prtconf... (4 Replies)
Discussion started by: poga
4 Replies

2. 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

3. Shell Programming and Scripting

To check the system configuration on Sun solaris

Hi, Could you pls. let me know what is cammand in unix to check the system configuration on Sun solaris. Thanks in advance. Cheers (2 Replies)
Discussion started by: krackjack
2 Replies

4. Solaris

useful links and help resources for Sun's products and Sun's Solaris

Hi all, Those links might help anyone Knowledge base Video tutorials (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies

5. Solaris

Sun Fire 280R Sun Solaris CRT/Monitor requirements

I am new to Sun. I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor? Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies

6. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

7. Solaris

Memory usage in Solaris - memory not freed?

Hi, I'm running a multi-process software system on a Solaris 8 machine. When I monitor the memory usage, I see that the free memory is dropping rapidly, but I can't detect a process that uses this memory. I'm using "top" to get the free memory and the memory usage of processes. Thanks. (3 Replies)
Discussion started by: gewurtz
3 Replies

8. UNIX for Dummies Questions & Answers

Sun Solaris 10: How do I create a bootup disc? The Sun website confuses me

Hey there, I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies

9. UNIX for Dummies Questions & Answers

Comman/Tool to check memory leak in solaris box

Hello Guys, Please let me know about commands or tools that are available to check memory leak in solaris box. Thanks in Advance (1 Reply)
Discussion started by: rajeshlbryan
1 Replies

10. Solaris

Sun Solaris Sun Java Desktop

Ok I a n00b, not gunna hide it so here goes - Sun Solaris, V.10 i386 - during the setup, I can choose a screen resolution that looks great with 65k colors and all. However, when all is said and done 4 disks and a reboot later, I get hanious 640x480 @ 256 only. If I choose the Sun Java Desktop... (20 Replies)
Discussion started by: Spooky
20 Replies
Login or Register to Ask a Question

Featured Tech Videos