Top resource intensive processes on AIX/Unix/Linux

top is good to find this out, topas on aix, any other tips to find out memory/IO resource intensive processes, here i have for cpu....
oracle:tulpfsd01$ ps -e -o pcpu -o pid -o user -o args | sort -k 1 | tail -5r
%CPU PID USER COMMAND
1.1 1230914 oracle oraclepwpd (LOCAL=NO)
0.9 1248744 oracle oraclepwpd (LOCAL=NO)
0.9 1099146 oracle oraclepwpd (LOCAL=NO)
0.6 503688 oracle oraclepwpd (LOCAL=NO)
0.5 1239486 oracle oraclepwpd (LOCAL=NO)

Generally, memory shouldn't be a concern. The total amount of SGA is set (fixed) with SGA_MAX_SIZE and occupies shared memory (to be seen with 'ipcs')
The PGA is set by PGA_AGGREGATE_TARGET, but is only a rough pointer for oracle. Additional information about memory is seeable with pmap (alt least on linux and solaris)
You'll see the loaded shared libraries (which are used by the process in a shared matter, so not any process which uses libraries copy their own versions, and you should be able to identify the shared memory (identified with shmid=0xsomething) etc. On linux /proc/<pid>/maps shows the same in a little different way.
Now we've established that the shared libraries are used shared to preserve memory, and the shared memory is used shared (quite obviously), and 'put' into the process' address space, you should understand why listing VSS (virtual set size) and other memory stuff isn't very helpful: if you just add all listed used memory, there are much components which are not really used by that process.
Top and topas are helpful for finding CPU intensive processes. That is what both are designed for, to be able to identify the processes which are using the most slices of processor time. Of course, it's only helpful if you truly want to identify top CPU intensive processes. This is also quite easy to find inside the database.
IO: there's no way to identify processes which are the most intensive writers. Simple because linux doesn't keep statistics about it. Inside the database, it's easy to find (guess you should need an example of that?) please mind you should be aware how the database works: a user process does no writing, it's the logwriter, checkpointer and database writer who does that. The user process only reads.
I will see if I can find some nmon examples tomorrow, when I've got access to AIX systems.
If you still want examples, could you be specific?

