What is %IOWAIT of CPU states in TOP command output

What is "% iowait" in CPU States in Solaris? See below output it shows 11.2 % of CPU was used for IO.
Is CPU used in IO as well? If yes how?
last pid: 15598; load averages: 3.66, 3.39, 3.07 18:33:27
292 processes: 283 sleeping, 1 running, 5 zombie, 3 on cpu
CPU states: 17.9% idle, 54.8% user, 16.1% kernel, 11.2% iowait, 0.0% swap
Memory: 16G real, 8029M free, 5425M swap in use, 19G swap free
PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND

The value of %iowait is relatively semi-meaningless these days and as a result we removed it from Solaris 10 onwards. The parameter is still displayed in certain commands but it will always be zero.
System Administration Commands                         iostat(1M)
     wt        the I/O wait time is no  longer  calculated  as  a
               percentage  of  CPU  time, and this statistic will
               always return zero.Which means top will also show zero, eg:
load averages:  0.08,  0.17,  0.16;               up 0+02:04:38                
88 processes: 87 sleeping, 1 on cpu
CPU states: 96.1% idle,  2.4% user,  1.5% kernel,  *0.0% iowait*,  0.0% swap
Kernel: 1181 ctxsw, 21 trap, 1056 intr, 2553 syscall, 13 flt
Memory: 3327M phys mem, 932M free mem, 1663M total swap, 1663M free swap

