How to check the CPU usage in the database

How to check the CPU usage?

in Linux and database level


under Linux, you can use mpstat command, for example:

[[email protected] ~] $ mpstat Pei ALL 2 10
Linux 2.6.32 - 300.10.1.el5uek (vSLLGM132) 23.11.2014

14:27:08 CPU user nice sys % iowait % irq % sweet % fly % idle intr/s
14:27:10 all 1.00 8.50 9.00 0.00 0.00 0.50 0.00 1423,50 81.00
14:27:10 0 1.00 8.50 9.00 0.00 0.00 0.50 0.00 81.00 26.50

CPU utilization tracking can be done with the command SAR u.

At the database level: data dictionary views: v$ sysstat, v$ iostat, V$ SYSMETRIC_HISTORY.

Read the MOS Notes:

Diagnose hardware base caused by Performance issues (Doc ID 148176.1)

Troubleshooting: The use of high processor (Doc ID 164768.1)



Tags: Database

Similar Questions

  • How to check the database is created in the database of node 2 RAC

    Hi all

    Please allow questions maybe too obvious. I'm not familiar with RAC and ASM.
    virtual box (Windows 7)

    2 built nodes on Linux 6.1 Windows 64-bit virtual machine. software grid & database.
    One of DB name is demo
    Node1 (demo1)
    Node2 (demo2)

    1. I installed the grid software and set up ASM with her. The installation seems to succeed.

    I am able to use view state using crsctl (see the log)

    2. I installed the database software and you want to create a database (demo) by default. the software from 95%, but not able to realized the dbca.

    I see that the asm_pmon is running, but not able to see the process of demo db. I think at this point, I don't have my demo of database has been created yet.

    Yes, question
    1: is the database created?
    2. I try to use dbca to create my demo db, but at the stage of creation of the 'copy of the database files' - she complaint ORA-03114: not connected to ORACLE
    ???? What? What oracle server trying to connect?
    3. If the database is created, how to start the database, in particular it has 2 instances (demo1 and demo2)?

    Please advise!

    Thank you very much!

    [[email protected] ~] $ crsctl stat res t
    Local resources
    ORA. DATA.dg
    Demo1 ONLINE
    Demo2 online
    ORA. LISTENER.lsnr
    Demo1 ONLINE
    Demo2 online
    Demo1 Started online
    Demo2 Started ONLINE
    ORA. GSD
    In offline mode offline demo1
    Demo2 offline offline
    Demo1 ONLINE
    Demo2 online
    Demo1 ONLINE
    Demo2 online
    Cluster resources
    1 demo1 ONLINE
    1 demo1 ONLINE
    1 demo2 online
    ORA. CVU
    1 demo1 ONLINE
    ORA. OC4J
    1 demo1 ONLINE
    1 demo1 ONLINE

    Published by: 969880 on November 13, 2012 14:18

    1. What is sure, is that your database is not registered in OCR because there are missing elements in crsctl stat res t exit for database instances.
    2. default DBCA trying to restore an RMAN backup to create a database. DBCA probably also try to connect to the new instance of the database to run scripts.
    3. you must use:

    srvctl start database -d demo

    This should start all database instances.

    But first try to check the DBCA logs that should be under $ORACLE_HOME/cfgtoollogs/dbca and to correct related errors.

  • How to check the database pending?


    How to check if standby DB is used in Oracle I just want to know the initialization parameters that must be defined for the destinations journal archive.

    OS - AIX 3 4



    Don't know if you are interested, but this seems to be the list:

    Best regards


  • Satellite A200 - how to check the temperature of the processor fan?

    Hi all

    I have a Satellite A200 that my teenagers use a little, or abuse a little! Recently, it would not start up. I suspect the fan and pulled out the fan cleaned and tested the fan on a PSU, worked out well. He put it back together, ran startup repair and now the computer is operating normally. The fan is however not appear to come at all. In the Device Manager it tells me it works very well. I'm all good with the mechanical side of the House, but I'm a quamby operating system! How to check the temp CPU or fan?

    Thought that replace the fan but don't want to go that far just to get no results. Currently using the vacuum on low like an external fan and didn't want to just run the laptop with no cooling for fear of permanent damage. Although children watch movies with her on their doona may have already reached this!

    Any advice would be appreciated.

    Hey mate,

    How to clean the fan exactly? It s advisable to use the jet of compressed air. This could blow the dust of fans cooling and, therefore, it of not necessary to disassemble the laptop.

    In addition if the fan doesn't work anymore it of necessary to replace. You can order spare parts at an authorized service provider.

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

  • How to check the balance on the gift card itunes

    How to check the balance on the gift card itunes

    Redeem it

  • How to check the print queue in Windows 8

    Difficulty controlling the queue with your new Windows 8? Here's a great video on how to do it:

    Hope this helps to understand how to check the print queue in Windows 8. If you have problems, let me know, I'll see what I can do to help.

  • HP Photosmart 7525: How to check the version of the firmware of the HP PhotoSmart 7525 is up-to-date?

    How to check the version of the firmware of the HP Photosmart 7525 is up-to-date? And where can I go to download the latest firmware?


    Follow these steps to check the update of firmware for your printer:

    Note: the printer must be connected to your network to check the updates, if it is connected with a USB key follow the steps in the tehse to connect the * beep * to your wireless network:

    1. In the wireless menu, tap Settings.

  • How to check the size of the file to a text file.

    How to check the size of the file to a text file.

    Please explain to me.

    I'm new in LabVIEW. and have no idea about that...;

    Hi prashant,

    go to the file e/s palette and then the advanced palette which is a search palletteand sub but this function gives the result in bytes...

    Thank you and best regards,


  • HP G42 notebook: how to check the heat sensor

    my laptop fire but there is no system message...

    and performance down... could be heat sensor not properly detect...

    How to check the heat sensor...

    my laptop G-42-355tu

  • How to check the use of the ram?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    I have 3 GB of ram on my pc, and I want to know how to check the use of the ram in xp pro? is the use of FP in taskmanager? or (k) of the kernel memory?

    Yes, Yes... and no. All applications on your computer uses RAM, not only the pagefile or system (kernel).

    What are you really trying to do?

    See , especially the part under "How Pagefile your system use?"

  • How to check the manufacturing date of the Z2?

    Hello, so the title sums up pretty much everything this. On the previous xperia phones, you can check under the battery, with xperia Z, that it was written on the back at the bottom but on Z2? How to check the date of manufacture?

    Hello and welcome to the community! Since you are new, please make sure that you have checked our Forum.

    This label can be found in the MicroSD slot, click on the following link:

  • How to check the manufacturing date of the Z3 Compact?

    How to check the manufacturing date of the Z3 Compact?


    Simple, pull on the flap of the IMEI and search for 14W__

    The first 2 digits are for the year and the last 2 digits are the week

  • How to check the firmware version?


    How to check the version of firmware on my device?

    Help, please!

    Thank you

    Hello mohsen122002,

    Hope that this page will help you.


  • How to check the type of memory installed (ECC or not)?


    I have some servers Dell PowerEdge R420 and I want to upgrade memory, install more...

    How to check the type of memory installed (ECC or not)?

    Dmidecode output here:


    Unfortunately, we are not able to open the link you have provided. You can display information about your memory on the web iDRAC under hardware and memory interface. You see the type of error correction (ECC or Non ECC) within the information memory page. You can also view the same information on OpenManage Server Administrator and even make use of the memory part number to find out more information.

Maybe you are looking for

  • Re: What battery delivered with the Satellite P300 series

    Does anyone know what battery the P300 comes with standard because it has only a 2.6 hours of battery life?The battery provided in the list of accessories is a 9 cells 6000mAH one and I need to know if it's a higher capacity or the same.

  • Fix my borked hybrid MBR

    Hi all! Black Friday, I yielded to the pressures of consumerism and bought an SSD for my MacBook. I cloned my 500 GB HDD, complete with partition, Bootcamp, more for the 480 GB SSD with Macrium Reflect. I guess that since he was cute in the Windows (

  • How can I load Variables into a file?

    Hello I'm looking for ways to automatically load variable FileGlobals used in all sequences of my "Test sequence: Test sequence | | -Sequence 1 | -Sequence 2 | -- ... | -Sequence N in order to only change the file .txt, .csv (or .xls...). Thank you.

  • property node

    HI (sorry for my English) I have the problem of monitoring: I have a vi that makes measurement it download a cluster with inside some indicators of number and a photo, I create a property node and a control for the cluster reference. In my main vi I

  • Too small fonts on web pages with a computer 17 "widescreen laptop

    I have a HP Probook 4710 17 "and if I use the native screen resolution of 1600 x 900 on web pages font sizes are too small. I need to make my software demonstrations to potential customers, so it is a problem. If I play with the resolution I can do 1