How to troubleshooting high sys cpu usage ???

how to troubleshooting high sys cpu usage ???

Hi,I have post the top 5 event above.
before tuning:
SQL ordered by Gets
•     Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
•     Total Buffer Gets: 4,348,081
•     Captured SQL account for 73.3% of Total
Buffer Gets      Executions      Gets per Exec      %Total     CPU Time (s)     Elapsed Time (s)     SQL Id     SQL Module     SQL Text
1,768,970     2,593     682.21     40.68     32.47     1375.28     a2vm9mf99ma3p
       select
712,504     2,883     247.14     16.39     13.14     83.85     66vrg3gz2stvf
       select
130,928     7,901     16.57     3.01     7.83     10.49     ctnn0bpfd3v5k
       select
92,800     2,902     31.98     2.13     2.73     6.40     2985xzq8x547u
       select
81,498     27,159     3.00     1.87     3.12     3.98     1prkhshjp25sc
       select
60,513     2,631     23.00     1.39     2.29     5.64     2d8w9016z0kug
       select
55,416     15,835     3.50     1.27     2.12     2.39     8tk22zsappg9m
       select
44,879     15,838     2.83     1.03     1.74     1.89     c6sjzyfh9jmz0
       select
31,677     10,558     3.00     0.73     1.15     1.24     5yr7z98xmcpqz
       select
26,346     13,172     2.00     0.61     1.31     1.47     36shs0f8kxp5z
       select after tuning:
SQL ordered by Gets
•     Resources reported for PL/SQL code includes the resources used by all SQL statements called by the code.
•     Total Buffer Gets: 7,734,429
•     Captured SQL account for 99.4% of Total
Buffer Gets      Executions      Gets per Exec      %Total     CPU Time (s)     Elapsed Time (s)     SQL Id     SQL Module     SQL Text
1,728,723     99,759     17.33     22.35     113.87     119.45     309a6ak09rud2
       select
996,920     332,437     3.00     12.89     41.57     44.03     1prkhshjp25sc
       select
964,093     199,469     4.83     12.46     32.19     33.28     8tk22zsappg9m
       select
531,776     33,241     16.00     6.88     34.38     36.36     2985xzq8x547u
       select
432,140     199,473     2.17     5.59     20.86     21.57     c6sjzyfh9jmz0
       select
332,406     166,226     2.00     4.30     17.28     17.84     36shs0f8kxp5z
       select
265,872     33,234     8.00     3.44     7.74     8.09     4a34fa9tt90wx
       select *
232,617     33,243     7.00     3.01     7.54     7.78     53rvrd0ug5gwm
       select
232,603     33,237     7.00     3.01     9.24     9.83     9254c5ag3z9qd
       select
232,589     33,239     7.00     3.01     8.11     8.40     gum17w9qgrw8p
       select co
232,547     33,246     6.99     3.01     12.56     13.21     cx8yttzjh9ftz
       select
232,484     33,244     6.99     3.01     10.08     11.07     gbx7hs3ykpjqs
       select
199,446     99,753     2.00     2.58     11.27     11.89     2hpja5k312kwa
       select
199,428     33,241     6.00     2.58     9.15     9.56     2d8w9016z0kug
       select
199,389     199,469     1.00     2.58     19.59     20.25     b9j0pb2d5cn69
       select
133,004     33,253     4.00     1.72     17.56     18.67     a2vm9mf99ma3p
       select
99,756     33,255     3.00     1.29     3.77     3.92     5yr7z98xmcpqz
       select
99,747     33,258     3.00     1.29     4.58     4.70     1fnshqnqxjtqz
       select

