The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..? laknar AIX 3 07-16-2009 06:35 AM
current CPU usage, memory usage, disk I/O oid(snmp) S_venkatesh SUN Solaris 2 12-13-2008 06:19 AM
how can I find cpu usage memory usage swap usage and logical volume usage alert0919 HP-UX 3 12-02-2008 02:38 PM
Usage of prstat -j option. vipin771 UNIX for Dummies Questions & Answers 1 11-14-2007 10:10 PM
Top and Prstat display different results for memory zen03 SUN Solaris 4 12-29-2006 03:28 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 4 Weeks Ago
Asteroid Asteroid is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 38
Quote:
On the other hand, you have allocated 9 GB of memory so there is a RAM shortage in your box.
Thank you jlliagre for reply.
I am bit confused here.
What I guess, swap is used from the disk, so no mattter how big we have it. It's the virtual memory which is simulated from the disk.

PLease correct me if I am wrong, moreover do you think we have to reduce the swap here. Thank you.
  #2 (permalink)  
Old 4 Weeks Ago
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,509
Quote:
Originally Posted by Asteroid View Post
What I guess, swap is used from the disk, so no mattter how big we have it.
Indeed, too large a swap is not a problem however your applications are using more memory than what can fit in the RAM. That means they would likely benefit from an increase in RAM size.
Quote:
moreover do you think we have to reduce the swap here.
No, either reduce the RAM usage by your applications if doable or increase the RAM size.
  #3 (permalink)  
Old 4 Weeks Ago
brusell's Avatar
brusell brusell is offline
Registered User
  
 

Join Date: Oct 2009
Location: Czech Kingdom
Posts: 16
Try

Code:
vmstat 5 5

and have a closer look to "sr" column, if there are for longer time period higher values / for example about 200 / you are facing to memory shortage.
Also have a look at column "id" and "r" where you can discover real CPU utilization.
  #4 (permalink)  
Old 4 Weeks Ago
Asteroid Asteroid is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 38
The sr coulmn seems to hold normal values .


Code:
bash-3.00$ vmstat 5 5 
 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 3168312 351264 453 2467 9 11 12 0 5  4  4  4  0 4143 26324 8783 5  8 87
 0 0 0 2480544 304608 451 2507 0 0 0  0  0  0  0  0  0 4050 32797 9758 7  9 84
 0 0 0 2446640 306536 342 2233 0 0 0  0  0 19 18 18  0 3923 24769 7633 5  7 88
 0 0 0 2388648 311328 359 2746 0 2 0  0  0  0  0  0  0 4309 24969 8615 5  9 86
 0 0 0 2488416 315232 325 2091 0 2 2  0  0  0  0  0  0 3882 27707 8424 4  8 88

After 5 minutes I again executed vmstat 5 5


Code:
bash-3.00$ vmstat 5 5 
 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 3168192 351256 453 2467 9 11 12 0 5  4  4  4  0 4143 26326 8783 5  8 87
 0 0 0 2511488 337496 522 2940 38 0 0 0  0  1  1  1  0 4050 37562 8630 6  9 86
 2 0 0 2391296 337928 333 2497 0 2 0  0  0  0  0  0  0 4215 24412 8440 4  9 87
 0 0 0 2511944 337712 535 2544 0 2 2  0  0  0  0  0  0 4060 32147 9325 6  9 85
 0 0 0 2514160 338936 326 2293 0 0 0  0  0 19 18 18  0 4068 28599 8713 6  8 85

  #5 (permalink)  
Old 4 Weeks Ago
jlliagre jlliagre is online now Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,509
In the first line, the sr columns is not null so that means you had some RAM shortage in the past. There is no way to tell how important it was from this value as it is an average since last reboot.

There is currently no memory pressure. That means some of the allocated and used memory is not accessed and is just dormant in the swap area.

Last edited by jlliagre; 4 Weeks Ago at 05:19 PM.. Reason: typo
  #6 (permalink)  
Old 4 Weeks Ago
Asteroid Asteroid is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 38
Thx jlliagre for all the assistance and suggestions.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:05 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0