Ask about the 'top' of Linux on Linux for oracle user command

It's the output of the 'top' command in one of my linux server hosting an Oracle instance with SGA 600 MB and 400 MB PGA. One instance is in this server.


Top - 14:36:37 04:26, 3 users, load average: 0.05, 0.11 0.28
Tasks: 124 1 total, running, 123 sleeping, 0 stopped, 0 zombie
CPU: 0.2% us, sy 0.1% 0.0% ni, 66.6% id, 33.1% wa, 0.0% Hi, 0.0% if
MEM: 12299332 k total, * 2569836 k * used, 9729496 k free, 61288 k buffers
Swap: 20972816 k total, 0 k used, 20972816 k, 2274852-free updated k cached

PID USER PR NOR VIRT RES SHR S % CPU % MEM TIME + COMMAND
6345 oracle 16 0 37132 1752 1172 S 0,0 0,0 0:00.08 sshd
6346 oracle 16 0 54004 1536 1208 S 0,0 0,0 0:00.02 bash
6423 45376 0 16 10 oracle m 6228 S 0.0 0.1 0:00.25 tnslsnr
6471 oracle 16 0 740 m 17 m 13 m S 0.0 0.1 0:00.02 oracle
6473 oracle 16 0 739 m 15 m 12 m S 0.0 0.1 0:00.01 oracle
6475 oracle 16 0 739 m 32 m 29 m S 0.3 0.0 0:00.07 oracle
6477 oracle 16 742 m 0 50 m 44 m S 0,0 0,4 0:00.27 oracle
6479 oracle 16 754 m 0 23 m 19 m S 0.0 0.2 0:00.43 oracle
6481 oracle 16 0 739 m 24 m 20 m S 0.0 0.2 0:00.61 oracle
6483 oracle 16 740 m 0 88 83 m m S 0.7 0.0 0:00.71 oracle
6485 oracle 16 0 739 m 22 m 19 m S 0.0 0.2 0:00.01 oracle
6487 oracle 16 0 740 m 30 m 25 m S 0.3 0.0 0:00.15 oracle
6489 oracle 16 741 m 0 55 m 48 m S 0.0 0.5 0:00.29 oracle
6491 oracle 16 0 739 m 24 m 20 m S 0.0 0.2 0:00.01 oracle
6493 oracle 16 0 739 m 15 m 11 m S 0.0 0.1 0:00.01 oracle
6495 oracle 16 0 739 m 14 m 11 m S 0.0 0.1 0:00.00 oracle
6622 oracle 16 739 m 0 m 16 m 13 S 0.0 0.1 0:00.00 oracle
6626 oracle 16 740 m 0 79 74 m m S 0.7 0.0 0:01.95 oracle
6636 oracle 16 0 740 m 28 m 23 m S 0.0 0.2 0:00.06 oracle
6638 oracle 16 0 739 m 16 m 12 m S 0.0 0.1 0:00.01 oracle
6846 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.02 oracle
6848 oracle 16 0 739 m 24 m 21 m S 0.0 0.2 0:00.04 oracle
6850 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.02 oracle
6852 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.01 oracle
6854 oracle 16 0 739 m 30 m 26 m S 0.3 0.0 0:00.12 oracle
6856 oracle 15 0 739 m 28 m 24 m S 0.0 0.2 0:00.18 oracle
6858 oracle 15 0 740 m 40 m 35 m S 0.3 0.0 0:06.39 oracle
6862 oracle 16 0 739 m 32 m 28 m S 0.3 0.0 0:02.25 oracle
6864 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.02 oracle
6866 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.03 oracle
6868 oracle 16 0 739 m 19 m 16 m S 0.0 0.2 0:00.02 oracle
7480 oracle 15 0 37264 1668 1092 S 0,0 0,0 0:00.15 sshd
7481 oracle 15 0 54004 1528 1196 S 0,0 0,0 0:00.05 bash
10333 oracle 16 0 739 m 20 m 16 m S 0.0 0.2 0:00.00 oracle
10337 oracle 15 0 6168 1080 768 R 0,0 0,0 0:00.00 top

RAM total as seen from the high command is 12G.
* 2569836 *-total RAM that is currently used.

How I see the total RAM used by all Oracle processes running on that server. The server is Linux X 86 64 bit. I can summarize the values under the column 'VIRT' command 'top' to see the total RAM used?

Is it possible to see the total RAM and CPU used by top Oracle?


"VIRT" is the virtual memory - what is related to the figure above, which is the physical memory (RAM)?

Thanks in advance
SSN

Published by: SSNair on October 21, 2010 02:39

Oracle used shared memory to implement the CMS, which was the largest consumer of memory of the Oracle instance. The problem is that in of many modern operating system, including linux, it is difficult to define the use of memory real fo software. This is because the memory used by a process consists of shared (for example, shared memory, shared library, executable code) and private components (for example, the heap, stack). Utilities such as top, ps, etc. provides all the visible memory through a process, regardless of whether or not it is shared. Accordingly, the total amount of VIRT etc. will be inflated by shared components. A more accurate figure of the use of memory, shared memory / library / code should be counted once.

Before 11g, Oracle used System V ipc, and it is possible to control the amount of memory allocated by using IPCS. 11 g, Oracle passed to/dev/SHM, use df to check memory allocation. (Thanks user11150436)

The figure of "Mem used" in the upper part is the actual use of memory: shared memory and the library are not counted multiple. However, Linux always puts in cache (read before actually requested) and disk i/o buffer (writing after completion of signaling). Therefore, "Used Mem" is almost always of very nearly the amount of physical memory. "Used Mem' - 'buffers' - 'cached' reflects the memory actually used by the operating system and all the programs most accuately.

And you can use the pmap utility to check the memory card. Can classify you the use of memory sharable and unsharable to calculate a more accurate result, adapted to your need. You need knowledge of OS to understand the output.

Tags: Database

