Unix Technical Forum

top: 50% iowait, 900M swap in use

This is a discussion on top: 50% iowait, 900M swap in use within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> top shows my system as having 50% iowait (leading to very little cpu idle) and 900M swap im use ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-12-2008, 07:00 AM
Vikas Agnihotri
 
Posts: n/a
Default top: 50% iowait, 900M swap in use

top shows my system as having 50% iowait (leading to very little cpu idle)
and 900M swap im use (I have 1GB physical RAM)

How do I go about identifying which processes are using the 900M swap
space? Also, which processes are the cause/effect of the 50% iowait?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-12-2008, 07:01 AM
Brendan Gregg
 
Posts: n/a
Default Re: top: 50% iowait, 900M swap in use

G'Day,

On Wed, 3 Dec 2003, Vikas Agnihotri wrote:

> top shows my system as having 50% iowait (leading to very little cpu idle)
> and 900M swap im use (I have 1GB physical RAM)
>
> How do I go about identifying which processes are using the 900M swap
> space? Also, which processes are the cause/effect of the 50% iowait?



Processes using swap: try "/usr/ucb/ps -aux" or "prstat -s size" (or
"ps -eo pid,vsz,args") and looking at their size. For more details try
the MemTool package.

Processes causing io: truss or "prex -k" can be used, but aren't as user
friendly as ps. I'm working on a freeware tool to add a %I/O column to a
"ps -ef" output (I posted it to comp.unix.solaris about 18 hours ago

Brendan Gregg

[Sydney, Australia]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-12-2008, 07:01 AM
Graham Lee
 
Posts: n/a
Default Re: top: 50% iowait, 900M swap in use

Vikas Agnihotri wrote:

> top shows my system as having 50% iowait (leading to very little cpu idle)
> and 900M swap im use (I have 1GB physical RAM)
>


This may not be the case for you, but last time I saw 2 CPUs on a 4 CPU box
get completely tied up in IOWait, a disk had failed.

> How do I go about identifying which processes are using the 900M swap
> space? Also, which processes are the cause/effect of the 50% iowait?
>


Pressing 'o' in top will allow you to change the sort field, then I suppose
'size' is the best field to sort on to display total temporary store used.
ps -o vsz should work too, can't confirm this as I have GNU ps installed
--
Graham Lee
Wadham College
Oxford
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:14 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com