Query for finding Oracle CPU and memory utilization and

I want to gather the report using Oracle views in the same formatas of the report which the top utility gives for Sun-Solaris OS processes.
I want the same type of report for Orcale database processes including all the user processes and the oracle internal processes.
can any body tell me if it is possible.
I am writing the top utility report format below and its contents:
CPU-processor number
TTY-Terminal interfaces used
PID-Process id number
USERNAME-Name of the owner of the process
PRI- Current priority of the process
NI- Nice value
SIZE- total size of process (text+data+stack)
RES-resident size of process
STATE- current state of process
TIME-number of system and CPU seconds the process has consumed
%WCPU-weighted CPU
%CPU-raw CPU
COMMAND- name of the command
thanks in advance

See this thread Re: Oracle Shared DB instance utilization

Similar Messages

  • Query For Finding Yearly Opening and Closing Balance for All the Items

    Hi Experts,
    I am working on Query Based Report for finding the Yearly Opening and Closing Stock for all the Items
    i will give yearwise selection and I want opening and closing stock in between that years
    Warm Regards,
    Sandip Kokate
    Edited by: Sandipk on May 20, 2011 1:58 PM

    Hi,
    Declare @SDate DateTime
    Declare @EDate DateTime
    Declare @Whse nvarchar(10)
    Set @SDate= (SELECT min(F_RefDate)  FROM  OFPR T1 where  T1.[Name] ='[1%]' )
    Set @EDate= (SELECT max(T_RefDate)  FROM  OFPR T1 where  T1.[Name] ='[%1]' )
    Set @Whse=(Select Max(s2.Warehouse) from OINM S2 Where S2.Warehouse = '[%2]')
    BEGIN
    Select @Whse as 'Warehouse', a.Itemcode, max(a.Dscription) as ItemName,
    sum(a.OpeningBalance) as OpeningBalance, sum(a.INq) as 'IN', sum(a.OUT) as OUT,
    ((sum(a.OpeningBalance) + sum(a.INq)) - Sum(a.OUT)) as Closing ,
    (Select i.InvntryUom from OITM i where i.ItemCode=a.Itemcode) as UOM
    from( Select N1.Warehouse, N1.Itemcode, N1.Dscription, (sum(N1.inqty)-sum(n1.outqty))
    as OpeningBalance, 0 as INq, 0 as OUT From dbo.OINM N1
    Where N1.DocDate < @SDate and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,
    N1.Dscription Union All select N1.Warehouse, N1.Itemcode, N1.Dscription, 0 as OpeningBalance,
    sum(N1.inqty) , 0 as OUT From dbo.OINM N1 Where N1.DocDate >= @SDate and N1.DocDate <= @EDate
    and N1.Inqty >0 and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription
    Union All select N1.Warehouse, N1.Itemcode, N1.Dscription, 0 as OpeningBalance, 0 , sum(N1.outqty) as OUT
    From dbo.OINM N1 Where N1.DocDate >= @SDate and N1.DocDate <=@EDate and N1.OutQty > 0
    and N1.Warehouse = @Whse Group By N1.Warehouse,N1.ItemCode,N1.Dscription) a, dbo.OITM I1
    where a.ItemCode=I1.ItemCode
    Group By a.Itemcode Having sum(a.OpeningBalance) + sum(a.INq) + sum(a.OUT) > 0 Order By a.Itemcode
    END
    I hope this will work for you.
    In above query you can also user OFPR.Code, OFPR, Category OFPR.Indicator instead of OFPR.Name.
    Regards
    Vaibhav Anharwadkar
    Edited by: Vaibhav Ancharwadkar on May 24, 2011 9:23 AM

  • Is there any Vi for getting the CPU and Memory usage of the Local as well as Remote System

    Is there any Vi for getting the CPU and Memory usage of the Local as well as Remote System

    Find the attachment(LV8.5) for local machines. 
    You can use shared variables to monitor the remote machine's usage.
    Attachments:
    Task Monitor 85.vi ‏25 KB

  • Write a query for finding STDDEV for OLAP Cube

    Can anybody post a sample query which will find the standard deviation of sales for each month in the sample GLOBAL OLAP schema for Oracle 11g.
    The OLAP option automatically generates a set of relational views on cubes, dimensions, and hierarchies in Oracle 11g. So how can i write a query for finding the Standard deviation on these views.

    The easiest way to do this is to do this directly within the AW using a custom calculated measure. In AWM11g you can use the 11g custom measure wrapper to execute the STDDEV function:
    olap_dml_expression('function',data type)
    For example
    olap_dml_expression('STDDEV(cube_name, time_dimension_name)',number)
    You can then simply expose this calculated measure as another column in your SQL View and then there is no need to use the SQL equivalent. This means the calculation is performed inside the AW (which is as close to the source data as you can get) ensuring performance of the whole query remains high.
    If necessary you can take this a step further, if required, and wrap the STDDEV calculation within an OLAP DML program that would allow you to manipulate the status of time within the calculation. For example, you may want the STDDEV calc to only take into account the last 12 time periods rather than all time periods currently in status.
    Hope this helps
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Which Event Classes i should use for finding good indexs and statistics for queries in SP.

    Dear all,
    I am trying to use pro filer to create a trace,so that it can be used as workload in
    "Database Engine Tuning Advisor" for optimization of one stored procedure.
    Please tel me about the Event classes which i  should use in trace.
    The stored proc contains three insert queries which insert data into a table variable,
    Finally a select query is used on same table variable with one union of the same table variable, to generate a sequence for records based on certain condition of few columns.
    There are three cases where i am using the above structure of the SP, so there are three SPS out of three , i will chose one based on their performance.
    1) There is only one table with three inserts which gets  into a table variable with a final sequence creation block.
    2) There are 15 tables with 45 inserts , which gets into a tabel variable with a final
    sequence creation block.
    3)
    There are 3 tables with 9 inserts , which gets into a table variable with a final
    sequence creation block.
    In all the above case number of record will be around 5 lacks.
    Purpose is optimization of queries in SP
    like which Event Classes i should use for finding good indexs and statistics for queries in SP.
    yours sincerely

    "Database Engine Tuning Advisor" for optimization of one stored procedure.
    Please tel me about the Event classes which i  should use in trace.
    You can use the "Tuning" template to capture the workload to a trace file that can be used by the DETA.  See
    http://technet.microsoft.com/en-us/library/ms190957(v=sql.105).aspx
    If you are capturing the workload of a production server, I suggest you not do that directly from Profiler as that can impact server performance.  Instead, start/stop the Profiler Tuning template against a test server and then script the trace
    definition (File-->Export-->Script Trace Definition).  You can then customize the script (e.g. file name) and run the script against the prod server to capture the workload to the specified file.  Stop and remove the trace after the workload
    is captured with sp_trace_setstatus:
    DECLARE @TraceID int = <trace id returned by the trace create script>
    EXEC sp_trace_setstatus @TraceID, 0; --stop trace
    EXEC sp_trace_setstatus @TraceID, 2; --remove trace definition
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • Query to find the Views and synonyms that are accessing through db_link

    HI all,
    Oracle 10g
    I need a Query to find the Views and synonyms that are accessing through db_link.
    ie.
    database A have the db_link to database B through a schema A
    now i need to find what are the Synonyms and views that are accessing through db_link either directly or indirectly..
    regards,
    Deepak
    Edited by: Deepak_DBA on Dec 10, 2010 5:38 PM

    On the second database (B) use this query to find the SQL which used by the schema A (DB LINK USER). Check the SQL_FULLTEXT column.
    select sql_fulltext,sql_id,module,parsing_schema_name,parsing_user_id,first_load_time,loads,users_executing,rows_processed,plsql_exec_time,sorts,fetches,invalidations,parse_calls,cpu_time,elapsed_time,disk_reads,buffer_gets
    from V$sqlarea
    where parsing_schema_name = 'A' --and to_char(first_load_time,'dd/mm/yyyy') like  '%11/08/2007'
    order by first_load_time desc;
    Regards
    Asif Kabir

  • QUERY FOR CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE

    Hi Friends,
       I need query for CUSTOMERS FULL DEBIT AND CREDIT WITH CLOSING BALANCE for selection criteria from date and to date.
       I know the Trial Balance Report will sort out this issue... but i need routeday wise report
    1. Business Partner Master Data - i created one UDF field called U_Routeday (MONDAY, TUESDAY, WEDNESDAY,THURSDAY,FRIDAY)
    2. The query should be like selection criteria 
                                  - Routeday [%0]
                                  - Posting Date [%1]                           
                                  - Posting Date [%2]
    CardCode
    Debit
    Credit
    Balance
    D10503
    25031.50
    24711.50
    2962.00
    D10641
    5466.00
    7460.00
    285.00
    D10642
    2866.00
    142.00
    give any helpful query ASAP... Thanks in advance

    Hi,
    Try this query:
    Declare
    @fromdate as datetime
    Declare
    @Todate as datetime
    Declare
    @Code as nvarchar(25)
    set
    @fromdate = ( select min(Ta.[RefDate]) from OJDT ta where
    Ta.[RefDate] >= [%0])
    set
    @Todate = ( select max(Tb.[RefDate]) from OJDT tb where Tb.[RefDate]
    <= [%1])
    set
    @code = (select max(Tc.[ShortName]) from JDT1 tC where Tc.[ShortName]
    = [%2])
    SELECT
    [Name] as AcctName, [Jan]= sum([1]), [Feb]= sum([2]), [Mar]=
    sum([3]), [Apr]= sum([4]),  [May]= sum([5]), [June]= sum([6]),
    [July]= sum([7]), [Aug]= sum([8]), [Sept]= sum([9]), [Oct]=
    sum([10]), [Nov]= sum([11]), [Dec]= sum([12]), total = sum
    (isnull([1],0)+ isnull([2],0) + isnull([3],0) + isnull([4],0) +
    isnull([5],0) + isnull([6],0) + isnull([7],0) + isnull([8],0) +
    isnull([9],0)+ isnull([10],0) + isnull([11],0) + isnull([12],0))
    from
    (SELECT
    T0.[ShortName] as Name, sum(T0.[Debit]-T0.[Credit]) as T,
    month(T2.[RefDate]) as month FROM JDT1 T0  INNER JOIN OACT T1 ON
    T0.Account = T1.AcctCode INNER JOIN OJDT T2 ON T0.TransId =
    T2.TransId WHERE T2.[RefDate] between @fromdate and @todate and
    T0.[ShortName]  = @code  GROUP BY T0.[ShortName],T2.[RefDate] ) S
    Pivot
    (sum(T)
    For  Month IN ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P
    group
    by [Name],[1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12]
    Let me know your result.
    Thanks & Regards,
    Nagarajan

  • Microsoft Query for Office 2013 Home and Business

    Where can I get Microsoft Query for Office 2013 Home and Business version?  I have used it for years on my old XP machine with Office 2003.
    Thank you, Sue

    Hi,
    You seem got an error like "Microsoft query could not be started because it isn’t installed" when you used it. 
    It may be not installed yet. We can go to "Control Panel\All Control Panel Items\Programs and Features\Office 2013 Home and Business\change\Microsoft tools\MS query" and check if it is installed/enabled.
    If it is not installed, please use the Install CD/ full installation copy to reinstall it.
    http://social.technet.microsoft.com/Forums/office/en-US/eb7bfe7d-8fa4-4faf-8563-13ae8b04346d/microsoft-query-could-not-be-started-because-it-isnt-installed?forum=excel (It
    also applies to Excel 2013)
    Regards,
    George Zhao
    TechNet Community Support

  • Query for getting all function and procedure inside the packages

    hi All
    Please provide me Query for getting all function and procedure inside the packages
    thanks

    As Todd said, you can use user_arguments data dictionary or you can join user_objects and user_procedures like below to get the name of the packaged function and procedure names.
    If you are looking for the packaged procedures and functions source then use user_source data dictionary
    select a.object_name,a.procedure_name from user_procedures a,
                  user_objects b
    where a.object_name is not null
    and a.procedure_name is not null
    and b.object_type='PACKAGE'        
    and a.object_name=b.object_name

  • How to find out CPU and memory usage for an instance?

    Hi DBA Gurus,
    How to find out CPU usage and memory usage for an instance?
    Any information is appreciated!
    Thank you!
    Robert

    you can calculate cpu usage by adding fallowing three factors which you can get from v$sysstat
    1. Parse CPU time : This represents the percentage of CPU time spent parsing SQL statements. Parse time CPU can be a strong indication that an application has not been well tuned. High parse time CPU usually indicates that the application may be spending too much time opening and closing cursors or is not using bind variables.
    2. Recursive CPU time : Sometimes, to execute a SQL statement issued by a user, the Oracle Server must issue additional statements. Such statements are called recursive calls or recursive SQL statements. For example, if you insert a row into a table that does not have enough space to hold that row, the Oracle Server makes recursive calls to allocate the space dynamically if dictionary managed tablespaces are being used.
    Recursive calls are also generated due to the inavailability of dictionary info in the dictionary cache, firing of database triggers, execution of DDL, execution of SQL within PL/SQL blocks, functions or stored procedures and enforcement of referential integrity constraints
    3. Other CPU time : This represents the percentage of time spent looking for buffers, fetching rows or index keys, etc. Generally, \"Other\" CPU should represent the highest percentage of CPU time out of the total CPU time used.
    total memory used you can calculate adding
    total_agrigate_area+sga
    memory usage on os level you can know by fallowing commands
    vmstat 5 20 depending upon os

  • Recursive query for finding parents and children against two tables

    Hi I have two tables where the data is stored hierarchially.
    I have found using connect_by, level and other oracle functions doing its job when the data is in one table.
    Can I traverse against two tables by using the same oracle functions.
    My Table A can go 2 levels deep in my hierarchy and level 3 and so forth has to be done against a different table.
    Appreciate your insight..
    Thanks in advance

    The number of levels that I can traverse in the first table is dynamic (sometimes 2 levels and sometimes 3 levels and actually no level limit) and then has to dynamically start looking at second table for finding any more levels in the other table.
    I was able to implement them seperately and union them.
    I was more looking for a comprehensive solution to reduce the number of lines that I have to maintain...
    Thanks in advance
    Edited by: user566193 on Jan 15, 2010 1:58 PM

  • Ancient RHEL3 Running Oracle Rac 10G - memory utilization question

    As all good things must happen the crappy old systems that never get upgraded come back to bite you.
    I have a 4 node RAC cluster running Linux RHEL3. I know .. would love to upgrade it .. but that will take time. Looking for at survival at this point. The system is experiencing High I/O wait. Now, my background is mainly Solaris/AIX and not Linux. So as I work through this problem I am unsure of what I am seeing, since Linux maybe handling memory differently on this OS.
    This is what I am seeing:
    High I/O wait as shown by TOP
    Disk Access Time and Utilization : pretty good .. no device utilized over 30% and <20 millisecond response times from the drives
    The real Question is in memory usage:
    Host: 32GB
    OS: Red Hat Enterprise Linux AS release 3 (Taroon Update 9)
    model name : AMD Opteron (tm) Processor 880
    Please .. I know its old but try and not laugh.......
    The box has 32GB of Memory and I am told by the DBAs that OEM is reporting that SGA is sized correctly and memory ISN"T the problem. But disk access time/utilization isn't really pointing to a particular problem with the OS. The disks are all provided by a SAN.
    However, when I look at TOP .. I see that the largest oracle process in RSS size is 8G .. now on all other platforms .. AIX/Solaris when using TOP .. all oracle processes that connect to the SGA will show the full size of SGA. So this is my question. Does Linux do this differently... for the DBAs to tell me SGA is set to 20GB and to only see top showing process with 8GB .. this has me confused. Is the SGA really being set to 20GB????
    I can see in a pmap <oracle process> that it appears to be attached but just wanting to rule out a simple Oracle / Linux configuration problem first.
    I've included a pmap of both a current Linux process on the troubled system and a pmap of a current oracle solaris host.
    Linux
    [root@lnxracbo2a proc]# pmap 15013
    15013: oracle
    Start Size Perm Mapping
    00400000 94192K r-xp /oracle/product/10.2.0.4apr09/bin/oracle
    060fc000 436K rw-p /oracle/product/10.2.0.4apr09/bin/oracle
    06169000 792K rwxp [ anon ]
    60000000 24119296K rw-s /SYSVfa491508
    2a95556000 1108K r-xp /lib64/ld-2.3.2.so
    2a9566b000 4K rw-p /lib64/ld-2.3.2.so
    2a9566c000 4K rw-p [ anon ]
    2a9566d000 164K r-xp /oracle/product/10.2.0.4apr09/lib/libskgxp10.so
    2a95696000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libskgxp10.so
    2a95796000 8K rw-p /oracle/product/10.2.0.4apr09/lib/libskgxp10.so
    2a95798000 944K r-xp /oracle/product/10.2.0.4apr09/lib/libhasgen10.so
    2a95884000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libhasgen10.so
    2a95984000 24K rw-p /oracle/product/10.2.0.4apr09/lib/libhasgen10.so
    2a9598a000 24K rw-p [ anon ]
    2a95990000 8K r-xp /oracle/product/10.2.0.4apr09/lib/libskgxn2.so
    2a95992000 1020K ---p /oracle/product/10.2.0.4apr09/lib/libskgxn2.so
    2a95a91000 4K rw-p /oracle/product/10.2.0.4apr09/lib/libskgxn2.so
    2a95a92000 428K r-xp /oracle/product/10.2.0.4apr09/lib/libocr10.so
    2a95afd000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libocr10.so
    2a95bfd000 8K rw-p /oracle/product/10.2.0.4apr09/lib/libocr10.so
    2a95bff000 256K r-xp /oracle/product/10.2.0.4apr09/lib/libocrb10.so
    2a95c3f000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libocrb10.so
    2a95d3f000 4K rw-p /oracle/product/10.2.0.4apr09/lib/libocrb10.so
    2a95d40000 4K rw-p [ anon ]
    2a95d41000 444K r-xp /oracle/product/10.2.0.4apr09/lib/libocrutl10.so
    2a95db0000 1020K ---p /oracle/product/10.2.0.4apr09/lib/libocrutl10.so
    2a95eaf000 20K rw-p /oracle/product/10.2.0.4apr09/lib/libocrutl10.so
    2a95eb4000 8K rw-p [ anon ]
    2a95eb6000 8492K r-xp /oracle/product/10.2.0.4apr09/lib/libjox10.so
    2a96701000 1020K ---p /oracle/product/10.2.0.4apr09/lib/libjox10.so
    2a96800000 1568K rw-p /oracle/product/10.2.0.4apr09/lib/libjox10.so
    2a96988000 32K r-xp /oracle/product/10.2.0.4apr09/lib/libclsra10.so
    2a96990000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libclsra10.so
    2a96a90000 4K rw-p /oracle/product/10.2.0.4apr09/lib/libclsra10.so
    2a96a91000 4K rw-p [ anon ]
    2a96a92000 112K r-xp /oracle/product/10.2.0.4apr09/lib/libdbcfg10.so
    2a96aae000 1024K ---p /oracle/product/10.2.0.4apr09/lib/libdbcfg10.so
    2a96bae000 8K rw-p /oracle/product/10.2.0.4apr09/lib/libdbcfg10.so
    2a96bb0000 3004K r-xp /oracle/product/10.2.0.4apr09/lib/libnnz10.so
    2a96e9f000 1020K ---p /oracle/product/10.2.0.4apr09/lib/libnnz10.so
    2a96f9e000 708K rw-p /oracle/product/10.2.0.4apr09/lib/libnnz10.so
    2a9704f000 12K rw-p [ anon ]
    2a97069000 4K r-xp /usr/lib64/libaio.so.1
    2a9706a000 1020K ---p /usr/lib64/libaio.so.1
    2a97169000 4K rw-p /usr/lib64/libaio.so.1
    2a9716a000 4K rw-p [ anon ]
    2a9716b000 12K r-xp /lib64/libdl-2.3.2.so
    2a9716e000 1020K ---p /lib64/libdl-2.3.2.so
    2a9726d000 4K rw-p /lib64/libdl-2.3.2.so
    2a9726e000 540K r-xp /lib64/tls/libm-2.3.2.so
    2a972f5000 1024K ---p /lib64/tls/libm-2.3.2.so
    2a973f5000 4K rw-p /lib64/tls/libm-2.3.2.so
    2a973f6000 60K r-xp /lib64/tls/libpthread-0.60.so
    2a97405000 1024K ---p /lib64/tls/libpthread-0.60.so
    2a97505000 4K rw-p /lib64/tls/libpthread-0.60.so
    2a97506000 20K rw-p [ anon ]
    2a9750b000 80K r-xp /lib64/libnsl-2.3.2.so
    2a9751f000 1020K ---p /lib64/libnsl-2.3.2.so
    2a9761e000 8K rw-p /lib64/libnsl-2.3.2.so
    2a97620000 8K rw-p [ anon ]
    2a97622000 1264K r-xp /lib64/tls/libc-2.3.2.so
    2a9775e000 1020K ---p /lib64/tls/libc-2.3.2.so
    2a9785d000 20K rw-p /lib64/tls/libc-2.3.2.so
    2a97862000 1480K rw-p [ anon ]
    2a979d4000 48K rw-p /dev/zero
    2a979e0000 64K rw-p /dev/zero
    2a979f0000 64K rw-p /dev/zero
    2a97a00000 64K rw-p /dev/zero
    2a97a10000 64K rw-p /dev/zero
    2a97a20000 64K rw-p /dev/zero
    2a97a30000 64K rw-p /dev/zero
    2a97a40000 64K rw-p /dev/zero
    2a97a50000 16K rw-p /dev/zero
    2a97a54000 640K rw-p /dev/zero
    2a97af4000 640K rw-p /dev/zero
    2a97b94000 128K rw-p /dev/zero
    2a97bb4000 128K rw-p /dev/zero
    2a97bd4000 128K rw-p /dev/zero
    2a97bf4000 128K rw-p /dev/zero
    2a97c14000 128K rw-p /dev/zero
    2a97c34000 128K rw-p /dev/zero
    2a97c54000 64K rw-p /dev/zero
    2a97c64000 64K rw-p /dev/zero
    2a97c74000 512K ---p /dev/zero
    7fbffe4000 112K rwxp [ stack ]
    mapped: 24255304K writeable/private: 8000K shared: 24119296K
    Solaris
    admin-srv403[2]/ # pmap 5467
    5467: oracleorprd26a (LOCAL=NO)
    0000000100000000 97696K r-x-- /oracle/product/10.2.0.4.4/bin/oracle
    0000000106066000 672K rwx-- /oracle/product/10.2.0.4.4/bin/oracle
    000000010610E000 1952K rwx-- [ heap ]
    0000000380000000 8388632K rwxsR [ ism shmid=0x4268 ]
    FFFFFFFF7B070000 64K rw--- [ anon ]
    FFFFFFFF7B100000 64K rw--- [ anon ]
    FFFFFFFF7B110000 64K rw--- [ anon ]
    FFFFFFFF7B120000 64K rw--- [ anon ]
    FFFFFFFF7B130000 64K rw--- [ anon ]
    FFFFFFFF7B140000 64K rw--- [ anon ]
    FFFFFFFF7B150000 64K rw--- [ anon ]
    FFFFFFFF7B160000 64K rw--- [ anon ]
    FFFFFFFF7B170000 64K rw--- [ anon ]
    FFFFFFFF7B19E000 8K rwxs- [ anon ]
    FFFFFFFF7B200000 8K rwx-- [ anon ]
    FFFFFFFF7B300000 8K r-x-- /usr/lib/sparcv9/libmd5.so.1
    FFFFFFFF7B402000 8K rwx-- /usr/lib/sparcv9/libmd5.so.1
    FFFFFFFF7B500000 8K rwx-- [ anon ]
    FFFFFFFF7B600000 16K r-x-- /usr/lib/sparcv9/libmp.so.2
    FFFFFFFF7B704000 8K rwx-- /usr/lib/sparcv9/libmp.so.2
    FFFFFFFF7B800000 8K rwx-- [ anon ]
    FFFFFFFF7B900000 216K r-x-- /usr/lib/sparcv9/libm.so.1
    FFFFFFFF7BA34000 16K rwx-- /usr/lib/sparcv9/libm.so.1
    FFFFFFFF7BB00000 32K r-x-- /usr/lib/sparcv9/librt.so.1
    FFFFFFFF7BC08000 8K rwx-- /usr/lib/sparcv9/librt.so.1
    FFFFFFFF7BD00000 32K r-x-- /usr/lib/sparcv9/libaio.so.1
    FFFFFFFF7BE08000 8K rwx-- /usr/lib/sparcv9/libaio.so.1
    FFFFFFFF7BE0A000 8K rwx-- /usr/lib/sparcv9/libaio.so.1
    FFFFFFFF7BF00000 728K r-x-- /usr/lib/sparcv9/libc.so.1
    FFFFFFFF7C0B6000 56K rwx-- /usr/lib/sparcv9/libc.so.1
    FFFFFFFF7C0C4000 8K rwx-- /usr/lib/sparcv9/libc.so.1
    FFFFFFFF7C100000 8K rwx-- [ anon ]
    FFFFFFFF7C200000 8K r-x-- /usr/lib/sparcv9/libsched.so.1
    FFFFFFFF7C302000 8K rwx-- /usr/lib/sparcv9/libsched.so.1
    FFFFFFFF7C400000 8K rwx-- /usr/lib/sparcv9/libdl.so.1
    FFFFFFFF7C500000 32K r-x-- /usr/lib/sparcv9/libgen.so.1
    FFFFFFFF7C608000 8K rwx-- /usr/lib/sparcv9/libgen.so.1
    FFFFFFFF7C700000 48K r-x-- /usr/lib/sparcv9/libsocket.so.1
    FFFFFFFF7C80C000 16K rwx-- /usr/lib/sparcv9/libsocket.so.1
    FFFFFFFF7C900000 672K r-x-- /usr/lib/sparcv9/libnsl.so.1
    FFFFFFFF7CAA8000 56K rwx-- /usr/lib/sparcv9/libnsl.so.1
    FFFFFFFF7CAB6000 40K rwx-- /usr/lib/sparcv9/libnsl.so.1
    FFFFFFFF7CB00000 8K rwx-- [ anon ]
    FFFFFFFF7CC00000 8K r-x-- /usr/lib/sparcv9/libkstat.so.1
    FFFFFFFF7CD02000 8K rwx-- /usr/lib/sparcv9/libkstat.so.1
    FFFFFFFF7CE00000 2184K r-x-- /oracle/product/10.2.0.4.4/lib/libnnz10.so
    FFFFFFFF7D120000 240K rwx-- /oracle/product/10.2.0.4.4/lib/libnnz10.so
    FFFFFFFF7D15C000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libnnz10.so
    FFFFFFFF7D200000 72K r-x-- /oracle/product/10.2.0.4.4/lib/libdbcfg10.so
    FFFFFFFF7D310000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libdbcfg10.so
    FFFFFFFF7D400000 1072K r-x-- /oracle/product/10.2.0.4.4/lib/libclsra10.so
    FFFFFFFF7D60A000 56K rwx-- /oracle/product/10.2.0.4.4/lib/libclsra10.so
    FFFFFFFF7D618000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libclsra10.so
    FFFFFFFF7D700000 8K rwx-- [ anon ]
    FFFFFFFF7D800000 9272K r-x-- /oracle/product/10.2.0.4.4/lib/libjox10.so
    FFFFFFFF7E20C000 560K rwx-- /oracle/product/10.2.0.4.4/lib/libjox10.so
    FFFFFFFF7E300000 1072K r-x-- /oracle/product/10.2.0.4.4/lib/libocrutl10.so
    FFFFFFFF7E50A000 56K rwx-- /oracle/product/10.2.0.4.4/lib/libocrutl10.so
    FFFFFFFF7E518000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libocrutl10.so
    FFFFFFFF7E600000 1376K r-x-- /oracle/product/10.2.0.4.4/lib/libocrb10.so
    FFFFFFFF7E856000 64K rwx-- /oracle/product/10.2.0.4.4/lib/libocrb10.so
    FFFFFFFF7E866000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libocrb10.so
    FFFFFFFF7E900000 1536K r-x-- /oracle/product/10.2.0.4.4/lib/libocr10.so
    FFFFFFFF7EB7E000 64K rwx-- /oracle/product/10.2.0.4.4/lib/libocr10.so
    FFFFFFFF7EB8E000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libocr10.so
    FFFFFFFF7EC00000 8K rwx-- [ anon ]
    FFFFFFFF7ED00000 8K r-x-- /oracle/product/10.2.0.4.4/lib/libskgxn2.so
    FFFFFFFF7EE00000 8K rwx-- /oracle/product/10.2.0.4.4/lib/libskgxn2.so
    FFFFFFFF7EF00000 1752K r-x-- /oracle/product/10.2.0.4.4/lib/libhasgen10.so
    FFFFFFFF7F1B4000 72K rwx-- /oracle/product/10.2.0.4.4/lib/libhasgen10.so
    FFFFFFFF7F1C6000 16K rwx-- /oracle/product/10.2.0.4.4/lib/libhasgen10.so
    FFFFFFFF7F200000 144K r-x-- /oracle/product/10.2.0.4.4/lib/libskgxp10.so
    FFFFFFFF7F322000 16K rwx-- /oracle/product/10.2.0.4.4/lib/libskgxp10.so
    FFFFFFFF7F400000 8K r-x-- /usr/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
    FFFFFFFF7F500000 8K rwx-- [ anon ]
    FFFFFFFF7F600000 184K r-x-- /usr/lib/sparcv9/ld.so.1
    FFFFFFFF7F72E000 16K rwx-- /usr/lib/sparcv9/ld.so.1
    FFFFFFFF7FFDC000 144K rw--- [ stack ]
    total 8511704K

    834881 wrote:
    I have a 4 node RAC cluster running Linux RHEL3. I know .. would love to upgrade it .. but that will take time. Looking for at survival at this point. The system is experiencing High I/O wait. How/why do you relate this to a memory problem that needs memory utilisation analysed?
    It could be that you have a dual fibre via HBA to the SAN and that one port is faulty (e.g. bad cable), thus reducing your I/O to the SAN to a single I/O path.
    It could be caused by hotspots on a LUN - and likely because ASM is not being used, this hotspot cannot be automatically load balanced.
    Or it could be a number of other factors, such as poorly designed and written app code that performs multiple passes through the same data sets, abuse of PQ slaves, etc.
    How does your storage layer look? What do you use for SAN connectivity? What diver s/w is used? How are the LUNs used (cooked/raw)? Is ASM used? What does Oracle session and instance reports ito I/O wait times? Which datafiles are being hit the hardest? Is acrhive logging used and what is the frequency of log switches? Etc. etc.
    Memory utilisation does not impact I/O, unless it is swap I/O. And these symptoms are easily seen and easily diagnosed. So I would expect that high memory utilisation may be a symptom, as is I/O wait times, of a potential underlying problem. But it would be premature to blame one (e.g. I/O wait times) on the other (e.g. memory utilisation).

  • Changed Ulimits values for the Oracle user and getting error -bash: ulimit: max user processes: cannot modify limit: Operation not permitted when logging in.

    I'm trying to increate the ulimits for max user processes and open files for the oracle user.  I've set the values in limits.conf, /etc/profile and in oracle's environment scripts. Now when I log in as oracle I get the below errors. If I change the ulimits back to the original values errors go away but ulimits aren't changed.
    login as: oracle
    [email protected]'s password:
    Last login: Fri Mar  6 09:56:02 2015 from mtkadmin12
    You are logging onto an Oracle system.
    Kickstarted on: 2014-06-05
    -bash: ulimit: max user processes: cannot modify limit: Operation not permitted
    -bash: ulimit: max user processes: cannot modify limit: Operation not permitted
    [oracle@servername ~]$

    Thanks for the update.
    I modified the /etc/security/limits.d/90-nproc.conf and added a line for oracle and also modifed the oracle.sh file.  The ulimits are setting correctly when I su - oracle but they are still wrong when sshing in as oracle.
    [root@mtkdevorap11d-1 ~]# su - oracle
    [oracle@mtkdevorap11d-1 ~]$ ulimit -Ha
    core file size          (blocks, -c) unlimited
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 1030982
    max locked memory       (kbytes, -l) 94371840
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 65536
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) unlimited
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 16384
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    [oracle@mtkdevorap11d-1 ~]$
    [oracle@mtkdevorap11d-2 ~]$ ssh mtkdevorap11d-1
    Last login: Mon Mar 16 13:04:16 2015 from mtkdevorap11d-2.conveydev.com
    You are logging onto an Oracle system.
    Kickstarted on: 2014-06-05
    [oracle@mtkdevorap11d-1 ~]$ ulimit -Ha
    core file size          (blocks, -c) unlimited
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 1030982
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 4096
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) unlimited
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 16384
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited
    [oracle@mtkdevorap11d-1 ~]$

  • Need helping in writing query for finding percentage of duration

    Can any one please help in writing query for this.
    The table is like this :-
    ID     Region     Month     Duration
    I1 R1     Jan     80
    I2     R2     Jan     70
    I3     R1     Jan     70
    I4     R3     Jan     40
    I5     R1     Feb     80
    I6     R2     Feb     30
    I7     R3     Mar     100
    I want to write a query to find
    % of duration for each and every region against each and every month.
    Please help in solving this query. I am in urgent need of this.
    Thanks in advance.

    I also have to do in MS Access 2003You also have to ask into an other forum since here it's an Oracle forum, to try to find Oracle solution.
    Nicolas.

  • Query for Finding the Daily Cumulative Production Total

    Hi Experts,
    I want Query based Report for finding Daily Cumulative i.e Running Production Total
    Suppose Yesterdays Production for Item A0001 is 20 and Todays Prodction is 20 then it will show 50 but it shout be datewise selection.
    Warm Regards,
    Sandip Kokate

    Hello
    Report Scenario as follow
    Item Code    Item name    Todays Producion     Yesterdays Production   Total Productio
    A001           Computer     20                                    20                                  40
    A002           Mouse          10                                    05                                  15
    A003           CPU              15                                    05                                  20
    This is Exact Report
    Regards,
    Sandip Kokate

Maybe you are looking for