How is GC cpu utilization % calculated?

I am trying to find a way to capture the problem where a user process eats up a ton of cpu for over 30 minutes. I thought that I could possibly use the cpu utilization metric.
In testing it, I reset the values to warning and critical thresholds to 0 and 5% respectively to see what would happen. I was emailed with the expected critical alert. In looking at the top sessions on the server, I noticed that 1 session was eating up 100% of one cpu (which I want to know about) but the alert email said that 45% was utilized which I noticed was about what the user load is on the server.
Initially, I had the warning and critical threshold set to 85 and 95% respectively but did not get any warning about a user process that was taking up 100% cpu for > 5 minutes (in which the 5 minute collect times were set to once).
My questions are
1) How do I capture a single process eating up > 90% cpu in a multi-cpu environment
2) Is the cpu utilization % capturing the Average Load of the cpus on the server and alerting when it's above the critical threshold?
3) How is the cpu utilization % calculated?
Help would be appreciated.

The cpu load is determined by running the Grid program nmupm found in $AGENT_HOME/bin
The output is like:
dbc12ykf: PDBGRP> nmupm osCpuUsage
em_result=1|206331806.000000|201540370.000000|102524043.000000|958620752.000000
em_result=2|212731589.000000|201203614.000000|67775500.000000|948506267.000000
em_result=3|212402913.000000|230642957.000000|76833167.000000|917779040.000000
em_result=4|242543014.000000|367865067.000000|81554006.000000|791426607.000000
You will get a line for each cpu.
YOu'll need a bit of reverse engineering to figure out the columns - I think they are user, system, idle , 5min avg - Multiplied by 10000 ?
Now to capture a big one - I think you will need a user defined metric. Just write a simple shell script to run the above command, and evaluate the numbers coming thru.

