How to monitor Apps user

I have an application user (login as apps owner) hammering the apps/db..using 100% CPU and 19.2% of memory.
I can get the sid,pid etc from the unix server as shown below from TOP.
I log into the application and query the Monitor Users form and can see all users and the Oracle process column.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10526 applmgr 16 0 1136m 356m 351m R 100 19.2 17:09.88 oracle
How are the data above from the server and the applications related?
Is there any other way I can get the resp and what the user is running?
Thanks

As you said, you can get the OS PID from top. With that you can feed the following query to get the SID:
set linesize 120
column SID format 99999
column status format a8
column osuser format a8
column username format a8
column COMMAND format 999999
column MACHINE format a6
column MODULE format a10
column SCHEMANAME format a5
column action format a8
column LOCKWAIT format a8
column action format a8
select s.sid,p.spid os_pid,s.status, s.osuser,s.username,s.COMMAND,s.MACHINE,s.MODULE,s.SERIAL#, s.SCHEMANAME, s.LOCKWAIT,s.action
from v$session s, v$process p WHERE s.paddr = p.addr and p.spid = 'your_PID_here';
With the SID sucked from the last request, you can feed the following query:
select pid, v$session.sid, v$session.serial#, v$session.username, v$session.program, to_char(logon_time,'dd-mon-yyyy hh:mm:ss'), machine from v$session, v$process where sid = 'your_SID_here' and addr=paddr;
This should give you the PID of the user which you will hopefully see from the Monitor Users screen.
You can also do this via Grid Control and its an awful lot easier.
DA