Similar Questions

  • Ask about the structured storage of XMLTYPE column in Oracle Xml db

    Dear all,

    Version of DB: Oracle 11g (11.2.0.3.0)

    I have a table with an XMLTYPE column with a structured storage.

    CREATE TABLE Orders
        (
        Order_id NUMBER NOT NULL,
        Order_etc VARCHAR2(100),
        Order_desc XMLType NOT NULL
        )
        XMLTYPE Order_desc STORE AS OBJECT RELATIONAL XMLSCHEMA  "http://localhost/public/xsd/order_desc_xsd.xsd" ELEMENT "OrderState";
    

    I then recorded the XSD XML Db schema that is required for the structured storage.

    Before the creation of the table, I had created a table XMLTYPE (db_objects) and was able to use the query to verify that all objects, the XMLTYPE table got broken into when I signed his XSD below.

        SELECT column_name,      
               data_type
        FROM   user_tab_cols
        WHERE  table_name = 'DB_OBJECTS';
    

    And used under query to find data stored in the object-relational structure for my table (DB_OBJECTS) created with definition of XMLTYPE.

      SELECT EXTRACTVALUE(xseq.column_value, '/THISROW/OWNER')       AS owner
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/OBJECT_NAME') AS object_name
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/OBJECT_TYPE') AS object_type
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/OBJECT_ID')   AS object_id
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/CREATED')     AS created
        FROM   db_objects do
         ,      TABLE(XMLSEQUENCE(EXTRACT(VALUE(do), '/ROWSET/THISROW'))) xseq  
        WHERE  ROWNUM <= 10;
    

    Now could someone let me know, How to find how the column of XMLTYPE (Order_desc) was divided between other objects, just as I did for the Table with XMLTYPE (as shown above)?

    Thank you very much.

    First of all, because you are on 11.2, ExtractValue is obsolete and the documentation lists three options to use instead.  Here's an (untested) option

    SELECT owner, object_name, object_type, object_id, created
      FROM db_objects do,
           XMLTable('/ROWSET/THISROW'
                    PASSING do.object_value
                    COLUMNS
                    -- Set data types accordingly
                    owner        VARCHAR2(20) PATH 'owner',
                    object_name  VARCHAR2(20) PATH 'object_name',
                    object_type  VARCHAR2(20) PATH 'object_type',
                    object_id    VARCHAR2(20) PATH 'object_id',
                    created      VARCHAR2(20) PATH 'created');
    

    Secondly, why the column order matter?  You store in a method of object / relational.  As long as the XML is valid per the schema, Oracle will be able to store the data and thus to retrieve later.  How these data are mainly internal Oracle and shouldn't be touched because it can be changed from one version to another.  You can use the schema annotation to control how Oracle cards and stores the XML content, but nothing in there specifies the column order I know.

    It seems several details are missing information which could help others to answer your question as to what you need.

  • Question about the structure of logical storage Foundation for Oracle: blocks and lines

    Version: 10 g 2, 11G

    Question1.
    An oracle block (say an 8 k or 16 k block) can contain multiple lines. Right?

    Question2.
    Each row stored in an oracle block is referred to as a piece of line in the terminology of the Oracle. Right?

    Hello

    Question1.
    An oracle block (say an 8 k or 16 k block) can contain multiple lines. Right?

    Years: Yes, in a block oracle, there may be more than one rank that oracle 10 g or 11 g is not serious.

    Question2.
    Each row stored in an oracle block is referred to as a piece of line in the terminology of the Oracle. Right?
    Rep. : Yes, you are right.

    The link below will better answer you on this question.

    http://download.Oracle.com/docs/CD/B13789_01/server.101/b10743/schema.htm

    Best regards

    Rafi
    http://rafioracledba.blogspot.com/

    Published by: Rafi (Oracle DBA) on March 29, 2010 06:37

  • I already bought the annual plan, I have installed PS, but I can't open the LR, he keeps asking about the serial No.

    I already bought the annual plan, I have installed PS, but I can't open the LR, he keeps asking about the serial No.

    isn't the annual plan for ps and lr?

    Download LR you remove and reinstall your installation of Photoshop Lightroom 5?  Licensing for your membership apply to Lightroom if you install through the creative Cloud Desktop application.  You can find more details at install and update the apps - https://helpx.adobe.com/creative-cloud/help/install-apps.html.

  • The CPU is not powerful enough for Oracle database 11g?

    The CPU is not powerful enough for Oracle database 11g?

    I installed the datatase Oracle 11 g on my host by using the default configuration of oracle yesterday. Today, I find some the alert message: "CPU usage is 86,79%, through attention (80) or critical (95) threshold.» The average value of the CPU usage is 80.85% and I have to wait for more than 10 seconds for opening a page of the EM.
    My host is HP workstation xw4200. CPU is 3.4 GHz. No other applications on that host.
    I want to know: what is the main reason for the shortage of CPU resources? Because the database Oracle 11g itself is exhausting CPU or because there are a few configuration issues?

    qkc wrote:
    1 is it true that most of the CPU is exhausted by the EM control tool?

    It's quite possible.

    It is also one of the reasons why we encourage people to drop EM Database Console and switch to EM Grid Control. The burden is then on another server.

    2. why this index has been added in advance by Oracle Corporation? It does not seem that each tool is set up perfectly in advance.

    It was probably not required under ideal conditions, in which it has been designed and tested.

    Why is your environment not identical to the designed conditions that use Oracle? ;-)

  • Ask about the feature find my phone

    Hello Apple support Team,

    I have a question about the find my iPhone feature which is as follows.

    -If I had put in place the "find my phone" feature when I bought the iPhone and did not open at all in 2-3 months. So that the disconnection of the app itself?

    I ask this because my phone got stolen yesterday and looking for opportunities that could have gone wrong.

    On my laptop, I'm always a corner of yesterday in front of https://www.icloud.com/#find to find the location, but its doesn't help not.

    (PS: this my second time that find my iPhone is not useful for me, I really wish that Apple must lock the turning the option off when the phone is in mode Code (lock mode))

    Waiting for your response.

    Thank you

    Ravi

    If you enable find my iPhone, it will be on except if you have disabled (requires your password to iCloud).  The location will only show if the phone is connected to a network and still has the power.

  • Migration of the EBS of Linux for Solaris SPARC

    Hello

    We intend to migrate Oracle EBS 12.1.3 / 11.2.0.2.0 Linux for Solaris SPARC. and configure RAC and HA in the Solaris box.

    Please suggest this migration flow.

    Thank you

    Anil

    Hi Anil,

    Please see:

    R12.1.1: Oracle eBusiness Suite Installation and upgrade version Notes 12 (12.1.1) for Oracle Solaris on SPARC (64-bit) (Doc ID 761568.1)

    R11i / R12: Oracle eBusiness Suite upgrades and Platform Migration (Doc ID 1377213.1)

    Database

    Using Transportable Tablespaces for EBS Version 12.0 or 12.1 using Database 11 GR 2 (Doc ID 1311487.1)

    Process of 12.0 and 12.1 using 11 GR 1 material or 11 GR 2 import/export (Doc ID 741818.1)

    Application

    Migrating applications platform with Oracle E-Business Suite Release 12 (Doc ID 438086.1)

    Once you migrate the application/database, configure using the RAC:

    With the help of Oracle Real Application Clusters 11 g Release 2 with Oracle E-Business Suite Release 12 (Doc ID 823587.1)

    Thank you

    Hussein

  • To generate the DSO in Linux Box Oracle 11g

    Hi all

    I have a Linux machine with the below configurations: -.

    Linux 2.6.18 - 194.el5 #1 SMP blrulvremoradb02 kills Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

    The last time my UNIX admin made a partition in this area. I have 100 GB LUNs assigned to this box which is spilitted by two mounting points.

    / U01 is seen 30 GB and / U02 is to have 70 GB. I want to build a DSO in this box and install Oracle 11.2.0.1, and for this I need raw disk.

    Are there useful links or can you guide me to achieve... My UNIX admin is on leave for the new year and I want to do it on my own...

    Help, please...

    Kind regards
    Aalami

    You must use a RAW partition. You only need to create a disk partition using fdisk, and then you "mark" that the disk using ASMLIB (oracleasm).

    Sample:

    fdisk /dev/sdd
    
    Command (m for help): u
    Changing display/entry units to sectors
    Command (m for help): n
    Command action
    e extended
    p primary partition (1-4)
    p
    Partition number (1-4): 1
    First sector (61-1048575, default 61): 2048
    Last sector or +size or +sizeM or +sizeK (2048-1048575, default 1048575):
    
    Using default value 1048575
    Command (m for help): w
    The partition table has been altered!
    Calling ioctl() to re-read partition table.
    Syncing disks.
    

    Mark using ASM

    /usr/sbin/oracleasm createdisk ASMDATA01 /dev/sdd1
    

    List of disk using the oracleasm

    /usr/sbin/oracleasm listdisks
    ASMDATA01
    

    Victor

  • Ask about the policy of replacement of defective parts under warranty (laptop)

    Hello. I had a laptop computer with a HARD drive 320, which became faulty (not totally, in fact) within 2 weeks of purchase. I turned it a HP service center and they got it replaced with a new job. Now everything works fine ATM, however I have noticed that my current HARD drive is a Western Digital while I remember that I had before the failure was a one Seagate. Now, I have a question about the HP replacement policy: is it possible to get another brand of HARD drive altogether in lieu of one that was part of the original shipment or should I have obtained one of the same company (Seagate) otherwise the same exact model of the HARD drive as a replacement?

    They replace it by what they have there at the time, any policy on this.

    This is a forum to a user, no employee of HP here, with the exception of the moderators of the forum.

    WD is currently better than Seagate in my opinion.

    .

  • Ask about the design of the system

    Hello

    I need to make a request that has the following requirements:

    1. The application begins with a screen that should be a list of say Supermarkets.I guess I must use ListField therefor (my assumption is correct?).
    2. When a user selects a supermarket, say KMart in the list, I want to show a list of departments of this supermarket.
    3. Select a Department from the list should show a list of products in the Department.
    4. Choose a product should show the details of the product.
    5. During all this navigation, I need to display a tab bar at the bottom of the screen. The tabs will be used to access the various features of the application such as the Search tab that can be used to search for a specific supermarket or a product. This tab bar must be visible at all times.
    6. I will use SqlLite as DB (wise decision or not?).

    So here's the scenario. Thanks for bearing with me so far. Now, here are the questions:

    • Can I move just a portion of the screen, i.e. the part that the list and not whole screen? I ask this question because I don't want the tab bar below to disappear no matter what.
    • Or, do I need to divide the screen into two frames, one for the bar tab at the bottom and one for the main content where lists will be displayed and whenever a list item are selected, I need to delete the current list and add the following list? Is this the right approach?

    If anyone has any suggestions as to how this problem should be addressed I can't wait you to read them.

    Much obliged.

    Hello

    My comments:

    1. the application starts with a display that should have a list of say Supermarkets.I guess I must use ListField therefor (my assumption is correct?).

    -> Yes, you can use listfield. I often use FlowFieldManagers with some fields extended to create another way to view information.

    2,3,4-> ok

    5. This can be obtained by adding your 'field of the tab' status (use setStatus on your screen).

    6. If you use sqllite you target users with OS 5.x, if that's the case is ok.

    With your questions:

    -> If you are using setStatus as I mentioned the tab bar used to disappear.

    If you want not the header disappear in some cases, use setTitle. using setTitle and setStatus your content will be in the middle. If you scroll the listfield title and status will remain in their place.

    Perhaps other developers have different ideas

  • Ask about the segregation of database access by using the authentication of the os in the windows environment

    Hello

    I have a question about the segragation of database access using authentication of the os (like sqlplus "/ as sysdba") in the windows environment. Let me briefly explain my requirement: -.

    Assume that you have two DBA viz DBA1 and DBA2 and 4 resideds of databases in a windows server say A, B, C and D.Now I want to configure it in a way if DBA1 opens a session on the server then it may connect to the database A and B using only OS and DBA2 authentication can connect to database C and D only use OS authentication.

    Please let me know how to configure for this requirement.

    Version of the database is 11.2.0.3

    Hello

    This doc is 11.1 but I guess it's the same in 11.2 roles on Windows and administering external users

    You create a group ORA_SID_DBA and doing it this way - in recent years I have done but it used to work ok...

    See you soon,.

    Harry

  • Ask about the creation and filling I$ table on different condition

    Hello
    I have a question about the creation and filling I$ table on a different condition. In which condition the I$ table creation? And these conditions are given below:

    (1) * source and transit area * are on the same server (that is to say target is located on another server)
    (2) * gathering and target area * are on the same server (IE source is on another server)
    (3) * source, transit area and target * are * different 3 * Server
    Source 4), area transit and target are on the same server
    Thank you

    I'm not quite clear to your question. Always try my best to erase it.

    In your all over requirement I$ table will be created.
    If the same staging as target (a database, a user) then all temporary tables are created in this user
    If the scaffolding is different from the target (a database, two users (A, B)), then all temporary tables will be created under that user A (lets consider) and the data will be inserted into the target table that is present to user B

    Staging is different from the target (two database, two users (A1, A2), architecture not recommended) if all temporary tables will be created under that user A1 (A1 of the databases) and the data will be inserted into the target table which is present in user A2 (A2 data base)

    If the source, staging, the target will be under a database then no. LKM is required, IKM is sufficient to load the data into the target. Especially for this, you can see an example given by Craig.
    http://S3.amazonaws.com/ora/ODI-Simple_SELECT_and_INSERT-interface.swf

    Thank you.

  • Ask about the SEQUENCE operator

    Hi all

    I created a map in which I use sequence operator. I'm filling the data of my staging at the final table. I applied a glance upward and expression to avoid duplication of work than my mapping is going to run every day.
    My mapping works very well and he has only to insert the data that are new in the contrary case, it will update.
    Now, if a new record just so it will be inserted in my table, but the ID value of line (which is generated by sequence) Gets a different value.

    For example:

    In my final table, there are 10 records.
    Then my ID of the line begins to assume 101 and end at 110.
    Now after running the map several times, I add a new record to the table, and run again the mapping.
    Now for this new record the value of the row id is 134.

    So my point is "* there are 111."

    So, how can I do this?

    In the expression I use condition "NVL(INGRP1.)". LOOK_ID, NEXTVAL)".


    Thank you

    Suhail

    Suhail said...
    I applied a glance toward the top and expression to avoid duplication

    I don't think that it generates a unique fusion of insert/update. In my view, there is an insert to insert and a merger update.

    Suhail,
    Can U please confirm

  • Ask about the types of objects

    Hello

    I have a question about the type of object. I want to see the script for the type of object created, that is already stored in the database. How can I see who


    Concerning

    Hello

    So, you can try [DBMS_METADATA. GET_DDL | http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_metada.htm#ARPLS640]...

    MHO%xe> create or replace type mytype as object( col varchar2( 10 ));
      2  /
    
    Type is aangemaakt.
    
    Verstreken: 00:00:00.37
    MHO%xe> select dbms_metadata.get_ddl('TYPE', 'MYTYPE') from dual;
    
    DBMS_METADATA.GET_DDL('TYPE','MYTYPE')
    ------------------------------------------------------------------------------
    
      CREATE OR REPLACE TYPE "MHO"."MYTYPE" as object( col varchar2( 10 ));
    
  • Ask about the line. Bindings.AttributeName.inputValue /af:iterator

    Jdev 11.1.1.6 / ADF BC

    Use case - I need to display a value from a LOV Description field in an iterator. I have the below code for the same work.
    <af:iterator id="i1" value="#{bindings.TimeBandCTL.collectionModel}"
                   var="row" varStatus="varStatus">
        <af:selectOneChoice value="#{row.bindings.TimeBandId.inputValue}" id="ot3"
                       inlineStyle="font-weight:bold;" readOnly="true">
         <f:selectItems value="#{row.bindings.TimeBandId.items}" id="si18"/>
        </af:selectOneChoice>
    </af:iterator>
    This basic question - what is the difference between row.bindings. < AttributeName > .inputValue and .inputValue line. < AttributeName > from the point of view of BindingLayer, as shown in the cases below.
    I can't get this to work if I use the latest - it gives me errors like inputValue unrecognized for oracle.jbo.domain.Number (AttributeName is of this type)

    See this link:
    https://blogs.Oracle.com/jdevotnharvest/entry/row_attributename_vs_row_bindings
    on the subject of bindings of adf
    I agree that these links does not give a lot of clarity to your question, but of little help.

Maybe you are looking for

  • Is anyone else receives this message from Livestream?

    In the Firefox browser, I see this message from the player."Channel owner forbade the display this channel from this web page.Here is the link to the page: http://www.Packers.com/Media-Center/live-webcasts.html IE and Chrome do not show this message.

  • Just got an iMac nine to use domestic and it is incredibly slow

    Hello I just got an iMac 2015 submitted for use in the home, and it is very slow. I just implemented this evening, and I found that even before you install anything but immediately after you set up the computer, it could slip. So I decided to continu

  • Re: Download drivers for Satellite C875-13F

    I bought a new SATELLITE C875-13F NUMBER: PSCBAE-02L00HDU Wehkamp.nl, tomorrow I'll go. How will I know that the drivers and the software I need to download? I am not sure on the date on which this computer is made and the entire hard drive and softw

  • Recognized SD card but not visible

    When I insert an SD card into the reader, the card is recognized, but not visible in Windows Explorer or another program. In the hardware menu information, the SD card reader works properly. No idea how to solve this problem? Kind regards Jack

  • New iPad: restore the data from the old iPad, but...

    I got a new iPad. I have already backed up my old iPad to iTunes and wanted to put in place the new iPad to restore this backup data. BUT when I connected to iTunes, I've learned that I have to update the operating system first. He wouldn't let me NO