How to know time in which session last activity is done

Hi ,
I want to know that in which users session last activity time is done. I am seeing inactive session but i want to be sure that the last activity is done on the same day when i am going to kill the session after checking users session by v$session.
Regards,
Vikas

Look at V$SESSION.LAST_CALL_ET.
Quoting the documentation :
LAST_CALL_ET NUMBER
If the session STATUS is currently ACTIVE, then the value represents the elapsed time in seconds since the session has become active.
If the session STATUS is currently INACTIVE, then the value represents the elapsed time in seconds since the session has become inactive.
Hemant K Chitale

Similar Messages

  • How to know the internal table's last record

    Dear friends,
    Just I want to know my internal table last records, Ex:
    I am having the records in my internal table like this:
    Itab-col1
    1
    2
    3
    4
    5
    6
    7
    8
    9
    I want to know and print the last record, it maybe n number of records in my itab.
    If I used at last within a loop but it dosn't work its taking the all *** in header.
    How to know which is the last record in my internal table.
    Thanks,
    Sridhar.

    hi,
    sridher reddy
    1st describe ur table i.e read the number of entries in the table .....
    data : count type i.
    DESCRIBE TABLE <table name > LINES count.
    READ TABLE <table name > INDEX count.
    write : <table name>-<fieldname>.......... .
    by this way u can print the last record of your table

  • How i know when a EXECUTE_QUERY retrieved last record

    Hi...
    How i know when the EXECUTE QUERY retrieved the last record in a block ....?
    Exist a trigger after trigger POST-QUERY?
    Regards
    Hector Gabriel Ulloa Ligarius
    Santiago of Chile
    http://es.groups.yahoo.com/group/desarrolloOracle/

    Kevin, sorry
    But the :system.last_record not change the value during the execution of EXECUTE_QUERY.
    Only useful when the data was retrieved into blocks...not during..
    Other mode?
    Regards
    Hector Gabriel Ulloa Ligarius
    Santiago of Chile
    http://es.groups.yahoo.com/group/desarrolloOracle/

  • How to know interface on which packet arrived

    I am trying to receive raw IP packets in Solaris. Is there a way
    to know which interface the packet arrived on. Stevens mentions
    that ancillary data should provide the incoming interface
    information, but does it work on Solaris ?

    Hi Dilip,
    where in ecc side i can see same count
    Goto R/3 system> RSA3 transaction> there will be two fields Extraction or something & no.of calls--> set them to max values like extraction = 100000 & no.of.calls=100
    Then click on the Extract button--> you will be able to see the number of records
    want to know from which table from source side data is coming to this infobject
    Goto transformation between the DSO & DS... Here check to which IO the filed 0PRODORDER is mapped
    Then goto SE11 transaction> enter the table name> click on contents--> check the values for that field
    If you dont know the table name> goto RSO2 transaction> enter the DS name> display> here you will be able to see from where you are getting the data>>then follow the above step(SE!11)
    (or)
    double click on that source (might be table /FM/Etxtract structure etc)> it will take you to that source structure> contents--> check the field values
    Hope it helps!
    Regards,
    Pavan

  • How to check if a user session is active in Java application server

    Hi Experts,
          We have a online scenario with a third party system by which a portal user will launch the third party application in a new window from portal. The SSO will work at the third party web application with the dynamic key that is generated by calling a webservice for that user. Now, as the user works on the launched screen, they will have to check whether the user (logged in portal) session is still active. ie., they will be periodically calling a service hosted by SAP java application server to find out whether the corresponding user who launched the session is still logged in or logged out.
    So, my question is, how can i find out programatically whether a user/user's session is still logged in/active in SAP Netweaver Java AS? We are in version 7.3.
    Kindly help me in this regard.
    Regards
    Vijay.K

    Hi Vijay,
    Could you check below links
    Tracing Single User Sessions - Administration - SAP Library
    Display and Manage User Sessions (SAP Library - Tools for Monitoring the System)
    Hope this helps.
    Regards,
    Deepak Kori

  • How to get component from which PropertyChange is activated

    I have a PropertyChangeListener on JInternalFrames. The frames are added using same method. I need to know from which component (frame) the 'close'-property is changed. I cannot figure out how to get it.
    When a propertychange is fired, how do i know from which componen (frame) it is fired?
    Common method to create frames is as follows:
             private void createPanel(JInternalFrame myFrame) {
            myDeskTop.add(myFrame);
                myFrame.pack();
            myFrame.setClosable(true);
                try {
                    myFrame.setMaximum(true);
                } catch (PropertyVetoException e){}
            myFrame.addPropertyChangeListener(new PropertyChangeHandler());
        }Code to execute handler is as follows:
        class PropertyChangeHandler implements PropertyChangeListener {
            public void propertyChange(PropertyChangeEvent e) {
              if (((String)e.getPropertyName()).equals("closed")){
                  if (myActiveApplication.equals("myPanelTestje")){
                      myPanelTestje = null;
                  if (myActiveApplication.equals("myFrameTestje")){
                      myFrameTestje = null;
                  if (myActiveApplication.equals("myHolidays")){
                      myHolidays = null;
                  if (myActiveApplication.equals("myInsurance")){
                      myInsurance = null;
            }

    Indeed no need to cast.
    When i click 'close' in the upper right corner of the JInternalFrame, the handler is executed and e.getPropertyName results in "closed". So, the correct property is activated but the problem was, how to detect from which JInternalFrame it was originated? The only way to find out from which panel the 'close'property is activated seems to be a test on the 'instance' (as in the example). Don't know if there is any way to check the panelname itself? It would be something like: e.getSource().getComponentName()
    class PropertyChangeHandler implements PropertyChangeListener {
    public void propertyChange(PropertyChangeEvent e) {
    if (e.getPropertyName().equals("closed")){
    if ((e.getSource() instanceof testApp)){
    myPanelTestje = null;
    if ((e.getSource() instanceof testInternalFrame)){
    myFrameTestje = null;
    if ((e.getSource() instanceof HolidayMenu)){
    myHolidays = null;
    if ((e.getSource() instanceof Insurance)){
    myInsurance = null;
    }If someone has a better way, please let me know. Otherwise consider this question closed.
    Thanks for the replies.

  • How to know the time elapsed

    hello all,
    iam new to using labview and would like to have some tips on how to know time taken by my program or design to complete execution

    Hi Chander,
    good question, but you state in your first post that you don't know much about LV (we all did once, truly) and then in the second post you mention large application. I need to warn you if you want to make a large applicatoin don't RELY on these forums. They are very usefull, but we can't do your work. If you want to do a large application AND you are a fresh labviewer attend some courses (basic I&II to learn LV and intermediate I to write large applications). And off course experience, experience experience.
    Good luck,
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to Use Time Capsule to Backup Three Computers?

    Hello,
    I just unwrapped my new Time Capsule today, and am starting to set it up. I did all the AirPort Utility stuff, and the Wi-Fi is working great. I now know how to set up Time Machine on my computer, but I need to know how to get Time Machine on three computers. I don't know if I have to partition or what, so may I have instructions please? Thank you!
    C h r i s t o p h

    Oh that's an easy one. Simply install the TimeCapsule software onto each of the computers you plan to back up. Once installed, you will be able to use the same set-up from your computer, select the Airport Extreme Time Capsule, and begin the back up.
    Time Capsule will create an individual data file for each of the computers backing up to it. My only advice (you probably already know this) is to do your first back-up using an Ethernet cable. You are good to go from there.

  • How do I find out which computers I have activated on iTunes?

    I am trying to activtate my laptop on iTunes and it keeps telling me that I already have 5 computers activated.  I checked my old laptop and it says it is not activated.
    So, how do I find out which computers are activated? How do I take the old ones off the activation list if I no longer own them? I no longer have the HP Vectra computer listed below.

    You cannot identify them. However you can deauthorise them all and then reauthorise the ones you need.
    To Deauthorise all
    go to Itunes Store Select Account from the Quik links section
    Use the Deauthorise all button
    To reauthorise a machine
    Store > Authorise this computer.. in the Top Menu (You may need Ctrl B to see it in windows)

  • How to know the User name and date, who executed the report last time.

    Hi All,
    We are collecting a list of reports which are not executed for past 3 months. Can anybody tell me how to know the username and date they executed the report last time.
    Is there any table to look ? or is there any process ?
    Thanks,
    Ravi.

    Ravi,
    Use SE16 - then look at rszcompdir.
    We look up Version = 13 for queries.
    Regards
    Gill

  • How to know on which time dimension level we are ?

    Hello,
    I would like to know is there a variable or a mean to know dynamically on which time dimension level we are in order to use that in a CASE WHEN clause ?
    By using a sort of aggregation tables in which one of the column contains the name of the level, I could know on which level I am but I can't use that for drill down. What I mean :
    Tab1 :
    'Year' as typelevel, year
    Tab2 :
    'Month' as typelevel, year, month
    In BMM, I have made one logical table with as Source tab1 and tab2 and as columns typelevel, year and month.
    tab1 has in content column the year level
    tab2 has in content column the month level.
    So when in Answers I retrieve
    typelevel, year
    the result is : 'Year', 2008
    and when I request : typelevel, year, month
    the result is : 'Month', 2008, 1
    But if I want to drill from year to month in order to have :
    'Year', 2008
    and then after drill
    'Month', 2008, 1
    it is impossible as a filter on typelevel='Year' is added on the month level, so it retrieves 0 columns.
    If someone has an idea on how to do that it would be very great.
    Thanks in advance for your help.

    Hi Supriya,
    OOTB I think you can use SharePoint designer, but I would suggest  custom code to iterate to all pages, and get the lists that are associated with these pages.
    http://stackoverflow.com/questions/633633/sharepoint-how-can-i-find-all-the-pages-that-host-a-particular-web-part
    another one would be if those lists were never used and you can check for list with empty data.
    I would use Get-SPLists to get all of the lists to check for zero items.
    http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/15/use-windows-powershell-to-manage-lists-in-sharepoint-2010.aspx
     http://sharepointrelated.com/2011/11/28/get-all-sharepoint-lists-by-using-powershell/
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How to know user session time

    Hi,
    I want to know how to know or calculate the user session time till now from the time when user got connected
    in simple current_time-begin_time.
    thanks in advance

    Try using the logon_time of v$session
    test@>desc v$session;
    Name                                                  Null?    Type
      LOGON_TIME DATE All columns of the view have not been displayed.
    Adith

  • I don't know how to setup FF to open in last session of windows wont let me save current sessions like it used to ask me fairly disappointing can you help m? Phil

    Question
    i don't know how to setup FF to open in last session of windows wont let me save current sessions like it used to ask me fairly disappointing can you help m? Phil

    ''want FF to open in last session of windows -- won't ask me if I want to save current sessions like it before''
    '''You can still have the old messages''', to make sure you get your tabs restored immediately, but with or without the messages and whichever way you respond to the message you can still get back your previous session through the History menu. (see item #31 "tabslost")
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#tabslost
    You can make '''Firefox 6.0''' look like Firefox 3.6.*, see numbered items 1-10 in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 6.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
    * http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface

  • How IDE knows which third-party plug-in to invoke at run time?

    I always wonder how Java IDE loads 3rd party plug-ins to the IDE's menu bar??
    IDE should have a menu item that associates with each 3rd party plug-ins, so
    that programmers can choose whatever plug-in they prefer easily.
    In the plug-in JAR file, it should have a configuration that indicates the name
    of this plug-in, so that Java IDE can create a menu item with this name.
    Before IDE starts, IDE application should do the following things at run time.
    If the following tasks are done at compile time, it is very easy to code. But
    when it is done at run time, then I have problems to figure it out #2.
    1) loads the plug-in JAR file and create a menu item in IDE menu bar.
    2) add action listener to the menu item. When programmers click
    the menu item, Java IDE can identify which plug-in to invoke.
    Please advise!

    Try looking at the source code for the opensource project jEdit. The do a good job of managing plugins.
    Josh

  • How to know which session id has acquired an object ?

    Hello,
    We work on database 11.2.0.2 and aw 10G style.
    concurrent users attach an aw in multi mode.
    They make update on cubes and on dimensions.
    They use the olap command Acquire before update changes.
    When an object cannot be acquired, i would like to know which session lock this object.
    best regards
    jean marc

    That's an interesting question.  I'm surprised that nobody has asked it before.  The following query will identify all sessions holding object locks:
    select a.aw_name,o.obj_name objname, e.sid sess_id
      from dba_aw_obj o, gv_$enqueue_lock e, dba_aws a
      where
      e.type='AO' and
      o.aw_number=e.id1 and
      a.aw_number = e.id1 and
      bitand(o.obj_id, 1073741823) = e.id2;
    Jim Carey
    OLAP Development

Maybe you are looking for

  • Container operation step in BPM using context object

    Hi all, in my BPM I have a send step using the file adapter. The file adapter builds a dynamic filename. Now I want to have the filename back into an acknowledgement. First, I need it in the container, right? So after the send step, I have a containe

  • Runtime error in RSA3

    Dear all,   I have one doubt, When i checked in rsa3 with my std extractors am getting run time error, the data record around more than 10 lak records, Short text     SAP paging overflow when storing data in the ABAP/4 memory. What happened?     The

  • How to add all site activity to site Newsfeed

    Hi, After extensive search and research (and a number of dead ends) I am coming up empty handed on any info re: how to expand the functionality of Newsfeed within Sharepoint. My goal is to create a Newsfeed that includes more activity than just what

  • How to create folders in mail?

    How do I create folders in Mail?

  • Axis - Null pointer exception

    Hi I am getting the exception while running a small program to print the argument passed . I think it is some xml parsing problem . I am using axis1.3 and weblogic 8.1 . Any one can help ? AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelop