How can I have OEM's Metric numbers in PLSQL code?

Hi,
I have the following Metric numbers in the web based OEM:
CPU Used
Run Queue Length
Physical Reads (KB)
Redo Size (KB)
User I/O
System I/O
Network
Concurrency
Commit
I know above Metric numbers come from V$ tables such as: V$SESSION, V$SYSSTAT, V$SESSION_WAIT, V$SYSTEM_EVENT
Is there anyway that OEM shows me how exactly it gets these numbers, so I can have the very same number in my PLSQL code?
Thank you,
Alan

Hi Justin,
I just used this query to find the “Run Query Length”:
select * from v$statname where LOWER(name) like '%queue%'
It gives me the following result:
enqueue timeouts     
enqueue waits     
enqueue deadlocks     
enqueue requests     
enqueue conversions     
enqueue releases     
global enqueue gets sync     
global enqueue gets async     
global enqueue get time     
global enqueue releases     
global enqueue CPU used by this session     
summed dirty queue length     
queue update without cp update     
queue splits     
queue flush     
queue position update     
queue single row     
queue ocp pages     
queue qno pages     
How could I find the relevant rows?
I am having a similar challenge to find values for “CPU Used” metric
Thank you,
Alan

Similar Messages

  • How can I have 2 versions of Numbers but only 1 app?  Read

    This is the weirdest thing I ever saw. It's driving me crazy and making me look like  fool.
    In an earlier post I mentioned that something happened to my numbers.  The window looked very different from this afternoon when I created 2 new spread-sheets.  I must have sounded crazy to qinn below in my answer.
    Now I clicked the Numbers icon in the dock and it opened to my original Numbers 09 (2.3).  So I tried to open a sheet I created a few hours ago and it says I can't open that file, I need a later version of Numbers. OMG
    Just a though so I opened the finder, went to the applications folder and I only have ONE Numbers.app.  So I clicked on that and low-and-behold the new 3.2.2 opened!!!!!!!
    How can I have 2 versions of numbers but only one app????  I thought I was going crazy.  Now I know something isn't right.
      HELP PLEASE!!!
    Allen

    Hi Allen,
    Look in your Applications folder for an other folder "iWork '09".
    Breathe.
    Know that you are not alone. Wayne made a user tip and it is not just for you.
    Need newer version of Numbers to open file
    quinn

  • How can I have all the numbers transfered from my old cellphone?

    In my old cell phone I have more than one number for each person: cell phone, land line, office etc. When I have transfered my telephone contacts from my old cell phone to my iphone, only one number for each name appears : how can I have all the numbers transfered?

    When transfer contacts through SIM only the first number is really transferred.
    What kind is your old phone?

  • Can anybody help me how can I get a 1000 contact numbers in an excel spreadsheet into Blackberry

    Can anybody help me I have just purchased a Blackberry curve 8900 and I want to know how can I get a 1000 contact numbers in an excel spreadsheet or note pad file into my phone, is there anyway of transferring the numbers across rather than me having to do it manually one by one, thanks
    Solved!
    Go to Solution.

    Hi and welcome to the forums!
    Origami?  
    You can transfer the excel spreadsheet in to a .csv file and import to Outlook.
    Or use desktop manager (see link below)
    Do you have these numbers on another device?
    What version of Windows, Outlook, desktop manager etc. are you using?
    Thanks,
    Bifocals
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB11194&sliceId=2&docTy...
    Message Edited by Bifocals on 06-02-2009 06:19 AM
    Message Edited by Bifocals on 06-02-2009 06:59 AM
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • How can I have one row for each object?

    Post Author: farnaz
    CA Forum: WebIntelligence Reporting
    I have 3 objcts that one of them is ID and second one is internal code and the third one is quantity.There is more than one value for each ID (becouse of internal code).I want to create a report based on ID and quantity (not based on internal code).I make a break on ID but the result shows me more than one row for each ID.so how can i have just one row for each ID?
    another question:
    how can I post screen shot of the results to my messag in forum?

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    farnaz:
    Have you tried to omit "internal code" from your grid?  In normal circumstances, if you have "ID" and "Quantity" on the grid, then WebI will on its own summarize Quantity based on ID, however, this is provided that Quantity has been set up as a measure (or metric).  The quickest way to tell if Quantity is a metric or not is to observe the color of its icon when you look at it in the data panel.  If it is a purple (or sometimes appears as pink or fuscia) dot, then it's a measure, but if it is a blue box then it is a dimension.  If you need Quantity as a measure then this will have to be modified at the universe (make it look like "sum(Quantity)" in the select phase of the object, and insure the object is defined as a number....

  • How can I have my servlet accept 100 concurrent client requests?

              My servlet extends HttpServlet so it is multithreaded. Then I have written a java
              client which starts 100 concurrent threads that try to contact the servlet.
              There are always lots of threads which are refused by the Weblogic Server 6.0.
              They get a 'Connection refused' exception. Sometimes there are 50 refused connections,
              sometimes there are 0 refused connections (not very often), sometimes there are
              80 refused connections (usually).
              I have checked the 'Servlet' documentation and the 'J2EE Design Considerations
              for Weblogic Server' which recommends not to exceede the execute thread count
              number of 15. I have not changed that value, I do not even know if it still exists
              in Weblogic 6.0 as the document refers to the 5.0 version.
              Does anybody know how to solve this problem? How can I have the client requests
              waiting rather than being refused? Of course the main goal is to serve all the
              client requests, not to refuse.
              This is the code that the client thread uses to contact the servlet:
              URL url = new URL("http://localhost:7001/examplesWebApp/myServlet");
              URLConnection conn = url.openConnection();
              conn.setDoInput(true);
              conn.setDoOutput(true);
              DataOutputStream os = new DataOutputStream(conn.getOutputStream());
              os.writeBytes()
              os.writeBytes()
              Thanks for your time,
              David
              

              The key is
              KKEY_LOCALMACHINE\SYSTEM\CurrentControlSet\Services\TCPIP\Parameters
              There you may need add a value "MaxUserPort" as REG_DWORD (5000 is default), also
              change "TcpTimedWaitDelay" to small number (30 is minimum). You may have trouble
              to find them. Just add them.
              You can also use Microsoft Web Application Stress Tool to test your Weblogic applications.
              As a free test tool, it is really powerful, although not so flexible.
              I guess you write your own test tool with java.net.URLConnection. I am not sure
              about the power of this class. In my case, I wrote my stress test tools with Java
              Socket. I can test application on Weblogic 6 with 1000 threads with my own tool
              and Microsoft tool, depending on memory and CPU of the machines I use. I run my
              tests on both Windows 2000 professional and Solaris.
              Check your CPU and memory usage with task manager.
              On the other hand, you should check log message on Weblogic 6. Try to turn on
              HTTP debug by add the following in your config.xml in tag <Server>.
              <ServerDebug DebugHttp="true" DebugURLResolution="true"
              JDBCConn="true" JDBCSQL="true" ListenThreadDebug="true" Name="myserver"/>
              "David Ruana" <[email protected]> wrote:
              >
              >Xiang, I really appreciate your help. I changed my Weblogic server configuration
              >from the console but I still experience the same problems.
              >
              >I start my 100 threads, and from about the 20th onward all them get the
              >'Connection
              >refused' exception in the URLConnection::getOutputStream() function,
              >always after
              >a successful URLConnection::openConnetion().
              >
              >My system is Windows 2000 Professional (Spanish version). I tried to
              >check the
              >open client socket descriptor limit but I was not able to find the TCPIP/MAXUSERPORT
              >in the registry. Do you know how is this entry called in Windows 2000?
              >
              >At this point I am not sure whether my problems are related to the Weblogic
              >server
              >or to the operative system. I will keep trying... I would appreciate
              >any other
              >suggestion.
              >
              >Thank you very much.
              >
              >
              >
              >"Xiang Rao" <[email protected]> wrote:
              >>
              >>It is better to use Weblogic 6 console to configure Weblogic server.
              >>In the console,
              >>there is tab Servers->myServer->Congiguration->Tuning, you can find
              >execute
              >>length
              >>and backlog.
              >>
              >>If you use Windows as test client, note Windows have a 5000 open client
              >>socket
              >>descriptors limit. You need change Windows Registry (TCPIP/MAXUSERPORT)
              >>to change
              >>this parameter.
              >>
              >>On the other hand, during test, you should monitor your test via Weblogic
              >>console
              >>(myServer->Monitoring->Performance), here you can see the change of
              >wait
              >>queue.
              >>If the queue keeps increaing, you are in trouble.
              >>
              >>Since you know how to use MBean, try to write customized (servlet, for
              >>example)
              >>to collect the following data: opened socket number, open socket number,
              >>opened
              >>session number and open session number. The two "open" numbers will
              >give
              >>you some
              >>clue. Also record your CPU and memory usage.
              >>
              >>BTW, what is the output you get from your test in terms of number of
              >>requests
              >>per second, response time and number of bytes downloaded/uplodaed per
              >>second?
              >>Are your test client and Weblogic running on the same machine?
              >>
              >>
              >>
              >>"David Ruana" <[email protected]> wrote:
              >>>
              >>>By the way, this is a piece of the config.xml file where you can see
              >>>my Server
              >>>configuration. It is the configuration which is installed in the examplesServer
              >>>in the free evaluation of Weblogic 6.0. I only modified the AcceptBacklog
              >>>value,
              >>>and added the ThreadPoolSize="15" line which was missing (I copied
              >from
              >>>the petstoreServer).
              >>>
              >>> <Server AcceptBacklog="1000" AdministrationPort="0" ClusterWeight="1"
              >>> ConsoleInputEnabled="false" DGCIdlePeriodsUntilTimeout="2"
              >>> DefaultProtocol="t3" DefaultSecureProtocol="t3s"
              >>> HttpdEnabled="true" JavaCompiler="C:\bea\jdk130/bin/javac"
              >>> ListenPort="7001" Name="examplesServer" NativeIOEnabled="true"
              >>>     ThreadPoolSize="15"
              >>> SocketReaderTimeoutMaxMillis="10"
              >>> TransactionLogFilePrefix="config/examples/logs/"
              >>> TunnelingClientPingSecs="45" TunnelingClientTimeoutSecs="40"
              >>>XMLRegistry="examplesXMLRegistry">
              >>> <ServerDebug Name="examplesServer"/>
              >>> <WebServer DefaultWebApp="DefaultWebApp_examplesServer"
              >>> LogFileName="./config/examples/logs/access.log"
              >>> LoggingEnabled="true" Name="examplesServer"/>
              >>> <Log FileName="./config/examples/logs/weblogic.log" Name="examplesServer"/>
              >>> <KernelDebug Name="examplesServer"/>
              >>> <SSL Enabled="true" ListenPort="7002" Name="examplesServer"
              >>> PeerValidationEnforced="0"
              >>> ServerCertificateChainFileName="./config/examples/ca.pem"
              >>> ServerCertificateFileName="./config/examples/democert.pem"
              >>> ServerKeyFileName="./config/examples/demokey.pem" TrustedCAFileName="./config/examples/ca.pem"/>
              >>> </Server>
              >>>
              >>>
              >>>
              >>>
              >>>
              >>>"Xiang Rao" <[email protected]> wrote:
              >>>>
              >>>>You only need to change Weblogic HTTP configuration. Give the server
              >>>>a big socket
              >>>>Backlog number. Since you test with 100 threads, you can think 1000
              >>>to
              >>>>5000, i.e.,
              >>>>1000 to 5000 requests will be in queue before got served. Aslo, you
              >>>might
              >>>>need
              >>>>to change your OS TCP/IP settings (both test clients and servers),
              >>such
              >>>>as maximum
              >>>>number of sockets and timeout value(so closed sockets will release
              >>socket
              >>>>descriptors
              >>>>immediately).
              >>>>
              >>>>On the other hand, the number of executive threads can be much larger
              >>>>than 15
              >>>>(50-200 is a normal number), depending on the features of your application.
              >>>>You
              >>>>can try your stress test tools to find a reasonable number by analyzing
              >>>>the relationships
              >>>>among (throughtput, response time, number of executive threads, etc).
              >>>>
              >>>>
              >>>>"David Ruana" <[email protected]> wrote:
              >>>>>
              >>>>>My servlet extends HttpServlet so it is multithreaded. Then I have
              >>>written
              >>>>>a java
              >>>>>client which starts 100 concurrent threads that try to contact the
              >>>servlet.
              >>>>>
              >>>>>There are always lots of threads which are refused by the Weblogic
              >>>Server
              >>>>>6.0.
              >>>>>They get a 'Connection refused' exception. Sometimes there are 50
              >>refused
              >>>>>connections,
              >>>>>sometimes there are 0 refused connections (not very often), sometimes
              >>>>>there are
              >>>>>80 refused connections (usually).
              >>>>>
              >>>>>I have checked the 'Servlet' documentation and the 'J2EE Design Considerations
              >>>>>for Weblogic Server' which recommends not to exceede the execute
              >thread
              >>>>>count
              >>>>>number of 15. I have not changed that value, I do not even know if
              >>>it
              >>>>>still exists
              >>>>>in Weblogic 6.0 as the document refers to the 5.0 version.
              >>>>>
              >>>>>Does anybody know how to solve this problem? How can I have the client
              >>>>>requests
              >>>>>waiting rather than being refused? Of course the main goal is to
              >serve
              >>>>>all the
              >>>>>client requests, not to refuse.
              >>>>>
              >>>>>This is the code that the client thread uses to contact the servlet:
              >>>>>
              >>>>>URL url = new URL("http://localhost:7001/examplesWebApp/myServlet");
              >>>>>URLConnection conn = url.openConnection();
              >>>>>conn.setDoInput(true);
              >>>>>conn.setDoOutput(true);
              >>>>>
              >>>>>DataOutputStream os = new DataOutputStream(conn.getOutputStream());
              >>>>>os.writeBytes()
              >>>>>os.writeBytes()
              >>>>>...
              >>>>>
              >>>>>Thanks for your time,
              >>>>>David
              >>>>>
              >>>>
              >>>
              >>
              >
              

  • How can I import vcard info into numbers?

    How can I import vcard info into numbers?
    Message was edited by: Clinker1122

    Yes, you should be able to. What have you tried, and what happened?
    Jerry

  • HT1338 I need to how can I have Mac OS Lion, as I bought my Macbook Pro in beginning of June 2011 from Apple Store US. The serial number of my product is C0*******H2M. Please confirm me that I can have it for free, and how could I install it. Many Thanks.

    I need to how can I have Mac OS Lion, as I bought my Macbook Pro in beginning of June 2011 from Apple Store in US.
    The serial number of my product is C0*******H2M. Please confirm me that I can have it for free, and how could I install it. Many Thanks.
    <Edited by Host>

    Sorry, but that opportunity has long passed. Your options now are:
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer)
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
             3. MacBook Pro (Mid/Late 2007 or newer)
             4. MacBook Air (Late 2008 or newer)
             5. Mac mini (Early 2009 or newer)
             6. Mac Pro (Early 2008 or newer)
             7. Xserve (Early 2009)
         Are my applications compatible?
             See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
         Am I eligible for the free upgrade?
             See Apple - Free OS X Mountain Lion upgrade Program.
         For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.

  • How can I have multiple users on iTunes (in order to connect to a shared office iPad)?

    How can I have multiple users on iTunes (in order to connect to a shared office iPad)? Currently each of us has our own iTunes account, so I've made an "all office" Apple ID. However, I can't seem to get two different accounts (my personal and the office) to work on my machine. Even when I login as "the office", my personal library is still showing. Additionally, when I try to setup with a first-time use in iTunes, I get an error that I don't meet the minimum age requirement - no matter what birthdate I enter!

    The library exists regardless of which user is logged in.
    The only way around that is to create different user accounts on the computer.
    There is no way to have 20 unique iTunes users access a shared iTunes under a single login on the computer.

  • I have OSX Maverick on an iMac using Outlook e-mail.  PDF attachments are included in the e-mail  as the whole document rather than just the PDF icon.  How can i have just the PDF icon as an attachment?

    In Outlook my PDF attachments appear as whole documents and not just the PDF icon.  How can I have attachments included as PDF icons and not the documents?

    For your own viewing, you can of course control-click on the attachment and select "View as Icon".
    For others' viewing, it depends upon their email reader.  To ensure that attachments are not displayed expicitly you can put them all in a zip file (via control click and "Compress") then attaching them, or you can use third party stuff like Attachment Tamer.
    charlie

  • On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom new document in order to open one. How can i have directly a new document when i click on pages icon

    On my mac when i click on pages, a new document doesn't open instantly  but a window with my files open and then  have to click on the left bottom < new document> in order to open one. How can i have directly a new document when i click on pages icon

    How to open an existing Pages document?
    Click Pages icon in the Dock to launch Pages.
    When Pages is open, click File menu in the  Pages menu bar.
    Select “Open”.
    When the select document  dialog box opens up, highlight/select the document and click “Open”
    at the bottom right corner of the dialog box.
    s
    https://support.apple.com/kb/PH15304?locale=en_US

  • How can I print address labels from numbers spread sheet

    How can I print address labels from numbers spread sheet

    CAB,
    The 5163 template has the following dimensional specs:
    Dimensions & Info
    Length: 4.00000"          Height: 2.00000"
    Top Margin: 0.50000"          Bottom Margin: 0.50000"
    Left Margin: 0.18000"          Right Margin: 0.18000"
    Hor. Spacing (gutter): 0.14000"          Vert. Spacing (gutter): 0.00000"
    Intended Use: Mailing Labels, Shipping Labels, Address Labels
    There's a great vendor site with this data readily available, better than the Avery site in my opinion. But, you can get the same info in the Contacts Print dialog pane.
    You can grab a template matching these dimensions from that vendor site, Copy the table after opening the Word Template in Pages and drop the into a blank Numbers Sheet.
    I found that Sheet side margins of 0.15" worked better than 0.18. For some reason the table wanted to flow to the next page to the right with 0.18". Turning off the Headers and Footers and setting Top and Bottom Margins to 0.5" worked well. These adjustments are made in the Sheets Inspector.
    So, that will put the template you specified into a Numbers document and you can print labels properly aligned from there. Since your problem statement is a bit lacking in detail, that's all I can offer you at this point.
    Jerry

  • How can I print sheet titles from Numbers?

    how can I print sheet titles from Numbers?

    Hi Rick,
    "Believe it or not, Numbers just doesn't work as well for me as Excel."
    I don't find that difficult to believe. If you need the functions supported by Excel and not by Numbers, then Excel is the tool to use. OTOH, your finding of 'more flexible' translates, at least in part to 'more familiar.' All applications, Excel included, force you into certain paths.
    Regards,
    Barry

  • How can I have two itunes accounts on one computer?

    How can I have two itunes accounts on one computer?

    Not sure what you mean.
    An account is a user name and password.
    Sign into whichever account you want to use for purchasing.
    Authorize the computer for both account to listen to the content.

  • How can I have two different windows up on one screen at the same time?

    How can I have to different windows open on my screen at one time? Kind of like a split or shared screen.

    If you want this split screen thingy for a single app, do like captfred suggests or see if the app itself supports some sort of splitting, like MS Excel.
    If you want to do this system-wide, maybe you can get what you want by activating and using Spaces: http://support.apple.com/kb/PH4313

Maybe you are looking for