Similar Messages

  • How to reduce CPU utilization time in Java Application

    Hi,
    I have created a Java Application. It is a 3-tier architecture. While running my Java application, the CPU utilization percentage shots up to 100 %. I feel that it will affect the system performance and it will hang up the system also.
    If any body know the solution to reduce the CPU utilization or links, please post it.
    Thanks in advance.
    Kennedy

    I know Java class file must be interpreted by VM. but
    Visual Basic is also a language to be interpreted. Why
    it run faster than Java? As Java running speed is
    concerned, it's unwise to apply to the
    enterprise-level application. Now I can't endure Java
    running speed. I wander to know whether it is
    associated with operating system or not.1. Java is nto interpreted in modern (since 1997 or earlier) JVM's - it is compiled into machine code as it is executed via a JIT or a Dynamic compiler (like HotSpot).
    2. VB (5 and later) is also not truely interpreted - in fact it uses the same excellent native code generator used by Visual C++.
    3. Java is principally used these days for enterprise server-based systems where it performs extremely well - or extremely poorly as does C++ in the hands of people who don't know how to use it.
    4. Different JVM's (and in some cases the same JVM hosted on different OS's) perform at different speeds - your mileage will vary. The OS has little influence on the computational speed of java but can highly influence its network, disk and graphics performance, as does hardware configuration (local console versus X terminal - Swing sucks on X Term).
    Chuck

  • How to measure CPU utilization from Oracle AWR

    Hi All,
    How to measure the cpu usage % from the AWR reports.
    Oracle : 10.2.0.3
    OS : AIX 5300-12-02
    I see the top 5 waited events listing CPU time in it.
    Top 5 Timed Events Avg %Total
    ~~~~~~~~~~~~~~~~~~ wait Call
    Event Waits Time (s) (ms) Time Wait Class
    CPU time 98,655 40.0
    Is it mean that the CPU utilization is full to its 100%. Is there any other way to measure how much an oracle instance is utilizing the CPU ?
    Please advice.
    TIA,
    Nv

    Hi,
    Check this script, if possible run in toad.
    col LastCallET format 99,999
    col cpumins format 99,999
    col status format a1 trunc
    col module format a20
    col username format a15
    col logontime format a12
    col machine format a15 trunc
    col sid format 9999
    select * from (
    select 'P',s.sid, s.status, t.value/100/60 cpumins ,
         floor(last_call_et/60) "LastCallET",
         to_char(s.logon_time,'mm/dd hh24:mi') logontime,
         s.username,s.process, p.spid, s.module , s.machine, s.sql_hash_value
    from v$sesstat t, v$session s, v$process p
    where t.statistic# = 12
    and s.sid = t.sid
    and s.paddr = p.addr
    and s.type = 'USER'
    and s.sql_hash_value != 1425819161
    union
    select 'N',s.sid, s.status, t.value*-1/100/60 cpumins ,
    floor(last_call_et/60) "LastCallET",
    to_char(s.logon_time,'mm/dd hh24:mi') logontime,
    s.username,s.process, p.spid, s.module , s.machine, s.sql_hash_value
    from v$sesstat t, v$session s, v$process p
    where t.statistic# = 12
    and s.sid = t.sid
    and s.paddr = p.addr
    and s.type = 'USER'
    and s.sql_hash_value != 1425819161
    and t.value < 0
    order by 4 desc)
    where rownum < 11
    Regards,
    Satya.

  • How to check CPU % Utilization with SNMP

    We are using Ipswitch's What's Up Professional 2006 to monitor devices on our network. Their default snmp graphing utilities use the HOST RESOURCES MIB to collect and graph system performance statistics over time. I have them running perfectly on all my Windows servers, but for my Solaris systems I am only able to retrieve Memory, Disk, and Network Interface statistics. The CPU monitor is unable to retrieve data from our Solaris systems. A typical system is running Solaris 10 with the default agent, NET-SNMP version 5.0.x. Does anyone know if the default agent supports checking CPU usage in the HOST RESOURCES MIB? If not can anyone point me to a different MIB & instance that will return % CPU utilization of a Solaris 10 server? Any input would be greatly appreciated. I've searched everywhere for the solution but I am unable to find any straight-forward answers, hopefully someone can help.

    Hi
      You can do it via  T Code ST02.I am sending you a link hope it help you
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/02/96263e538111d1891b0000e8322f96/content.htm">Check this</a>
    Rewards point if helpful
    Thanks
    Pankaj Kumar

  • How to over come jlaunch process High CPU utilization

    Hi ,
    I am facing problem in Poratal Production system
    Jlaunch process consuming more CPu utilization, Can you suggest me How to overcome this problem with out restart server
    regards,
    Balaram

    Hi,
    This is because of parameters of your J2ee engine are not optimized. Check SAP 723909 Java VM settings for J2EE 6.40/7.0 Prerequisite for performance optimization
    Thanks
    Sunny

  • How to get alert for app server that experienced high memory and CPU utiliz

    Hi
    How to get  alerts configured and turned u201Conu201D for the  app server that experienced high memory and CPU utilization?
    And let me know where we can check this?
    Regards,
    Neni

    hi,
    Have you configured a Central Monitoring System (CEN)? This includes registering the agent on the CEN, starting it and configuring the Central Auto Reactions on CEN using RZ21 transaction.
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/05c80724d63836e10000000a42189b/frameset.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/05c80724d63836e10000000a42189b/frameset.htm]
    Jansi

  • How to find the CPU utilization from the portal front end

    HI Guys,
      I want to find the CPU utilization from the portal front end browser screen.Can you please let me know how to find this and also the path to find it.
    And how to find the CPU utilization from the server.What is the command to find the CPU utilization at unix level.
    Regards,
    Krishnam.

    hi you can create transient field in view object indicate to visibility of row (boolean ) and create view criteria that show only rows that are able to be visible according to transient attribute and at the update process set the attribute to true inside entityImpl class

  • How to find CPU and Memory Utilization

    Hi,
    How to find CPU and Memory Utilization of my application which is
    running in solaris workstation.My application has a management console in which we need to update the cpu and memory periodically.
    (Notr : Usage of JNI is restrcited)
    Thnx and Rgds,
    Mohan

    There is no CPU usage API in Java. You need some JNI code. For memory usage see the Runtime methods:
         * Get information of memory usage: max, total, free and (available/used).
         * <ul>
         * <li>Max is the maximum amount of bytes the application can allocate (see also java options -Xmx). This value is fixed.
         * If the application tries to allocate more memory than Max, an OutOfMemoryError is thrown.
         * <li>Total is the amount of bytes currently allocated from the JVM for the application.
         * This value just increases (and doesn't decrease) up to the value of Max depending on the applications memory
         * requirements.
         * <li>Free is the amount of memory that once was occupied by the application but is given back to the JVM. This value
         * varies between 0 and Total.
         * <li>The used amount of memory is the memory currently allocated by the application. This value is always less or equal
         * to Total.
         * <li>The available amount of memory is the maximum number of bytes that can be allocated by the application (Max - used).
         * </ul>
         * In brief: used <= total <= max
         * <p>
         * The JVM can allocate up to 64MB (be default) system memory for the application. If more is required, the JVM has to be started with the Xmx option
         * (e.g. "java -Xmx128m" for 128 MB). The amount of currently allocated system memory is Total. As the JVM can't give back unallocated memory
         * to the operating system, Total can just increase (up to Max).
         * @return Memory info.
        static public String getMemoryInfo() {
            StringBuilder sb = new StringBuilder();
            sb.append("Used: ");
            sb.append(toMemoryFormat(getUsedMemory()));
            sb.append(", Available: ");
            sb.append(toMemoryFormat(getAvailableMemory()));
            sb.append(" (Max: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().maxMemory()));
            sb.append(", Total: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().totalMemory()));
            sb.append(", Free: ");
            sb.append(toMemoryFormat(Runtime.getRuntime().freeMemory()));
            sb.append(")");
            return sb.toString();
        }//getMemoryInfo()

  • How to display CPU and memory utilization from ST06 in a report

    Hi,
    I want to display CPU Utilization and Memory utilization and File sys details from ST06 transaction in a report.
    Is there any function module or any other method to do that.
    Please advice.
    Thanks,
    Sandeep.

    Hi Ranganath,
    Thanks for your time.
    And thank you very much for the reply.
    Both the function modules are helpful.
    But can u also help me in getting the data of FileSys from ST06.
    Thankyou,
    Sandeep.

  • How to capture CISCO Switches / Routers CPU Utilization in MRTG

    Hi,
    I’m using CISCO Switches / Routers and wanted to capture the CPU Utilization of those devices in MRTG. Can anyone help me to get step by step information. Please.!

    Thanks Vinod..!
    I already have MRTG installed and monitoring link bandwidth utilization. Now, Wanted to capture the CPU utilization for those devices.  Can i know the configuration detail needs to be applied in MRTG / Routers or Switches.
    Provided URL don't have much detailed configuration needs to be done at both the side (MRTG / CISCO Devices). Please.
    Thanks,
    Tamil

  • How to monitor CPU load/utilization

    Hi
    We have an application which is deployed in a jboss server on solaris/windows. We need to monitor the system load and if the load exceeds certain threshold value then the application has to send out a notification (warning).Is there any java API available for the same.
    We do not intend to use "ManagementFactory.getOperatingSystemMXBean().getSystemLoadAverage()". as this doesn't exactly show the CPU utilization.
    We use jdk1.6.
    Any help would be appreciated

    load average is related to the queue length(prstat), where as CPU utilization is actual percentage of cpu utilization by the all the processes (vmstat).
    In the wiki page it was mentioned that load average would consider even the process in waiting state.
    [http://en.wikipedia.org/wiki/Load_(computing]
    Correct me if my understanding is wrong
    - Is there any third party tool which can be used for this purpose?
    Edited by: anusha_g on Oct 14, 2009 12:15 AM

  • Can we control user request w.r.t Memory and CPU utilization in Oracle 10g

    Dear All,
    We are having Production with Oracle 10.2.0.4 (5 Node RAC, 32Gb RAM each) running on RHEL5.2 with 12000 Users. We have some schema say FIN, HRMS, SALES, REPORT and many dedicated users for those schemas. We need to control the user request against these schema with respect to Memory (or CPU utilization)
    Suppose users using FIN schema can use Maximum 40 % of Total Memory, HRMS schema can use Max 20%, SALES can use Max 20% and REPORT can use Max 20%.
    Is it possible to create any Service in Server side to handle this type of scenareo or any existing service which can be customised to fullfil this?
    Please suggest me.......
    Thanks,
    Tusar
    Edited by: gohappy on Jan 27, 2011 5:59 AM
    Edited by: gohappy on Jan 27, 2011 6:00 AM

    JDBC 'applications' quite often don't use persistent connections, and often do not exit gracefully by calling 'exit' or 'disconnect'.
    This means the session will continue to exist.
    It also means, if you don't establish any form of connection pooling and/or dead connection detection, you can throw whatever amount of memory in the server, and you will continue to report
    'Now problems is coming'. Apart from crippled English, the general lesson any DBA should know is how these 'applications' operate, and, contrary to some, you can never ever fight problems caused by applications,
    by throwing memory and cpu at the problem.
    When I read your text, I also assume the application is not using PrepareStatement calls and not using bindvariables, this is why your 'application' is burning the CPU.
    Find those 'application developers', sue them, or better still : Beat them with a whip, and have them fix their 'crapplication'.
    Paraphrasing William Jefferson Clinton: It's the application, stupid!
    Sybrand Bakker
    Senior Oracle DBA

  • Which metadata table in the BODS repository has data about CPU utilization of every job that gets executed?

    I have to create a performance dashboard where I need to make a graph showing CPU Utilization for individual workloads. If every job corresponds to a particular workload, is there any metadata table that would contain how much CPU Utilization corresponds to a given job?

    If i am not wrong, AL_Statistics and ALVW_History will have details of memory utilization.

  • Custom report for TOP 10 CPU Utilization machines from any group in aggregation last seven days

    I want to create a custom report that contain list of TOP CPU Utilization of machines form any group.This report is create on last 7 days CPU utilization of all machine from a group.
    What  should be query for this report.

    Hi,
    Please refer to the links below:
    SQL Query for TOP 10 Average CPU
    https://social.technet.microsoft.com/Forums/systemcenter/en-US/8d9a2d0d-8761-4d1f-b194-b24aa65172e1/sql-query-for-top-10-average-cpu?forum=operationsmanagerreporting
    How to use Report Builder to create custom reports in SCOM 2007
    http://www.systemcentercentral.com/how-to-use-report-builder-to-create-custom-reports-in-scom-2007/
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Swiping causes spikes in CPU utilization.

    Using app to monitor CPU on iPhone 5 and iPad mini. Swiping causes spikes in CPU utilization from 5% to 65% for every swipe. Heavy swiping causes processor to run near 100%. Seems abnormal.
    Reduce Motion turned on.
    IOS 7.1
    Anything to make this not run so high? Battery drain seems much faster with just general usage.

    Hey Apple. This is likely a major issue with battery drain. Constant CPU spikes will cause the CPU to heat which increases battery drain. Swiping should not peg the CPU. I suspect it has to do with how The screen is rendered to the user.somebody needs to look into this from Apple. This is been an issue for at least the last few iOS versions.

Maybe you are looking for

  • How do I deselect the box "open internet files on the desktop", to allow me to open tiles only in METRO view?

    At some point or another I clicked "allow" for my firefox to cease opening windows in the app view of my Microsoft Surface Pro. They currently are only opening on the desktop view. How do i switch this back to the app view?

  • ASMM  - DB_KEEP_CACHE_SIZE

    Hello colleagues 10.2.0.2 - MS2003 SP2 I'm using ASMM and I like to pin a frequently scanned table to the KEEP buffer. The parameter DB_KEEP_CACHE_SIZE is per default 0. Do I have to change this parameter to the size of the object (at least) I like t

  • Delta load problem in 2lis_04_p_comp

    Hi I am using data sources 2lis_04_p_comp and 2lis_04_p_matnr in my report. When I am doing full load , data is matching with R3 but  during delta load , 2lis_04_p_comp is showing incorrect data. WHEN I RUN THE DELTA REQUEST,FOR SAME ORDER NUMBER,WE

  • E rec 600 - APPLY_DIRECTLY

    Hi All, We have upgraded 4.6c to ECC 6.0 SP11 (technical). We are in process of implementing E-recruitment for internal job postings. E-rec 600 is installed on the same server of ECC. We are using structural authorization profiles for all our employe

  • Error in notification- Wrong Code group displaying

    While creating Notification, we can assign codes for defect loc, def type and causes. After that, If I go in change mode of same notification, code group for defect type and causes are default taking as code group assigned for defect location. Also t