Similar Messages

  • How to find culprid of high SYS CPU % ?

    Does anyone know a command to find the culprid of a high CPU utilization of kernel syscalls?
    My actual SYS CPU usage is over twice the USR value and I think this not normal.
    Thanks in advance,
    HJ.

    i am curious. have u been reading the details off your process manager or through ps -ef or pgrep?
    but i do agree, that sounds alittle strange for any process to be taking up so much.

  • High system CPU usage only recoverable by rebooting

    Hi,
    I'm having this problem since I started using my new iMac 27'. Before that I was using the same version of OSX (10.6.1) in the MacbookPro without this issue.
    So it's being hard to reproduce the problem, but suddenly there is a spike in CPU usage from System Processes (on average 40-50% if "% System" in the Activity Monitor), but strangely when I choose to show only system processes, there's no process that is actually using that amount of CPU. And the system gets REALLY slow.
    While trying to reproduce the problem, I rebooted and started iTunes. And it happened. Even after closing iTunes the high "ghost" CPU usage gets really high and never recovers unless I reboot.
    Is anyone else having similar issues?

    inaciog wrote:
    So it's being hard to reproduce the problem, but suddenly there is a spike in CPU usage from System Processes (on average 40-50% if "% System" in the Activity Monitor), but strangely when I choose to show only system processes, there's no process that is actually using that amount of CPU.
    Hi, and welcome to the forums.
    Don't limit it to System Processes. There's often too much interaction between user and system processes. Choose either +All Processes+ or +Active Processes.+
    You probably want to select +View > Update Frequency > Less Often+ from the menubar, too, both so you can read the screen and so Activity Monitor itself won't take up too much CPU. Then sort the list by the +% CPU+ column so the largest numbers are on top.
    Watch it for a while. Many processes will "spike" up and down normally, as they do something, then go idle.
    And the system gets REALLY slow.
    That's when you need to see what the top one or two processes are.
    If you see +Process Names+ you don't recognize, post them here or consult http://triviaware.com/macprocess/all

  • Prstat displays PROCESS/NLWP  with /0 , but high USR and SYS  cpu usage

    I'm running prstat on Sol 10u4 sparc and see from time to time one of more processes with high user and kernel cpu usage, The process name is just displayed as " /0". What is this ?
    see sample snapshot below:
    PID USERNAME USR SYS TRP TFL DFL LCK SLP LAT VCX ICX SCL SIG PROCESS/NLWP
    18738 root 18 42 3.5 0.0 0.0 0.0 36 0.5 123 247 15K 0 sort/1
    18728 root 10 30 1.0 0.0 0.0 0.0 0.0 59 0 361 16K 0 /0
    18737 root 6.8 15 2.1 0.0 0.0 0.0 75 0.2 82 82 5K 0 awk/1
    18731 root 5.2 12 1.3 0.0 0.0 0.0 80 1.5 68 0 5K 0 /0
    18730 root 4.8 10 1.1 0.0 0.0 0.0 82 1.4 58 58 4K 0 /0
    18736 root 4.4 10 1.1 0.0 0.0 0.0 84 0.1 63 0 4K 0 grep/1
    18732 root 3.0 11 2.1 0.0 0.0 0.0 0.0 84 0 45 3K 0 head/1
    18735 root 4.3 9.2 1.1 0.0 0.0 0.0 85 0.1 57 57 3K 0 grep/1
    18729 root 4.3 8.7 1.2 0.0 0.0 0.0 84 1.3 103 51 3K 0 /0
    18734 root 3.7 8.9 1.0 0.0 0.0 0.0 86 0.5 52 52 3K 0 grep/1

    The slash number format is used to show the number of threads (light weight processes or LWP in Solaris parlance) in a given process (see the header says "PROCESS/NLWP"). I'd guess this is a race condition where prstat finds a process exists and has consumed some CPU, but when it goes to query the data on the process it's already exited so there's no process name and zero threads associated with it. For this to be true and to see this except more than every once in a blue-moon you'd have to have a system that was having processes forked at an amazing rate.
    I'd also say this is a bug, but one that you might have a hard time getting an traction on.

  • How do you get the CPU Usage in Linux

    This is a link of an example in WIN32:
    http://www.javaworld.com/javaworld/javaqa/2002-11/01-qa-1108-cpu.html
    It notes that UNIX environments should use getrusage(), and that is all it says in regards to UNIX. The code I have attempted to use looks like this:
    #include <sys/resource.h>
    #include <sys/time.h>
    #include "CPU.h"
    #include "jawt_md.h"
    #include "jawt.h"
    struct rusage usage;
    int ret;
    struct timeval val;
    struct timeval val2;
    JNIEXPORT jlong JNICALL Java_CPU_getProcessCPUTime (JNIEnv * env, jclass cls)
       ret = getrusage(RUSAGE_SELF,&usage);
       val = usage.ru_stime;
       val2 = usage.ru_utime;
       return val2.tv_usec;
    }My problm is that I don't think it is right...since the value returned is always the same no matter what the CPU usage is. same for if I used val instead of val2.
    Any Ideas?

    In Linux, you can read /proc/uptime. It does NOT give you the load averages that the command uptime gives. It gives you numerically the amount of time the CPU was idle vs how much time it was spent doing something. You need to read these two floating point numbers one every second, or once every 5 or 10 seconds then do the delta on the change: The maths are as follows:
    Read the file in twice in 5 seconds, parse into two floats/doubles:
    double[] last;  // the first read of the file
    double[] rect;  // the latest read of the file
    double ld = last[1] - last[0];
    double rd = rect[1] - rect[0];
    double cpu = (1.0d-(rd/ld)) * 100.0d;This should print the CPU percentage in Linux for that given time frame (5 second updates).

  • How do i control my cpu usage.

    I have a HP TouchSmart tx2 Notebook PC, and I'm having trouble with my CPU usage, its always high even though i dont have any programs running, so when I am using a program like Oovoo or Skype, I'm not able to use them because it says that my CPU usage is to high, what can I do to control this the CPU usage?

    Moe631 wrote:
    I have a HP TouchSmart tx2 Notebook PC, and I'm having trouble with my CPU usage, its always high even though i dont have any programs running, so when I am using a program like Oovoo or Skype, I'm not able to use them because it says that my CPU usage is to high, what can I do to control this the CPU usage?
    try Message 7 of this thread
    http://h30434.www3.hp.com/t5/TX-TM-Series-Notebooks/HP-TouchSmart-tx2-laptop-is-very-slow/td-p/68583
    also
    try to reduce the number of programs and unnesecary services at startup from the startup manager.
    If my reply was helpful please click the "Kudos" star.
    If your problem is solved please click the "Accept as Solution" button

  • High SQL cpu usage?

    Just for clarification, you are talking about the alerts caused by VeeamOne, not Veeam Backup & Replication, correct?

    So I started getting warnings from Veeam about our SQL server's CPU usage. It got up to 100% at one point in the day and stayed there for 30 minutes or so.Our SQL Server specs are:4 CPU's @ 2.GHZ each I think.... 4 CPU's nonetheless.16 GB ramvirtualized on vsphere 5.1So I logged into the SQL server to see what was up (note that this has been happening for the past month or so, just hadn't had time to actually sit down and work on it, plus it didn't seem to effect the performance of our patient software too much which runs on SQL. Until this morning and it was very sluggish.)I noticed that the SQL server processes were running at 50% or more sometimes. I caught a screen shot of it when it was on it's way down. How can I trouble shoot something like this and figure out what in the hell is causing it to spike? I am not a master at SQL so...
    This topic first appeared in the Spiceworks Community

  • How do I tap into "CPU" usage for a FP indicator

    I have built a realy effective database cruncher...With exeptionally easy graphing functionality. The problem is the opperators will not let the dbase read / filter before they start doing the elevator button thing. I currently have the clocks set to use aprox 60~75% CPU during the read and/or filter. How do I tap into the pc cpu usage for an indicator. I think it will lower there pain if they can see that the pc is working hard.
    Message Edited by MHarrington on 04-30-2007 10:12 PM

    Open your example finder and look for the example "SimpleTaskMonitor.vi". (search for .NET)
    LabVIEW Champion . Do more with less code and in less time .

  • Hanging programs, high Finder CPU usage

    Since early October 2012, programs such as Firefox, Thunderbird and TextEdit have been repeatedly hanging (Not Responding) for a few minutes at a time. Also, Finder CPU usage sometimes surges to 80% even 100% (via Activity Monitor), but not necessarily at the same time. Wondering if these are related. Running OS 10.6.8 (with latest updates) on early 2008 3.06 GHz Core 2 Duo.
    Is anyone else having these problems? Any suggestions?
    Thanks!

    Hi JB,
    See if the Disk is issuing any S.M.A.R.T errors in Disk Utility...
    http://support.apple.com/kb/PH7029
    Open Activity Monitor in Applications>Utilities, select All Processes & sort on CPU%, any indications there?
    How much RAM & free space do you have also, click on the Memory & Disk Usage Tabs.
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.
    In the Memory tab, are there a lot of Pageouts?
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • How to set number of CPU usage at Virtual PC

    Hi all,
    After review below:
    http://support.microsoft.com/kb/824355
    I am not able to find Preference in Virtual PC manual. May i know how to set CPU usage on Virtual OS.
    Many thanks.
    Regards
    Andrew

    Hi,
    Each Virtual Machine can make use of only a single processor at a time. This is by default. if you mean that you want multiple virtual CPUs assigned then you need to look at an alternative VM system such as Hyper-V.
    Yolanda Zhu
    TechNet Community Support

  • High webservd cpu usage

    Hi,
    May I know what factors will effect the webservd process? I observed that cpu usage for webservd are very high-97%
    root prstat
    PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
    16294 root 3695M 3643M cpu12 1 0 9220:35:0 97% webservd/870
    937 root 38M 33M run 11 0 4308:42:4 2.3% se.sparcv9/1
    4522 mailsrv 163M 93M sleep 49 0 1:10:48 0.4% mshttpd/10
    5329 root 4880K 4872K cpu7 49 0 0:00:00 0.0% prstat/1
    184 root 8352K 7432K sleep 59 0 2:53:01 0.0% nscd/51
    May I know is there any reason will cause this?
    FYI,
    root ./imsimta version
    Sun Java(tm) System Messaging Server 6.2-8.04 (built Feb 28 2007)
    libimta.so 6.2-8.04 (built 19:28:07, Feb 28 2007)
    SunOS webmail4.tm.net.my 5.10 Generic_118833-24 sun4v sparc SUNW,Sun-Fire-T200
    root
    Thanks

    Hi,
    As Jay already said, you can try the latest UWC patches (since you didn't tell us what you are currently running its hard to say if this will help) and if that doesn't work then get Sun PS to help you out (performance tuning is outside the support contract scope).
    Performance tuning of your system is way beyond this forum. Given that this appears to be system 4 though (based on the the hostname) I would say that is this system is the only one with the problem there must be something different in either the load on the system, configuration of the system etc. that would explain the difference.
    It's up to you to find out what the difference is.
    Regards,
    Shane.

  • What is a common cause for high sys CPU time and system faults on an Iplanet server?

    Hi,
    A newbie question...
    I am benchmarking an application which uses Iplanet on Solaris (2X400mhz cpus). vmstat output follows.
    Note the high sys time and relatively lower user mode time. Also relatively high system fault rate. Is this
    normal? If not, common causes?
    fyi - we are not running Java VM on this server.
    I have TRUSS output showing kernal activity but dont want to post it here without some further guidance
    on what if anything in it might be helpful.
    Thanks!
    Bernie
    procs memory page disk faults cpu
    r b w swap free re mf pi po fr de sr s0 s6 s7 s8 in sy cs us sy id
    0 0 0 2494224 481536 3 10 3 0 0 0 0 1 0 1 0 413 697 443 1 2 97
    0 0 0 2428464 414368 0 122 0 0 0 0 0 45 0 45 0 972 53598 575 5 28 67
    1 0 0 2428512 414456 0 242 0 0 0 0 0 0 0 0 0 563 1368 756 4 46 50
    0 0 0 2428440 414440 0 263 0 0 0 0 0 0 0 0 0 636 2229 1268 6 49 46
    1 0 0 2428240 414264 10 253 0 0 0 0 0 6 0 6 0 692 176918 873 16 49 3

    Hello
    You can change the DB isolation level to Read uncommitted
    http://technet.microsoft.com/en-us/library/ms378149(v=sql.110).aspx
    or use WITH (NOLOCK)
    I do use NOLOCK option for the dirty reads to avoid locks on the tables
    Javier Villegas |
    @javier_vill | http://sql-javier-villegas.blogspot.com/
    Please click "Propose As Answer" if a post solves your problem or "Vote As Helpful" if a post has been useful to you

  • High Rogger CPU Usage

    I'm a newbie and was just wondering whether anyone has had similar issues in the past with high CPU usage on the Roggers?
    This seems to be sitting somewhere around the 91% used mark, critical at some points, and 87% at other times.
    Version used:
    Rogger: Installed on UCS 210, using a Windows 2008 Guest on VMWare 5.0
    Version of UCCE: 8.5(x)
    MS SQL 2005 (SP4)
    Any assistance would be greatly appreciated.
    Thanks in Advance.
    Stewart

    Hi,
    As Jay already said, you can try the latest UWC patches (since you didn't tell us what you are currently running its hard to say if this will help) and if that doesn't work then get Sun PS to help you out (performance tuning is outside the support contract scope).
    Performance tuning of your system is way beyond this forum. Given that this appears to be system 4 though (based on the the hostname) I would say that is this system is the only one with the problem there must be something different in either the load on the system, configuration of the system etc. that would explain the difference.
    It's up to you to find out what the difference is.
    Regards,
    Shane.

  • High Dock CPU usage

    I have an iMac which was acting very sluggish. The Dock was varying between 5 and 35% cpu usage - even with nothing but the activity monitor running.Also, the Windfowserver process had very similar usage patterns. I booted up with a safe start, and there was no difference. I then created a new administrative user account, and the problem went away on that account. However, I still would like to resolve the problem, and not just abandon my old user name and transfer everything over, as there is no reason to think the problem will not re-surface on the new account. Any insights into what may be causing this problem would be greatly appreciated.

    That was a very interesting suggestion. I deleted both the plist and the DB file associated with the Dock, but there was no change in behavior when the default set was loaded by the OS.  I went back and forth between the two accounts to verify the behavior. On both accounts the Dock CPU usage cycles between a low CPU percentage and a high CPU percentage at about a 2 second interval. On the effected account the high usage varies between single and double digits, depending if the cursor is over the Dock. In the new account I get the same readings you do, with usage at 0.0, sometimes 0.3, but never breaking 1%.
    All of the CPU percentages I am relating to you occur with only the AM active. I also tried turning  AirPort off, without any impact, and hiding the Dock, which also didn't change things - that one was a surprise.
    I appreciate your insights. I don't know what else would be user specific that could cause this problem, and still welcome any suggestions or thoughts you may have.
    Thanks

  • High Idle CPU Usage... Can it be remedied?

    Hey everyone, I'm having a bit of an issue with my Power Mac... I checked my CPU usage through Terminal's "top" utility, and found that my CPU is currently running anywhere from 75 - 90% at "idle". Now, I've been told that's not something that I want to have going on with the Power Mac. Any suggestions on how to get that percentage down?
    I used the Applejack utility, as was suggested in another Discussion forum here on the site, but that didn't do the trick.
    Any help would be greatly appreciated. Thanks in advance!
    -Ray
    Dual 2.3 Ghz Power Mac G5   Mac OS X (10.4.9)   2.5 GB RAM, 20-inch HD Cinema Display

    Well, before today, like you, I assumed that an "idle" CPU was exactly that; a CPU that just wasn't being used. But then, after reading up on some articles that were posted online in both the Apple Discussion Forums as well as places like MacFixIt, I started going on this wild chase to figure out what was up. Turns out that I misread the articles; the problems they had were not the "idle" percentage, but rather, the "user" percentage when their computers were idle. (Slaps hand on forehead)
    That's what happens when you act on a whim on a tech FAQ article at 6 AM, before having your morning coffee, lol.
    I guess I jumped on it because I'm getting a little paranoid about the number of pageouts I'm getting at the moment, and I'm trying to do everything I can outside of adding more RAM. Over the course of a few days, the "top" utility registers anywhere from 10,000 to 50,000 pageouts, which I know for a fact is a bad sign. On top of that, there are times that I just have one or two programs open, and over the course of a day or two, the amount of Memory I have free drops from over 1.5 GB, down to about 128 MB. (Programs are usually Safari and iTunes)
    I know that's gotta be an issue, right?
    And, to "the hatter," no, I'm not running Google Desktop. I DO have a boatload of Dashboard Widgets, though. (But not actively running at the same time)
    Once again, thanks for your help!
    -Ray
    Dual 2.3 Ghz Power Mac G5   Mac OS X (10.4.9)   2.5 GB RAM, 20-inch HD Cinema Display

Maybe you are looking for

  • Oracle e business suite user name and password to login oracle bi?

    Hi, it is possible to use oracle e bussiness suite user name and password to login oracle BI PUBLISHER SERVER.?? we are using 11.1.1.6.0 OBIEE and R12 (12.0.6) e business suite.

  • Cost centre & profit centre

    Hi Friends,      I am working as a xi consultant, I have no idea about cost centre,profit centre and orgarnizational structure. Please expain me with real life example in an organization. Thanks, Suresh.

  • Migrating Japanese Characters from MS SQL Server 2000 to Oracle 9i usng Jsp

    Hi , I have a situation where the Japanese characters are to be migrated from MS SQL Server 2000 to Oracle 91 and then render the same using JSP. I followed the below approach, 1. Extract the Japanese data from MS SQL Server and generate an XML 2. Pa

  • Web page browsing speed drastically slowing down

    I purchased a 13 inch mac book pro in December. Since day one, I have had a problem with my web page browsing speed drastically slowing down. These crippling slow down periods are completely random. They can start any time, and last from any amount o

  • Best way to update 8 out of10 million records

    Hi friends, I want to update a table 8 million records of a table which has 10 millions records, what could be the best strategy if the table has a BLOB column with 600GB worth of data. BLOB itself is 550GB.  I am not updating the BLOB column. Usuall