Similar Messages

  • Abnormal increment in background processes on AIX unix (oracle8i)

    Hi
    We have a problem running oracle8i on AIX unix. Our system is having two
    parallel IBM RS6000 servers. Both running in HACMP env. We are using oracle8i with almost 350 clients.
    For the last few days we observed that total no of oracle background processes abnormally increasing and touches 400 on each server. We got this information from following command
    ps -ef |grep ora |wc -l
    The moment it reaches 400 no more sessions are able to connect to the database.
    One more thing we have observed that about 150 processes are defunct, which we get from using following commands
    ps -ef |grep defunct | wc -l
    On killing these processes using
    kill -9 <pid>
    system is unable to kill it.
    When we query from v$session connecting to each servers we hardly found total number of sessions more than 225 on each server.
    If anybody has any idea why so many processes are spawned and how to control them please mail me the solution. Or if u require some more information about the system and oracle parameters please let me know. My email_id is
    [email protected]
    Thanks
    SHAKEEL AHMAD

    You compare v$process with v$session.
    If you have any defunc process, they wont appear in the v$session. But, they resides in the v$process. You need to kill them from the os prompt.
    SELECT spid
    FROM v$process
    WHERE NOT EXISTS ( SELECT 1
    FROM v$session
    WHERE paddr = addr)
    This query gives the osid of all the defunc process and kill them using kill -9 on os.
    Are your connection coming from jdbc? Also, you can make use of DCD Dead Connection Detector.
    http://asktom.oracle.com/pls/ask/f?p=4950:8:8284822833477458404::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1784142376742
    Jaffar
    Message was edited by:
    The Human Fly

  • Is TOP a resource intensive query.

    Hi,
    We are using TOP to monitor load on LInux production server.
    I just wanted to know if TOP is a resource intensive command?
    Whether TOP adds up to the load on server. Say for example TOP running simultenously from 5/6 putty sessions.
    Regards,

    Running top with default parameters is not a resource intensive process. There were issues with long running top sessions in the past, with ported versions of the top command on certain Unix platforms, but Linux was not affected. I don't think you will notice a performance issue running several top sessions. You can easily test it. Whether or not the top utility is the right tool for what you are trying to accomplish however is a different question.

  • Unix/Linux Process Monitoring

    When I attempt to run the add monitoring wizard in Operations Manager 2012 R2 against the unix/linux process monitor I receive the following error :-
    Date: 12/02/2015 11:55:23
    Application: Operations Manager
    Application Version: 7.1.10226.0
    Severity: Error
    Message:
    Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UISDKException: The page [Microsoft.SystemCenter.CrossPlatform.UI.OM.Integration.Authoring.ProcessTemplate.ProcessDetailsPage] in the assembly [Microsoft.SystemCenter.CrossPlatform.UI.OM.Integration.Authoring.ProcessTemplate,
    Version=7.0.6000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35] could not be loaded. Please make sure that the account you are running under has sufficient privileges to load the given assembly, or the Management Pack that defines this page is installed
    or the assembly containing the page is in the path of the executable or that the page derives from known Operations Manager page type. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions
    property for more information.
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.CreatePage(String assemblyName, String typeName)
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.CreatePage(String assemblyName, String typeName)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.GetPages()
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomTemplatePagesManager.GetPages()
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.PageManagerBase.AttachToFramework(IPageFramework pageFramework, Boolean readOnly)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Pages.TemplateListPage.AddPagesForSelectedItem()
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.UIPageSet.CreatePage(String assemblyName, String typeName)
    I receive this in my test lab and in a live environment. Both environments are running Operations Manager 2012 R2 and I have imported the latest management packs which are 7.5.1042.0.
    I am full administrator at the server and operations manager level. So what is it I am missing?
    Thanks.

    Agree with Steve, Upgrade to last UR, This issue is related to Management Pack so that Check correct version of Management Pack which is compatible with SCOM 2012R2
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
    Technical | Twitter:
    Mai Ali

  • Call system using linux returns - 1 on linux; returns 0 in aix/unix

    call system using linux returns - 1 on linux; returns 0 in aix/unix when called from sqr

    the question is:
    when i am using call system in unix
    call system is being used in my sqr
    call system using $cmd #status
    #status is coming as 0
    while in linux though the command is getting exceuted correctly, the return status is -1 while it should eb 0.

  • UNIX (AIX) to LINUX Database migration

    Hi,
    I need to migrate the Oracle database from UNIX(AIX) to LINUX. I have a valid license for the UNIX box but wanted to know if the same license would also work for the LINUX box as well or not. I will be using the license only on one system i.e once the migration is done the database would no longer exist or will use the License key on the UNIX box.
    Is it possible to migrate the license or do I need to get a new one for the LINUX box.
    Thanks,
    Nitesh

    The license is for Oracle, so you can put Oracle on what ever O/S you want without affecting the license.

  • PAS/AAS JAVA instances on UNIX/Linux - database component

    Hi SCN,
    Firstly consider this is all UNIX/Linux based...
    In the past when creating AS (or AAS now) SAP dialog instances for ABAP systems I rarely ran a SAPINST process. It was simpler to copy existing profiles and NFS mount the kernel. There is no database component relating to the instances so you could easily add/remove them
    However in Java it seems there is instance data inside the database Java schema, meaning that you have to install/re-install AS/AAS instances using SAPINST/SWPM to ensure these are properly created; otherwise the instance will not connect.
    Does anyone have any details on what constitutes this database component? I would like to look at it with my own eyes and see what makes it up.
    Regards all, Jamie
    AKA doonan_79

    Hi Jamie,
    In case of JAVA, there we have BOX number. If you have a logical host on top of your physical host, then you can go with over scheme. Otherwise, because of BOX number, you have to go with export/import option.
    Refer this thread: Understanding the Java Instance ID issue
    Divyanshu

  • DB migration from AIX to Linux

    Dear Experts,
    We are planning to migrate our existing 10g database of 11.5.10.2 from AIX to Linux. Can anyone share their experiences? Some docs/URLS will be helpful. One of my friends told that it takes more than 36 hours to complete the database migration. Is it really true? The current database size is approx. 100GB.
    After the migration does, apps function as usual?
    Thanks in advance.
    SA

    Hi,
    You can use export/import or transportable tablespaces to migrate the database.
    10gR2 Transportable Tablespaces Certified for EBS 11i
    http://blogs.oracle.com/stevenChan/2010/04/10gr2_xtts_ebs11i.html
    Migrating E-Business Suite Release 11i Databases Between Platforms
    http://blogs.oracle.com/stevenChan/2008/08/migrating_ebusiness_suite_databases_between_platfo.html
    Note: 362205.1 - 10g Release 2 Export/Import Process for Oracle Applications Release 11i
    How long the task would take? Depends on the hardware resources you have. The best practice is to try this on a test instance first.
    The application should work as expected once the task is completed.
    Thanks,
    Hussein

  • Pls Send Usefull UNIX /LiNUX commands in SAP?

    hi,
    pls send me anybody what are the useful UNIX/LINUX  commands in SAP.
    regards,
    reddy

    Hi brother,
      the following commands will help you do it and practice it  give rewards....
    Copy files one system to another system in network
    #mount -t nfs <IPAddress> : /<Source Directory> /<Target Directory>
    To Display Clock
    #xclock
    Check Process Details:
    #top
    #ps -ef | grep user/process/servicename
    Check Memory Size:
    #free
    Check Disk space:
    #df -k (in %)
    #df -h (in GB)
    Check Subdirectory files
    #du /usr

  • Disable user accounts on Unix, Linux resorces

    Hi Everyone
    I try to understand disable user account action on Unix, Linux systems
    In Resource reference doc. I see the next:
    Linux does not natively support Waveset enable and disable actions.
    Waveset simulates enabling and disabling accounts by changing the
    user password. The changed password is exposed on enable actions,
    but it is not exposed on disable actions.
    As a result, enable and disable actions are processed as update actions.
    Any before or after actions that have been configured to operate on
    updates will execute.
    So what kind of commands waveset using for this action:
    passwd -l <Username>
    or just change password?
    Thanks

    Hi,
    The out of the box adapter changes the user's Linux password on disable action.
    To Implement locking of account by running "passwd -l username", you need to write a resource action and call it explicitly. Hope it helps
    Regards
    Arjun

  • "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information" while attempting to open UNIX/Linux monitor

    We have upgraded our System Center to 2012 R2, and we cannot open any of the UNIX/Linux LogFile monitor property or the UNIX/Linux process monitor property for those monitors created prior to the upgrade.  Error we get is below.  Any assitance
    appreciated.
    Date: 9/30/2014 10:01:46 PM
    Application: Operations Manager
    Application Version: 7.1.10226.0
    Severity: Error
    Message:
    System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
       at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection,
    Boolean suppressSecurityChecks)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)
       at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
       at System.Reflection.Assembly.Load(String assemblyString)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.TypeContainer.get_ContainedType()
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.AddTemplatePages(LaunchTemplateUIData launchData, Form form)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.Initialize(Object launchData, Form form)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.RunPrivate(Object[] userData)
       at Microsoft.EnterpriseManagement.Internal.UI.Authoring.Extensibility.MomExtensionsCommon.Run(Object[] userData)

    It's possible the upgrade did not update everything properly as it looks like a dll mismatch or a missing file. I'd open a support ticket with MS and have a support engineer look at the upgrade logs. What version of SCOM did you upgrade from?
    Regards,
    -Steve

  • How to start a particular database in unix/linux

    Hi,
    Could any one tell me how to start a particular database in Unix/Linux assuming that my server consists of 10 databases.
    Can we use LSNRCTL tool for this??
    Regards,
    Nagarjun.

    > Could any one tell me how to start a particular database in Unix/Linux
    assuming that my server consists of 10 databases.
    There is something very wrong in basic understanding of Oracle RDBMS architecture, when running 10 Oracle instances on a single server.
    10x temp space. 10x redo space. 10x SGA. 10x system processes footprint. This is NOT how one scales Oracle and NOT how one uses Oracle optimally.

  • Analysing SAP Java Memory Usage in Unix/Linux

    Hi,
    I need to analyze the SAP Java memory usage of Unix /Linux machine..NW 7.0
    Please guide with the commands and steps..complete prcedure.
    Based on it I should decide whether to create a new server node (or) increasing heap size
    Thanks in advance

    Hi,
    Do you have performance problems?
    How many CPU's are in the server?
    Did you check Log Configuration for delays or errors?
    Did you tune any exisiting parameters?
    You can add the nodes only if there is performance problems. You may think of adding one node to start with
    Proper number of server nodes within an instance:
    u2013 #ServerNodes = availableMemory / (JavaHeapPermSpaceStack)
    You can calculate the server nodes based on below formula
    No. of server Node = (RAM you want to assign or available RAM in GB)/2.5 ============> for 64-bit system
    No. of server Node = (RAM you want to assign or available RAM in GB)/1.5 ============> for 32-bit system
    Hence as per above discussion, we should go with 5 server nodes means,
    5 = RAM/2.5 (Assuming you are on 64-bit platform)
    i.e. RAM = 12.5 GB
    2). u2013 Configure JVM heap according to Note 723909 and Note 1008311 - Recommended Settings for NW 7.0 >= SR2 for the AIX JVM (J9)

  • To see the rman process running on UNIX

    Hi
    What is command on AIX / UNIX to see if we have any rman processes still running?
    Thanks.
    I tried ps -ef | grep oraprod (user) but see no rman processes.
    Many thanks

    There are 2 things what should be checked:
    1. from unix side as already pavan mentioned
    ps -ef | grep rman
    2. from oracle side to look for rman sessions:
    select * from v$session where program like 'rman%';
    If both requests return nothing - rman had finished his job and already from logfiles or with help of rman commands (list, report) You can understand īs the job done or not.

  • Sessions Not Closed After 'Execute Unix/Linux SSH Script' Activity

    Hello,
    Wondering if anyone out there has some experience with running "Execute Unix/Linux SSH Script" activities against a "Unix/Linux System" target and able to help?
    We have a process that runs an ssh script on a Unix/Linux target and in the 'Target' tab we specify to open a new session on the target we want.  It was our assumption that once the script is executed successfully that the session would be closed, however, that does not appear to be the case.  It seems the target receives a "disconnect" from CPO but if we run "who -a" on the host, the session still exists.  We are trying to run our activity/script in a while loop with a 60 second pause in between, and after 30 loops (30 minutes) the next call fails.
    What appears to be happening is, the session opens on the Linux target and every occurrence of the "Execute Unix/Linux SSH Script" activity is merely connecting and disconnecting using the same session that was originally opened.  But after the 30 minute idle timeout on the Linux host, the session is closed and the next occurrence of the SSH Script activity fails with the following error:
    This activity xyz did not return within the expected time period and was abandoned.
    Is there a setting in the target properties or activity properties that we're missing here??
    Thank you for any feedback or suggestions that may be out there!
    Neil

    Neil,
    I will discuss with you through email to find what exactly happened in your case.
    Thanks,
    James

Maybe you are looking for

  • After upgrading to a new 3GS, my original iPhone won't activate...

    After I upgraded to an iPhone 3GS, I restored the original iPhone with iTunes. Now, the iPhone says it's got an invalid SIM in it, and when I plug it into iTunes, it won't activate it. It's basically a brick now. Was I wrong in thinking I could now u

  • Setup ODI for multi user

    I am looking for best practice for setting up ODI to be use for multiple users. I would like to have several users to be able to work on the same package. Can they use the same work repository? How do I use version control? Thanks, Charles

  • Adding text to iPhoto picture collection for genealogy purposes

    I have over 1,000 old family photos that I'd like to label permanently with respect to year, people in the picture, location, etc. I know I can add a caption on iPhoto, but if I make a copy of the photos for other people in my family to view, how can

  • Function to find the greatest of two numbers

    Hi All In the rtf template, is there any function to find the greatest between two numbers? Please help Thanks in Advance

  • PKI authentocation with ISE

    Need some help with PKI authentication with ISE in terms of Configuration......need to deploy it in the network Minakshi