Similar Messages

  • 0% idle time of cpu states from top command in oracle 8i /solaris 5.9

    Hi,
    for long time idle time is 0% in top command :
    database version:oracle 8.1.7.4.0
    operating system : sun solaris 5.9
    load averages: 9.32, 5.78, 6.13 15:22:13
    404 processes: 387 sleeping, 13 running, 4 on cpu
    CPU states: 0.0% idle, 78.2% user, 21.8% kernel, 0.0% iowait, 0.0% swap
    Memory: 16G real, 7535M free, 5842M swap in use, 9965M swap free
    PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
    6928 oracle 11 20 0 0K 0K run 2:20 12.62% oracle
    23518 oracle 21 31 0 0K 0K run 24:37 11.69% oracle
    9664 oracle 20 30 0 0K 0K run 12:41 10.83% oracle
    15764 oracle 12 21 0 0K 0K run 2:18 10.28% oracle
    9214 oracle 19 21 0 0K 0K run 5:52 8.58% oracle
    13734 oracle 173 21 0 0K 0K cpu/3 311:23 6.11% oracle
    19271 oracle 1 59 0 0K 0K cpu/0 726:20 4.45% oracle
    10436 oracle 1 59 0 0K 0K sleep 81:41 4.39% oracle
    22400 oracle 11 59 0 0K 0K sleep 3:22 4.35% oracle
    9297 oracle 20 59 0 0K 0K cpu/2 7:39 3.66% oracle
    22175 oracle 19 59 0 0K 0K sleep 6:55 3.41% oracle
    9494 oracle 1 30 0 0K 0K run 0:02 2.99% oracle
    10719 oracle 1 59 0 0K 0K sleep 132:48 1.55% oracle
    210 oracle 1 59 0 0K 0K sleep 86:56 1.04% oracle
    22084 oracle 24 59 0 0K 0K sleep 2:50 0.92% oracle
    and sometime load average goes to 25-30 and cpu states is 0% idle in that load so how i can tune my database:
    Regards
    Prakash

    Hi,
    here 0% idle, 0% iowait
    one of the query explain plan i am posting over here:
    Operation     Object Name     Rows     Bytes     Cost     TQ     In/Out     PStart     PStop
    SELECT STATEMENT Hint=CHOOSE          77 K          11800                     
    COUNT STOPKEY                                        
    VIEW          77 K     32 M     11800                     
    SORT UNIQUE STOPKEY          77 K     10 M     8384                     
    HASH JOIN OUTER          77 K     10 M     4968                     
    HASH JOIN          77 K     9 M     4477                     
    HASH JOIN          54 K     2 M     3071                     
    TABLE ACCESS FULL     GA_INSTANCE     10      140      1                     
    HASH JOIN          75 K     2 M     3069                     
    HASH JOIN          75 K     1 M     2351                     
    INDEX FAST FULL SCAN     CUST_ACCT_ADDR_PK     75 K     960 K     282                     
    TABLE ACCESS FULL     ADDRESS     199 K     1 M     1960                     
    TABLE ACCESS FULL     CUST_ACCT     112 K     1 M     593                     
    TABLE ACCESS FULL     IQARA_CNR_ACT_LOG     89 K     6 M     1150                     
    TABLE ACCESS FULL     NI_STATIC_IP_ADDR     21 K     317 K     60                     
    Reagrds
    Prakash

  • TOP  command output

    Hi,
    Can anybody describe the following TOP Command output...
    ==========================================
    Tasks: 197 total, 1 running, 196 sleeping, 0 stopped, 0 zombie
    Cpu(s): 12.0% us, 0.7% sy, 0.0% ni, 71.8% id, 15.5% wa, 0.0% hi, 0.0% si
    Mem: 4147796k total, 4120904k used, 26892k free, 25708k buffers
    Swap: 8191992k total, 160k used, 8191832k free, 3624432k cached
    4615 root 16 0 54320 15m 5952 S 24 0.4 4:41.11 X
    1915 oratest 16 0 923m 620m 485m S 20 15.3 17:09.41 oracle
    1730 oratest 16 0 385m 64m 23m S 4 1.6 0:54.07 java
    1912 oratest 15 0 23516 9.9m 5368 S 1 0.2 0:36.71 sqlplus
    1726 oratest 16 0 385m 64m 23m S 1 1.6 0:03.35 java
    1913 oratest 16 0 385m 64m 23m S 1 1.6 0:13.00 java
    2135 oratest 16 0 2448 1028 760 R 1 0.0 0:00.13 top
    1887 oratest 15 0 689m 23m 21m D 0 0.6 0:20.74 oracle
    1 root 16 0 3468 592 504 S 0 0.0 0:01.06 init
    2 root RT 0 0 0 0 S 0 0.0 0:00.04 migration/0
    3 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/0
    4 root RT 0 0 0 0 S 0 0.0 0:00.03 migration/1
    5 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/1
    6 root RT 0 0 0 0 S 0 0.0 0:00.04 migration/2
    7 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/2
    8 root RT 0 0 0 0 S 0 0.0 0:00.03 migration/3
    9 root 34 19 0 0 0 S 0 0.0 0:00.00 ksoftirqd/3
    10 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/0
    11 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/1
    12 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/2
    13 root 5 -10 0 0 0 S 0 0.0 0:00.00 events/3
    14 root 5 -10 0 0 0 S 0 0.0 0:00.00 khelper
    15 root 15 -10 0 0 0 S 0 0.0 0:00.00 kacpid
    ================================================
    Why it is showing the Memory Free is 26 MB only...
    Only one Database is running on this Machine SGA is around 600MB only.....
    Why it is showing 26 MB Free of memory ....Can anybody please describe the TOP Command output.....

    Hi, this doest look too good... " Swap: 8191992k total, 160k used"
    this means you'r using some of you'r swap, "25708k buffers" and not becouse of you'r buffers.
    try using ps -ef or top ( and sort by memory by hitting "m" ) and search for the process that uses you'r memory.

  • What does %cpu mean in top command

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    3166 apache 15 0 29444 6112 1524 S 6.6 2.4 0:00.79 httpdPID – process ID of the process
    in this above command my database showing %cpu% 90% for an oracle process.Please anyone can explain me what does it mean and is it critical

    Hi;
    As Aman mention, make some googling my friend. Your answer there ;)
    From googling:
    top command explained << video
    www.metacafe.com/watch/6896501/linux_top_command_explained/
    Tutorial:
    http://www.linux-masters.com/2009/09/top-command-explained.html
    http://linux.about.com/od/commands/l/blcmdl1_top.htm
    http://www.tech-faq.com/how-to-use-the-unix-top-command.html
    Regard
    Helios

  • Question on top command output in solaris

    Platform : Solaris 5.10
    In the top output, if you look at the CPU colum, you can see that one process (2415) is consuming 95.84 % of CPU, another process (28533) is consuming 91.81%. How can this happen ? If one process is consuming 95.84 , then less 5% of CPU is available to all other processes . Right?
    load averages:  4.24,  4.02,  3.89;                    up 57+10:17:11     14:36:35
    252 processes: 245 sleeping, 1 zombie, 6 on cpu
    CPU states: 40.7% idle, 46.7% user, 12.6% kernel,  0.0% iowait,  0.0% swap
    Memory: 16G phys mem, 1002M free mem, 31G swap, 31G free swap
       PID USERNAME LWP PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
      2415 oracle     1   0    0 6267M 6182M cpu     45.7H 95.84% oracle   -------- ???
    28533 oracle     2   0    0 5245M 5166M cpu     88:23 91.81% oracle   -------- ???
    12062 oracle     2   0    0 5245M 5166M cpu    194:39 82.03% oracle
      3459 oracle     1   0    0 1380K  996K cpu      9:55 73.00% gzip
      2276 oracle     2  35    0 5244M 5165M sleep    0:16 12.84% oracle
    13629 oracle     2  33    0 5244M 5165M sleep    4:51 12.44% oracle
      7784 oracle     2  32    0 5349M 5270M sleep    1:51 11.85% oracle
      5217 oracle     1 100  -20 5248M 5154M sleep   17.5H  3.05% oracle
      5225 oracle     1 100  -20 5248M 5154M sleep   17.3H  2.87% oracle
    14569 oracle     1 100  -20 6273M 6175M sleep   28.0H  1.61% oracle
    14565 oracle     1 100  -20 6271M 6173M sleep   28.8H  1.56% oracle
      1052 root      44  59    0   61M   36M sleep  319:29  1.41% crsd.bin
    15734 oracle     3   0    0   33M   12M sleep  591:32  1.11% tnslsnr
      5237 oracle     2  59    0 5275M 5181M sleep   79:47  0.51% oracle
      5235 oracle     2  59    0 5271M 5177M sleep   81:17  0.44% oracle

    I think you are right. This machine has 8 CPUs and there are 15 lines in the output . May be each line in the top result is for each core.
    Result of psrinfo showing the number of CPUs
    $ /usr/sbin/psrinfo
    0       on-line   since 04/12/2011 09:19:34
    1       on-line   since 04/12/2011 09:19:42
    2       on-line   since 04/12/2011 09:19:44
    3       on-line   since 04/12/2011 09:19:46
    4       on-line   since 04/12/2011 09:19:48
    5       on-line   since 04/12/2011 09:19:50
    6       on-line   since 04/12/2011 09:19:52
    7       on-line   since 04/12/2011 09:19:54Edited by: Tadeusz on Jun 8, 2011 8:13 AM

  • Output of "top" command

    i can't understand the CPU usage in top command. even the man page does not describe the necessary options. here is what i have from the "top":
    Cpu(s):  3.7%us,  1.0%sy,  0.0%ni, 95.3%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
    how will i know which option represents the CPU  in use and which represents free CPU ?  (i mean the meanings of us, wa, id and sy )
    also, what is the difference between VIRT, RES  and SHR memories. which one represents RAM ?

    us is processor time used by userspace processes, sy by kernel, ni by niced processes, id means idle, wa denotes waiting for I/O, hi and si are hard/soft interrupts.
    Read "man top" for VIRT etc. descriptions.

  • CPU usage in top monitor

    I have a V880 machine with 6 CPU a 1200 Mhz.
    I'm running command: top -b -ocpu -s5 d5 5
    %idle is going down from 95 to 70/50/30%
    but I cannot see the processes which are consuming CPU !!!
    What should I do to get my CPU-consumers ?
    Can a get a summary of %user,%kernel for each top-5-process ?
    load averages: 1.61, 1.49, 1.23 12:11:14
    351 processes: 348 sleeping, 3 on cpu
    CPU states: 44.3% idle, 14.2% user, 18.7% kernel, 22.7% iowait, 0.0% swap
    Memory: 12G real, 185M free, 13G swap in use, 30G swap free
    PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
    11524 sybase 41 10 0 195M 174M cpu/0 364.1H 12.99% dataserver
    6877 root 1 60 0 1256K 824K cpu/6 0:09 3.08% cp
    11820 NetCmmnd 125 58 0 39M 34M sleep 63.7H 0.96% ehd
    3781 ugl601 1 0 10 22M 18M sleep 41.9H 0.60% PatrolAgent
    11559 NetCmmnd 1 10 0 11M 9920K sleep 39.7H 0.49% CSCUBS_MsgEnric

    Well, 22% of the "missing" time is io wait. which is really a kind of idle time, just time spent waiting for IO to complete.
    I don't believe that IO wait time is reflected in the per process stats. So its hard to tell which process is waiting. Probably the cp at a guess..
    I think kernel time is supposed to be reflected in the per process stats. But these things are only rough snapshots. So theres a fair bit of fuzz.

  • DB CPU event in top 5 of AWR report question

    The top 5 foreground event in my AWR report is as follows. I am trying to understand if my db(system) is CPU bound.The elapsed time is 30 minutes and DB time is 675 in the load profile section. There are 32 cpus. The available CPU is 30*60*32 => 57600. The  DB CPU below is 35227. This is about 61 %. At what percentage of DB CPU do I consider my system is CPU bound ?. Also I want to make sure the method I arrived at this is correct or not. Please help. Event           Waits Time(s) Avg wait (ms) % DB time     Wait Class DB CPU                 35,277 87.12 DBMS_LDAP: LDAP operation 3,683       10,061       366         9.1             Other db file sequential read 233,584         933       4         2.3               User I/O read by other session 41,686           190       5       0.47                 User I/O log file sync 70,932      166       2       0.41                           Commit

    Why does the top 5 foreground indicate 87 % below the  % DB Time  column ? While my calculation shows 61 %, Which is correct for the interpretation if the system is CPU bound. The 2 lines of top 5 events are as follows
    Event
    Waits
    Time(s)
    Avg wait (ms)
    % DB time
    Wait Class
    DB CPU
    35,277
    87.12

  • ASR1002-ESP10 CPU Stats at 0%

    I am having trouble figuring out how to see my CPU usage on an ASR1002-ESP10 and I am convinced it is me doing something wrong...
    I used to have a 7204VXR and configured FASTCEF to offload from the CPU. On that router when I started running traffic I would simply run "show processes CPU" to get an idea of what my CPU on the router was.
    Now on the Cisco ASR1002 with ESP10 card I setup Distributed CEF which appeared to be the "new cool thing" that cisco implemented. Everything is working so well but I am confused because when I run "show processes cpu" on this bad boy it says 0% everytime.. Even while running very large loads.
    So now I am wondering how to know when I hit my limits as it appears the distributed CEF is handling my entire load without even hitting 1% on the CPU...
    One more example...
    We do SIP and with our old router would scale equally as we increased total SIP paths. Around 4k channels we would be at 90%.... Obviously this new router is 8.5 times more powerful in terms of Packets Per Second but it scares me a bit that the CPU may stay at 0% and then when we hit X amount of channels that it will pull from CPU.. Another words my fear is that we run 30k channels and its 0% CPU but when we go to 32K channels the CPU is at 100% because maybe that ESP card is full at 30k and then the last 2k channels is all hitting CPU...
    Maybe I did not explain it well but I guess the simple question is how do I monitor this since CPU is always 0%.

    oratest wrote:
    Hi,
    I am using Oracle 10.2.0.3.
    Whenever I generate explain plan for any query, the very last line of explain plan is as below.
    cpu costing is off (consider enabling it)_
    It seems that optimizer didn't considerd CPU stats while generating plan for this.
    How to enable CPU statistics here?
    The parameter optimizer_mode value is "CHOOSE", and stats are being gathered at an interval of one week.In your version of the database, the default value of optimizer_mode is ALL_ROWS. Is there any reason why you have changed it? You may want to post the output of following executed in SQL*Plus
    show parameter optimizer

  • Confused about Activity Monitor CPU stats

    I have found at least one case where the CPU summary usage stats seem inconsistent with the per-process stats also posted.
    For example, I had noticed that under certain circumstances, the kernal_task was pegged at ~7.9% (only varying a few tenths of a percent) and yet the average "idle" CPU usage is consistently ~97 to ~98 percent (I would have expected ~92 to ~93 percent given that all but the kernel_task were pretty much idle during the observation period).
    Clearly, the summary averages are being calculated differently (over a different time scale???) than the line item process averages.
    This is not the pressing issue of the century .... still, I'd like to get a better idea of what these metrics mean.

    Let me guess ... if I've got 2 dual proc's it's 400% and 2 quad proc's it's 800% ????
    So the line item CPU stats are per processor, and the overall usage is calculated over 4 processors ?? (That roughly corresponds to seeing one task showing 8% loading ... but overall loading at 2% ... which is what I observed.)

  • What is the best solid state drive for 2009 fall MacBook

    what is the best solid state drive to upgrade a 2009 fall Macbook. also is 128 Gb enough?

    I think 128 GB's is too small (SSD's are still too expensive for me).....I do not know what the best SSD is.....here is what I am about to do for my MacBook 4,1 (early 2008).....
    for a hard drive....
    http://eshop.macsales.com/item/Seagate/ST95005620AS/
    and for additional RAM.....
    http://eshop.macsales.com/item/Other World Computing/5300DDR2S6GP/
    ....to get ready for Lion (10.7)...not exactly what you asked

  • What is the different between statement and preparedstatement?

    hi,
    recently i have attended a telephonic interview. they asked me what is the different between statement and preparedstatement? and when u will use them? Hi! can any one say me the original difference??

    sorry dear,
    i am already shortlisted. and monday is my HR round.
    . Every 1 is not like u.
    So you have read the examples and explanations that you found when you googled, and you have read the javadoc and you still don't understand? And you are shortlisted? For what? I hope you won't do server programming.
    I will give you a few hints.
    Escaping of data
    Storing of dates
    Safer
    Faster

  • What is a good solid state hard drive for a Macbook Pro (2007 model)?

    What is a good solid state hard drive for a Macbook Pro (2007 model)? I imagine they're still expensive, but I'm curious which would be good picks if I were to go for it.

    I am using the Corsair P256 (256 GB) SSD. It is actually a Samsung drive. It works well, but will only give you part of the speed advantage due to the fact that the MBP from 2007 only has a 1.5 GB/s interface, while newer MBPs have a 3.0 GB/s interface.
    Impact on battery run time seems to only be an increase of 15-20%.
    Boot time on my MBP is 40 seconds to login prompt. System seems very responsive.

  • What does the dollar amount in the top left corner in the iTunes store mean?

    What does the dollar amount in the top left corner in the iTunes store mean?

    My guess is remaining balance on a gift card. I've never seen my credit card balance show up in iTunes or the app store. I don't think Apple can show that legally.

  • What's a good solid-state drive for my Pro 1.1, c.250-500gb?

    What's a good solid-state drive for my Pro 1.1, c.250-500gb?

    I only in the last months learned about the XP941 as an option, and for all Mac Pro models.
    And that was in the middle of a long thread that led me to look further.
         SATA Express meets the '09 MacPro - Bootable NGFF PCIE SSD  (  1 2 3 4 5 6 ... Last Page)
    So the adapter is cheap $24-52 versus say Sonnet Tempo Pro SSD ($295) which is not even bootable in 2006/7.
    No need for $15 Icy Dock. Does not take up drive bay or any of the 6 SATA II ports.
    Yes up until last fall/winter the 840 EVO was fine, I have half a dozen ranging from 128GB up to 500GB and they work fine.
    In the past I ended up using the Sonnet card just for data (graphic library for Adobe and iPhoto) and not the system.
    Options are always good to have.

Maybe you are looking for