Find history user session total idle/connection time

HI Friends,
We can find current session  total idle and connection time. How can we find users each  history session   total connect time and idle time?
I try find in  v$active_session_history but no luck. we use oracle 11g with audit
Any suggestion?
newdba

592815 wrote:
HI Friends,
We can find current session  total idle and connection time. How can we find users each  history session   total connect time and idle time?
I try find in  v$active_session_history but no luck. we use oracle 11g with audit
Any suggestion?
newdba
is application 3-tier like below?
EndUser<=>browser<=>WebServer<=>ApplicationServer<=>DatabaseServer
How do I ask a question on the forums?
https://forums.oracle.com/message/9362002#9362002

Similar Messages

  • To find the user processes that are connected to a database currently ??

    Hi,
    I wish to find the user processes that are connected to a database currently.
    How to find this ?
    any specific table/view for this ??
    Thanks.

    Hi..
    You can use
    SELECT NVL(s.username, '(oracle)') AS username,
    s.osuser,
    s.sid,
    s.serial#,
    p.spid,
    s.status,
    s.module,
    s.machine,
    s.program,
    TO_CHAR(s.logon_Time,'DD-MON-YYYY HH24:MI:SS') AS logon_time
    FROM v$session s,
    v$process p
    WHERE s.paddr = p.addr
    ORDER BY s.username, s.osuser;
    HTH
    Anand

  • Error occuring during manual login after idle connection time out

    Hi,
    I am using a PowerBuilder (v11.1) application to access Crystal Reports (BOXI Enterprise v 3.1) using Opendocument. The app server is Apache Tomcat. We have implemented SSO using Vintela and at present we have set idle connection time out to 1 hr. The problem I am facing is listed below:
    The SSO Authentication works fine for accessing these reports. But when we try to run crystal reports after not using it for more than 2 hours system prompts us for login. I understand that we are getting login prompt because connection was idle for more than 1 hour but when we manually enter our login credentials it gives us an error 'An error has occured. An error occured while trying to view the document'.
    However after getting the above error if we again try to run the report, it works fine.
    Please can anyone provide us with some insight as to why this behaviour could be occurring. Any help would be much appreciated.

    ->in application connection time out is set to zero
    Are you sure? There are two different can timeouts you can experience: connection timeouts and command timeouts. The link posted by Praveen is about command timeouts. The default for the connection timeout is 15 seconds and the command timeout is 30 seconds.
    It is very reasonable to set the command timeout to 0, which means that wait forever. Waiting forever is less reasonable for the connection timeout. But when I think of it, I am not sure that 0 means "forever" for the connection timeout. So if you
    have set it to zero, maybe that is your problem.
    Else, I would suspect a network problem.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to find the User who changed the connection settings

    Hi Gurus,
    I am basically a BW guy but i am looking at your precious Guidance in this issue.
    We have a situation in our BW production system. The job loads are working fine till now but seems like someone has meddled with RFC connection with R/3 prod.
    The connection between R/3 and BW is broken. I would like to know if there is any way to find the User or some Log to find who might have medelled with the RFC's .
    Help is greatly appreciated.
    Regards
    satish M

    Hello Satish,
    Which release are you on?
    Option 1: Take a look in SM59 selecting the destination and there is a "last changed" information displayed.
    Option 2: the table for these connections are often not logged for table change logging, but if they are... then try transaction SCU3 on the backend tables (table RFCDES is a good start).
    (search for rec/client and recclient etc as search terms).
    Option 3: Why would someone change a connection? Try to analyze what happened during the time period after the change, or even immediately before the change (audit logs, system events, server statistics etc). A simple check would be via SM20 to see who started SM59 immediately prior to this. A more complex check would be analyzing the RFC profiles in ST03N.
    Option 4: On the R/3 side, you might be able to find the same auditable information as well (perhaps even the IP address of the caller?) Tip: The person might have created a dump... => transaction ST22.
    Option 5: There are some other additional logging, tracing and control possibilities at a deeper technical level, if used or active at that point in time.
    Cheers,
    Julius

  • Create new user session after RFC connects

    Hi,
    My client is non SAP. They connect to SAP through an intermediate software , using RFC connections. My client requires that when creating a BOM through BAPI, the "created by" column should have a user name they pass, and not the username with which the RFC connected .
    Is it possible to have a FM in which I can create a new user session, passing username and password, call the bapi that will create the BOM with this username, and close the session?
    Kindly help.
    Thanks in advance

    Most security audits will trigger a warning when they determinate that the RFC common user is allowed to use another logon id. Usually you can provide auditors a list of such id with explanation before the audit execution, sample of explanation to provide :
    - The RFC enabled FM which create the batch job must pass the logon id to be used, and the calling application must not allow user to change this value.
    - The RFC default logon, should be allowed to the minimal authorization required, and could be for example allowed to no transaction, only some RFC FM. (start with [Note 460089 - Minimum authorization profile for external RFC programs|https://service.sap.com/sap/support/notes/460089])
    Regards,
    Raymond

  • Difference between Idle Connection Time and HTTP Keepalive Duration?

    What is the difference between the Idle Connection Timeout and the HTTP Keepalive Duration configuration parameters? I thought that setting one or both of these values would cause the webLogic web server to terminate client requests that result in processes that run much longer then the time value set in these parameters.

    Both of these settings are protection against denial of service at the protocol level, Brian.
    <b>Idle Connection Timeout</b> is a generic timeout for idle connections, whereas <b>HTTP Keepalive Duration</b> is specifically for HTTP keepalive connections. (which doesn't cover T3, IIOP or jCOM)
    Both of those configuration options are related to freeing up resources like sockets and server-side objects in memory from idle clients.
    There's actually no way of stopping long-running processing on the server triggered by a client request that I'm aware of - there are ways you can alert system administrators that something is wrong however.
    The best bet there is defining a value for <b>Stuck Thread Max Time</b>, and also for <b>Stuck Thread Timer Interval</b>. That won't stop processing on the server, but it will cause a log message that can be sent on to a monitoring console like Openview.
    Beyond that, it's really an issue for application development. There are ways that you can put the brakes on, like ensuring that poentially long-running operations run under a transactional context, and setting a reasonable transaction timeout value. Also, checking for rollback-only settings inside EJB code.
    I could be wrong, but I'm pretty sure there's no easy answer here.
    Does that help at all, Brian?
    <br>
    Kevin Powe
    http://www.integral-techsolutions.com

  • How to find the user exits called at the time of posting the IDOC?

    Hi,
        Could anyone please how to find the user exits while posting a idoc?

    Hi,
    One way to ahive this is by, be ready with IDOC postiong,
    then go to ST05 transaction and activate the trace after checking Table Buffer Trace.
    Now post the IDOC then deactivate the trace.
    Now come back to ST05 and display trace and search for calls starts with EXIT_.
    Regards,
    Manoj Kumar P

  • How to find out user session??

    I have deployed application using Oracle 9iAS server. At times
    the IAS server cpu goes 100% and if I see the task manager only
    one (or) two ifweb60 (forms session) session taking the maximum
    cpu time out of 60 ifweb60 sessions. I want to know which NT
    user has initiated the session. When I see the session info. in
    my backend, all the session showing the same account which is
    nothing but Service account configured for IAS. Is there any way
    to identify this???

    dear Ragothaman
    I work under 817, if I see that someone is doing a killing/resource select I do this:
    first I query the view V$SQLTEXT and V$SQLAREA
    then...
    select SID, SERIAL#, USERNAME, MODULE from v$session where username='USER_NAME';
    then I get the SID & SERIAL# and get him/her out of the way :)
    ALTER SYSTEM KILL SESSION '48,2285';
    in which the SID=48 and SERIAL=2285
    nasty isn't it? :>
    rjh

  • Custom web parts in SharePoint 2013 becomes inactive when the session is idle for long time.

    Hi,
    We have a search center site with custom web parts and custom master pages. When the session is inactive for long time all the custom web parts in the page doesn't work, unless we close the browser and open it. Where as this is not the case with the
    OOB web parts. We are not able to identify the root cause as it works with OOB web parts and not the custom web parts.We were able to find that by increasing the session timeout of the web application we can avoid this issue.We do not want to increase the
    session timeout as the OOB web part works perfectly even when the user session is idle for long time.Is there any other alternative where we can acheive the same for custom web parts when the session is idle for long time?
    Thanks,
    Saranya

    Hi Saranya,
    According to your descirption, my understanding is that when the session is long time idle ,then custom web part will not work.
    I suggest you check if you have enable the session in the Page Level in the web.config. By default SharePoint disable the session state.
    In the web.config, you will see <page enableSessionState> tag. You can modify like below and test if it works.
    <pages enableSessionState=”true” ….. />
    Here is a detailed thread for your reference:
    Use Session State in SharePoint
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • EclipseLink timeout on idle connections

    Hi,
    I'm using EclipseLink 2.1.0 + MySql for a web application. Internal connection pool is used instead of Tomcat maintained pool.
    The issue I'm currently facing is that connections in the pool become idle during the night (when the application is indeed idle).
    In the morning the first attempt to use a connection fails, but further attempts work fine.
    I've heard that H3C0 (Hibernate) and other connection pools support a feature that sends a sort of heartbeat packet to
    keep the connection alive so that every connection in the pool does not timeout (e.g. using the testConnectionOnCheckout
    property).
    Is it possible to get the same behaviour on EclipseLink in order to avoid that an idle connection times out ?
    Matteo

    It turned out that the feature I was looking for is not implemented in EclipseLink 2.1.0.
    In order to fix my problem I had to change the configuration of EclipseLink to use the Tomcat connection pool (dbcp). This provides the following useful parameters:
         testWhileIdle="true"
         validationQuery="select count(*) from dual"
         minEvictableIdleTimeMillis="2880000"
    Basically this checks every 8h idle connections performing the validation query, thus avoiding timeout. Simple and good!

  • How to find users sessions connected in (11.1.0.7 & R12.1.1)

    We have 11.1.0.7 configured in our env with E-business suite R 12.1.1 .
    we created different users e.g John , Mark and they are connected through e-business suite application form. But when i query V$session table i dont find these users there.
    Where i can find the status of these connected users ?
    PLease reply

    Usually you start with the Oracle schema that install the application on the database. In my case, I created a schema called QC (quality control) with it own tablespace (QC) - a software from HP. From this schema, I can see all users created via this schame and in the tablepace QC.
    Another trick would be to use all_users table to check for the usernames: select * from all_users;

  • One of the users on my Mac book pro, running Mountain lion finds that no changes made in last session are there next time they log on

    One of the users on my Mac book pro running mountain lion finds that no changes made in last session are there next time they log on.
    For instance, the Macintosh HD icon, is always moved so that it is almost off the screen to top left hand side of the desktop.
    None of my changes to the sidebar in the finder are there.
    My changes to the dock have reverted.
    Despite unticking the box when logging out, even though i have quit all applications, iphoto and safari are always re-opened.
    iphoto always says the library needs to be upgraded... even though i did that the last time.
    I have tried deleting ALL the files in the "Saved application state" folder in the library folder, but that doesn't seem to make any difference.
    This is on a second admin user account.
    The main user account seems to be fine.
    This account used to be in the filevault on Lion, but is not now in Mountain Lion.
    Can anyone help?
    Thanks

    The same tragic thing happened to me, not even a full two days after I bought it. I immediately powered it off, wiped it as best I could, and put it in front of a fan. I tried valiantly to get the back off, but couldn't remove all the screws. I was basically inconsolable until I realized that no matter what, my credit card insurance would cover it, since it had been less than 90 days. Fast forward 48 hours, and it seemed to run just fine. Some of the keys and the track pad were sticky, and I figured since it was covered, I might as well get it fixed. My only concern at this point was had I voided the Apple Care. I brought it in, told them what happened, said what I needed to satisfy the credit card, and they said, "We'll just swap it out for you, no problem." I was thrilled, and the Genius said they appreciated my honesty, and it was easier for all parties to just do it this way. And my Apple Care was transferred to the new machine. This was my first Mac and, needless to say, I am now an Apple devotee.

  • How to find and kill session similar to forms user session

    We have a forms and reports based system that uses the oracle sessions. Sometimes if a form takes a long time we have the need to navigate to iAS>Forms>User Sessions, find the IP of the machine where the form is not responding and kill it based on the IP of the troublesome machine.
    I want to add this into our forms environemnt so people can kill their own sessions if need be but not sure how this is handled
    is it a simple alter system kill session in the db or something different.
    also how is the ip found to match the session?
    Thanks

    hi,
    Instead Set session timeout parameters..So that user gets logged off automatically from the application after a particular interval of time
    For this you have to make changes in httpd.conf file,web.xml file and env file
    Regards
    Fabian

  • Deterimining bandwidth/concurrent users/connect time from the logs

    Hi Guys,
    Looking at the pricing survey, not sure where our app fits in, but something on the order of what I've listed below.  Somehow I think we fit into a minimal usage case:
    1) 2 hours per day, less than 10 concurrent chat users,
    2) each chat session under 100 messages, 10 lines per message, per session?
    What would this mean in terms of resource usage?
    We've just run an internal alpha.  How do I look at the resource usage?  Is there a way for me to see how much bandwidth / max users / concurrent connections have been used for a given account/room?
    I hope there is a quick and easy answer.
    --Doug

    Thanks!  This helps a bunch. I went back to the survey but I'm not allowed in, so I'm going to ask.  Projecting our usage (based upon a 1 hour alpha):
    52K minutes per month
    400K messages per month
    <1GB bandwidth
    Under some of the pricing models, how much would our chat application cost on a monthly basis?
    What could be done to reduce the concurrent connection times of our application, besides timing the users out?
    Thanks,
    --Doug

  • How Can I Release sessions if these are idle long time Automatically.

    Dear Experts,
    How Can I Release sessions if these are idle long time Automatically based on some time frame..
    So that session memory will be free and when i go to reconnect the session then we will have enough memory for our transaction processing.
    I am asking this question because, In my case (Web Load Testing) after completion the processing this parameter still showing 86% Usage.
    so How Can I release it.

    Change value of IDLE_TIME in profile or better create new profile with less IDLE_TIME and assign to users.
    IDLE_TIME Allowed idle time before user is disconnected (minutes)
    Below is example if user is idle for 20 min , he/she will disconnect
    ALTER PROFILE developer LIMIT idle_time 20;
    Cheer,
    Virag Sharma

Maybe you are looking for

  • Report for vendor balances

    Hello, I need to run a query or transaction to find the vendor opening and closing balances at the beginning and end of the financial years. Is there any standard report that can provide both these amounts? or any transparent  tables that hold them?

  • Strange calculation of free space

    Hi! I can't understand how size of free space is calculated. For example: in my mailbox i have 3 folders Incoming  40.4 Mb Sent 13.1 Mb Junk 302 Kb In total about 55 Mb but in Statistic writtent, that ocupied 161.7 Mb Same situation3 with Documents a

  • How to list top 10 biggest files?

    Hi Friends, In OEL 5.4 I have seen a script before that will list the top 10 biggest file by size(bytes) in linux. But i forgot where I saved it :( Can you help me find the link about it please. Thanks a lot, Ms K

  • SetSRSPropertiesCA error: Invalid namespace .

    Dear members, I am trying to move the SCOM 2007 DataWarehouse and Reporting Services in a new database server (Windows Server 2008, SQL Server 2008 R2 with Service Pack 2), but when I try to install the DataWarehouse Component in the new server I get

  • How do i disable ALL notifications from lock screen?

    I do not want ANY notifications on my lock screen. This is a security issue. How do i disable them, other than individually editing preferences for each individual app, and remembering to do this every time i install a new app?