Memory Check in SUN Solaris | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Memory Check in SUN Solaris

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-24-2007
rajarsi.ghosh rajarsi.ghosh is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 26 July 2007, 3:59 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Sponsored Links
    #2  
Old 07-24-2007
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 24 April 2014, 2:21 AM EDT
Location: Berlin, Germany
Posts: 5,334
Thanks: 53
Thanked 223 Times in 217 Posts
look at "vmstat".
Sponsored Links
    #3  
Old 07-26-2007
rajarsi.ghosh rajarsi.ghosh is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 26 July 2007, 3:59 PM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 24 April 2014, 2:21 AM EDT
Location: Berlin, Germany
Posts: 5,334
Thanks: 53
Thanked 223 Times in 217 Posts
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 04:29 AM..
Sponsored Links
    #5  
Old 07-27-2007
ggr ggr is offline
Registered User
 
Join Date: Jul 2007
Last Activity: 20 May 2013, 11:17 AM EDT
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
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
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 0ktalmagik Solaris 4 02-03-2009 08:37 AM
Memory usage in Solaris - memory not freed? gewurtz Solaris 3 01-06-2009 11:06 AM
check memory and processors rocker40 UNIX for Dummies Questions & Answers 2 10-25-2006 03:16 PM
Comman/Tool to check memory leak in solaris box rajeshlbryan UNIX for Dummies Questions & Answers 1 09-02-2005 09:58 AM
how to check how much memory being used? dookeobih UNIX for Dummies Questions & Answers 3 01-15-2002 12:21 AM



All times are GMT -4. The time now is 07:28 AM.