Similar Messages

  • How to monitor end user response times?

    Hi everyone.
    I'm using Oracle Enterprise Manager 10.2.0.5.0 for monitoring our development environment. We have many products but my focus is on a web application that is running on an Oracle Application Server. I need to monitor the reponse time of every HTTP request to check if this time is in the range of our SLAs.
    I've seen that OHS monitoring shows the mean response time, resource consumption, etc. But I haven't found any that lets me do more detailed monitoring (at the level o HTTP request).
    I'm reading right now 3 books about it but it does't mention this feature (just in case):
    - Middleware Management with Oracle Enterprise Manager Grid Control 10gR5
    - Oracle Enterprise Manager Administration 10.2.0.5 (from Oracle Library)
    - Oracle Enterprise Manager Grid Contro lInstallation And Configuration 10.2.0.5.0
    ¿Does anybody knows if Enterprise Manager have this feature?
    Thanks in advance.

    Hi.
    Sorry for a long delay.
    The answer was so generic and didn't help too much. But today, after several days of research I found how to monitor the user perceived performance by using "End-User Performance Monitoring". In theory this feature lets me register a Web Server and monitor its access log and also create a SLAs monitor based on it.
    Right now I'm reading a lot about it just and trying of enable it to an OHS. I did it for an Oracle Web Cache.
    Anyway, thanks a lot for your interest and if someone find it useful, when I get more functionality working, I'll post something here.
    Best regards.

  • How to monitor DROP USER

    Hi Guys,
    Would anybody suggest me how to monitor the DROP USER command?
    OS: AIX, Oracle: 11.2.0.2
    CSM

    CSM.DBA wrote:
    I'm extremely sorry for not framing the question properly.
    I mean, Is there any way I can monitor the progress of the DROP USER command.
    To give more details, I have a schema with 500G+ data and I want to drop that schema. No doubt it'll take significant time but how to monitor how it's progressing?
    Using v$session_longops ?
    Aman....

  • How to monitor a user

    Hello every-one, I have been told to monitor a particular database user? Can you please tell me in details how to put that user under monitoring without letting him know? thanks heaps

    Hi,
    If you want to set tracing on for a particular session, you can use dbms_session.set_trace_in_session package after get get SID and SERIAL# from v$session view for that user that is connected ... Otherwise, if you want to audit the database objects activity for a specific user, then you can take a look at documentation about AUDIT command or take a look at these links below:
    http://www.oracle-base.com/articles/8i/Auditing.php
    http://www.oracle-base.com/articles/9i/CompleteDataAudit.php
    Cheers

  • How to detect apps users holding locks

    Dear all
    Finding out users holding locks is easy for database and then killing them using alter statement
    But when the Sid is revealed, how can i link them to apps users and find who the user actually was

    Sawwan,
    On my test server, i logged in from a user farid and held a lock on MTL_SYSTEMS_ITEMS_B table through the item master form
    Then i did as follows just to analyze how to find apps username holding the lock
    SQL> select object_id from dba_objects where object_name='MTL_SYSTEM_ITEMS_B';
    OBJECT_ID
    38489
    38715
    SQL> select * from v$lock where id2=38489 or id2=38715;
    no rows selected
    SQL> select * from v$lock where id1=38489 or id1=38715;
    ADDR KADDR SID TY ID1 ID2 LMODE
    REQUEST CTIME BLOCK
    000000009D869FE8 000000009D86A010 347 TM 38489 0 3
    0 165 0
    SQL> select paddr from v$session where sid=347;
    PADDR
    000000009F912AE0
    SQL> select addr,pid from v$process where addr='000000009F912AE0';
    ADDR PID
    000000009F912AE0 57
    SQL> select
    2 d.user_name "User Name",
    3 b.sid SID,b.serial# "Serial#", c.spid "srvPID", a.SPID "ClPID",
    4 to_char(START_TIME,'DD-MON-YY HH:MM:SS') "STime"
    5 from
    6 fnd_logins a, v$session b, v$process c, fnd_user d
    7 where
    8 b.paddr = c.addr
    9 and a.pid=c.pid
    10 and a.spid = b.process
    11 and d.user_id = a.user_id
    12 and a.SPID = &PID;
    Enter value for pid: 57
    old 12: and a.SPID = &PID
    new 12: and a.SPID = 57
    no rows selected
    Now can you plz tell me if all i did was right and the query doesnt work or something i did was wrong in the above action plan

  • How to monitor Database Users who ever is doing bulk transactions

    Hi All,
    We need to produce a report (daily basis ) which will provide User and Bulk Transaction details in Database to track the system.
    How to state a script to perform this monitoring ?
    RDBMS: 10.2.0.5.0 (64 bit)
    OS: RHEL-5.2
    Thanks,
    Tusar

    Hi;
    AFAIK there is no specific query for your issue. You can enable audit than can see what happen on your system
    Regard
    Helios

  • How to monitor connected users on filesharing in OS 10.9.1

    I'm trying to identify connected users to my  Mac running OS 10.9.1.  I know there are users logged on via filesharing since I get a message saying that there are (e.g. 2) users logged on when I try to restart.  In the past I used AFPstatus 1.5, but doesn't seem to provide information on connected users like it did in earlier OS's.
    Is there a simple terminal command since netstat command gives a long list of stuff which is mostly gibberish to me.
    thanks

    My Mac IT guru here called Apple Support and their only recommendation was to buy Mavericks Server, which is now only $20, and use as a utility to monitor logged-on users.  Seems like overkill plus our IT doesn't like us to run our own server.  I suspect this could be done through the terminal?
    I hope AFPstatus is updated.

  • How to Link AD user with Apps user

    Hi,
    We are in process of authenticating EBusiness suite users against their Active Directory credentials.
    We did the following:
    1. Import Apps users into OID
    2. Import AD users into OID
    We dont know how to link AD account with EBz account. Are we on right track?
    Please let me know if there is any document which explains the linking process.

    FYI
    I sucessfully authetnicated the AD user in OID against AD password using external auth.
    Do I really need to import ebusiness apps users into OID and then establish a link? Pls help me explain the process.

  • How to read weblogic user/password within a J2EE app ?

    All,
         There is an J2EE that exposes a webservice and the service can not be secured with ws-security since the service is an exact implementation of an standard that does not mandate  ws-secutiry and only insists on SSL/TLS. The application however needs a legitimate authenticated weblogic user for the rest of its work and hence the app has to read a known user created in the weblogic and then read its password as well and authenticate  within the app and use that authenticated subject. User can create this predefined user in weblogic and we may ask user to store the same weblogic password also in a CSF like OPSS and then have the app read the CSF, but since the password is available in the weblogic internal ldap, we want to leverage that and read the user's password using any of the weblogic mbean's APIs. Can anyone provide a pointer on how to read a user's password within the Weblogic's embedded ldap ?
         We referred to this Developing with the User and Role API - 11g Release 1 (11.1.1) & 6 Managing Security Realms with JMX but could not successfully get it working with J2EE app (Servlet/Filter).

    You can use JMX
    Please find a sample here
    List Users and Groups in Weblogic using JMX | Middleware wonders!!

  • How to monitor / shutdown processes and users?

    Hi,
    As you can see in my previous post i'm totally new to Arch and fairly new to Linux...
    Here's one thing that bothers me: I don't know how to keep track of all running processes (and end them if needed... I guess you need to 'kill' them but you first need to know their name, right...) and logged on users (even though that's only me, heh...)
    How can you do that in Linux? (something like task manager or another admin tool - or a command line version)
    Another thing... I think a wiki page 'securing the default Arch install' would be helpful...
    (flame me if there already is one, but I didn't find it )
    greetings,
    d.
    (I think Arch is going to be the one Linux distro to break the record of 1 month installation on my pc... woohoo!!!)

    Kern wrote:
    processes man ps
    Now only 2 questions are left: how to monitor logins, and how to secure Arch Wink
    Arch Wink, is this a subrelease of Arch? if so i've never heard of it. 
    I really don't know how that ended up in my post especially because I use semicolon, bracket instead of colon, wink, colon for my smiley...
    but as relates to securing Arch, of course I mean against network based attacks. The way you would try to secure Windows. I know how to own windows computers when I have physical access to them, and I guess it's the same thing with Linux pc's... but I want to feel secure that nobody from the internet is going to appropriate my box for illegal or other things, on those few occasions that i'm not behind a router/firewall (which I am not sure I trust either... it's a Linksys wireless/wired router with integrated firewall capability. How secure is that? I don't know!)
    Is there no way to deny all other pc's access to this pc? It's a laptop, not a server, so nobody has business accessing it remotely anyway... Actually, this is one of the reasons I had an eye on openBSD secure as hell...
    EDIT: since we're at it... another thing I don't find is how I can find out at what speed my cpu is running... is it going down to 600 MHz when Idle or isn't it? etc... That stuff is pretty easy to see in windows... must be feasible at least in Linux hey

  • How to monitor user logs,security logs,trace file,and performance monitori

    Hi guys,
    pls tel me how to monitor user logs,security logs,trace file,and performance monitoring.
    thanks
    regards
    kamal

    Hi,
    you can have a look in the Netweaver administration :
    http://<portal>:<port>/nwa
    Go to monitoring, Java system reports, etc..., you will find what you want.
    Fabien.

  • How do I change user name on apps store , it keeps showing a different email when I wanna buy apps.

    How do I change user name on apps store , it keeps showing a different email when I wanna buy apps.

    Go to Settings > iTunes & App Stores touch AppleID, sign off, and sign on with the proper AppleID.

  • [Enterprise App] - How to push app out if user cancels update

    I am using Mac OS X Lion Server's Profile Manager to push updates out to my iPad app users.
    When the user is prompted, "The server is about to update the app blahblahblah" he or she is given the choice to Update or Cancel.
    If the user presses "Cancel" there doesn't appear to be a way to push the app back out, even using Lion Server's "Update" function for the device.
    How do I do this?
    Thanks!
    D

    Update:
    I should have clarified that the App (as well as said theoretical device) is associated with a Device Group profile.
    It does seem as if this might be a bug in Profile Manager. Profile Manager is aware that the device refused the app update, but using the Update function on the device doesn't properly sync the app back to the device.
    Looks like the best way to handle this is to add the app to the profile for the device itself (which I don't otherwise use); have the user accept the app; then it's safe to remove it from the Device Profile so long as the device and app remain associated with the Device Group profile.
    Drew

  • [ADF custom task form] How to get logged user in Worklist app?

    Hi!
    How to get the user id, logged in Worklist application in a managed bean? I'm creating ADF task form for human task and i have to know which user is logged in.
    Thx!

    &lt;af:outputText value="Authenticated User: #{securityContext.userName}" id="ot2"/>
    or via standard j2se apis (Subject.getSubject(..))
    hth clemens (http://blogs.oracle.com/soabpm)

  • Chat App: how to store the user IP in database when they login.

    hello,
    i am working on chat application. first i made a login GUI form. after login when we run the Chat program, it ask the ip address of the server to whom it want to connect. and if u enter the ip address, it will connect to the server and chat will begin, thats working perfect.
    but i want to show the list of users who r logged on and when i simply click on the user name, chat should begin.
    i have the logic that when any user log in, then its IP address will be stored in the database. this ip address will shown to the online users.
    but i dont know how to store the user information in database when they log in. can any body suggest me wht lines of code i should use.
    thanks.

    palakk wrote:
    i have the logic that when any user log in, then its IP address will be stored in the database. Bad approach. That will only work if this chat is only intended for use on a LAN. If it's used on the internet, then your users' IP addresses will almost always be either a) those of their routers, or b) private IP addresses, and in both cases, multiple users can have the same IP address.
    this ip address will shown to the online users. Why would you want to do that? I want to chat with "Bill", not with "1.2.3.4".
    but i dont know how to store the user information in database when they log in.Do the same thing that you're currently doing to store the IP address, but with the other information you want to store.
    can any body suggest me wht lines of code i should use. This is not a code writing service.

Maybe you are looking for

  • DB adapter polling in OSB

    1. In a clustered environemnt, we need to use "Distributed polling" in DB adapter to make sure the multiple cluster instances are not polling for the database at the sametime. If "Distributed polling" can achieve that, what is the need to have single

  • HT204291 "Airplay error" when streaming video to TV

    I don't have an Apple TV and since upgrading my iPad neither netflix or NBC will stream via my tv hookup. Both give me an "airplay" error. I've been using an HDMI cable plugged into a lightning adapter that previously worked fine. Is anyone else havi

  • You don't have the privileges to create or run workbooks

    Hi Experts; I am using Oracle DB 10.2 , Discoverer version 10.1.2.0, EUL 5.1.1, EUL library 10.1.2.48.18 I use Role based security in my applications i.e. I am granting privileges to the roles and then granting the roles to the users, but I am having

  • Meta Policy

    Going through the book Adobe Flex 3 Training from the source, I get the following error. Warning: Domain www.flexgrocer.com does not specify a meta-policy. Applying default meta-policy 'all'. This configuration is deprecated. See http://www.adobe.com

  • Related to JCE : Badpadding Exception !!

    Hi all I was encryptng a public key with a public key and it gave me a badpadding exception... I m new to this ... just learnt how to enc/dec by reading a few ex. so i m quite not clear about what is happening.. What i did is this... I have a server