Who logged in particular time frame

I have my query below. I want to find out who logged in particuler time frame. Please help.
set linesize 80
ttitle "Current Oracle Users"
column fname new_value _fname
column pu format a8 heading 'O/S|Login|ID' justify left
column su format a20 heading 'Oracle|User ID' justify left
column stat format a8 heading 'Session|Status' justify left
column ssid format 999999 heading 'Oracle|Session|ID' justify right
column sser format 999999 heading 'Oracle|Serial|No' justify right
column ppid format 999999 heading 'Oracle|Process|ID' justify right
column spid format 999999 heading 'UNIX|Process|ID' justify right
column txt format a28 heading 'Current Statment' justify center
select 'cu'||to_char(sysdate,'yymmddhhmiss') fname
from dual;
rem spool &_fname
spool who_is_on.lis
select p.username pu,
s.username su,
s.status stat,
s.sid ssid,
s.serial# sser,
p.pid ppid,
lpad(p.spid,7) spid
from v$process p,
v$session s
where p.addr=s.paddr
and s.username is not null
order by 1,2,7
/spool off
exit

Please help with what?
You've told us you have a query, you've told us you want to know the logon time, you haven't told us anything really.
Is the current problem that you need to add s.LOGON_TIME, to your query?
Or is the problem that you expect V$session to keep a complete history for you and it does not?
I'm assuming no one has tried to help you because you haven't really told us the problem you have in any detail.

Similar Messages

  • Can I get a transcript of text messages for a particular time frame, without a court order?

    I would like to obtain a transcript of text messages from the last 2-3 weeks from a particular number to mine.  Will Verizon do this without a court order?

    No, once you delete them they are gone unless you have backed them up in some form.
    SMS Backup & Restore would be one such program which will back up your messages for future reference. It won't help with messages you have already deleted before performing the backup.

  • Manuals users should not be able to submit a concurrent program at a specific time frame:

    Hi
    Please let me know is it possible to restrict some users to submit a Concurrent program during a selected time frame .
    Eg we have an issue in which Process Lockboxes concurrent Program is submitted by the batch user and is also by the Users manually from Front end .What I want is that during a particular time frame everyday say from 12:00 AM to 6 PM I want to restrict manual users to submit this program ,whereas the Program can be submitted by the Batch user any time  .
    Please let me if its possible to achieve this and how .
    Thanks
    Rishabh

    Please don't post duplicates -- restrict user to submit concurrent Program
    Continue the discussion in your original post.
    Thanks,
    Hussein

  • FTP Adapter restrict polling frequency active time frame in a day

    Hi All,
    Is there anyway I can restrict FTP adapter polling frequency to be active during a particular time frame of the day. Say, my service should poll the incoming location for Sales order data for every hour during business hours of the day.
    Thanks,
    AG

    Hi
    SOA Suite 12c will expose Oracle ESS as the scheduler.
    ESS will allow you to schedule soa composites / OSB services etcand allow you to enable / disable them based on jobs, which is what you desire.
    12c SOA Suite is expected later this Summer.
    Cheers
    iain

  • Outllook API to know who have booked the room at the particular time - ews-java

    Hi,
    As, of now i am able to get whether the particular meeting room is free/busy at the particular time, now I want to know is there any Outlook
    APIs for getting the details like If
    booked, who has booked that room. Employee Name, and other details if any.
    I need to know what are the APIs need to be used, I need to develop in JAVA, so java api is required. Any sample is there, please provide me to work on. Please help me. Thanks in advance

    anyone?

  • Log shipping is not restoring log files ata particular time

    Hi,
    I have configured log shipping and it restores all the log files upto a particular time after which it throws error and not in consistent sate. I tried deleting and again configuring log shipping couple of times but no success. Can any one tell me 
    how to prevent it as I have already configured log shipping from another server to same destination server and it is working fine for more than 1 year? The new configuration is only throwing errors in restoration job.
    Thanks,
    Preetha

    Message
    2014-07-21 14:00:21.62    *** Error: The log backup file 'E:\Program Files\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\Qcforecasting_log\Qcforecasting_20140721034526.trn' was verified but could not be applied to secondary database 'Qcforecasting'.(Microsoft.SqlServer.Management.LogShipping)
    2014-07-21 14:00:21.62    Deleting old log backup files. Primary Database: 'Qcforecasting'
    2014-07-21 14:00:21.62    The restore operation completed with errors. Secondary ID: '46b20de0-0ccf-4411-b810-2bd82200ead8'
    2014-07-21 14:00:21.63    ----- END OF TRANSACTION LOG RESTORE     -----
    The same file was tried thrice and it threw error all the 3 times.
    But when I manually restored the Qcforecasting_20140721034526 transaction log it worked. Not sure why this is happening. After the manual restoration it worked fine for one run.ow waiting for the other to complete.
    This seems strange to me error points to fact that backup was consistent but could not be applied because may be restore process found out that log backup was not it correct sequence or another log backup which was accidentally taken can be applied.
    But then you said you can apply this manually then this must be related to permission. Because if it can restore manually it can do it with job unless agent account has some permission issue.
    Ofcourse more logs would help
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • To find the user who logged in

    Hi,
    one of my database was crashed on yesterday due to redo log file overwritten (from alertlog) .
    I wanted to check who logged in that particular time.
    Is there is any way to find that.
    Thanks
    Vijay

    cherukuri wrote:
    ORA-00305: log 12 of thread 2 inconsistent; belongs to another database
    ORA-00312: online log 12 thread 2: '/dev/mapper/oraOPSSTG2_redomirr_002_1000Mp5'
    ORA-00305: log 12 of thread 2 inconsistent; belongs to another database
    ORA-00312: online log 12 thread 2: '/dev/mapper/oraOPSSTG2_redo_002_1000Mp5'What did you perform last administrative operation?
    Did you created second database and gave same paths? First solve this inconsistent problem.
    And about above errors ,these error messages are equivalent losing online log files.So issue RECOVER DATABASE UNTIL CANCEL and enter CANCEL word then ALTER DATABASE OPEN RESETLOGS,After that post result here(probably you have to perform incomplete recovery)

  • CSM ret-code time-frame

    A company I work for has a number of CSM modules (WS-X6066-SLB-APC) installed in 6513 chasis switches. The CSM modules are running version
    4.2(14)
    These CSM modules are configured to load-balance a number of vservers via serverfarms, each serverfarm containing multiple real servers.
    Here is some example configuration:
    vserver SITE
      virtual 10.1.2.3 tcp www
      serverfarm SERVERFARM
      persistent rebalance
      inservice
    serverfarm SERVERFARM
      nat server
      no nat client
      predictor leastconns
      failaction reassign
      retcode-map RETCODE-MAP
      real 10.2.3.4
       inservice
      real 10.2.3.5
       inservice
    map RETCODE-MAP retcode
      match protocol http retcode 503 503 action remove 5 reset 300
    The company is facing a problem with what seems to be related to return code checking. Every once in a while a server will suddenly not receive any traffic for 5 minutes. This always occurs right after the server has sent a HTTP 503 return code. However we cannot see in the CSM logs that the CSM module has actually disabled the real server. For other serverfarms which are running regular HTTP and/or ICMP health checks to real servers we can clearly see in the CSM logs when a real server has been temporarily disabled due to health check failures.
    The return code checking is set to disable a real server for 300 seconds after the CSM has received five HTTP 503 responses from the real server. If we check the real server log however we cannot find more than that single 503 return code right before the server stops seeing any incoming traffic unless we move back at least hours in time.
    I have tried to figure out what time frame those 5 return codes must be received within for them to count towards the maximum allowed return codes, but nowhere in no documentation can I find any information about this time frame.
    For all I know the CSM could keep track of every incoming 503 forever, until the maximum of five 503's is reached, and then the server is disabled for 300 seconds.
    Does anyone have any information about the time frame within which those return codes must be received by the CSM to count toward the maximum configured number of return codes before the configured action is taken?

    Hi Christopher
    EDIT: It might actually be me who misunderstood your reply. You probably gave me the correct answer already, that there is no time limit at all to the counter, and the counter will increase until it reaches 5 even if those 503's are spread out over several months time. Could you please confirm that this is what you meant? I'll leave my original reply down below for you to look at.
    ORIGINAL MESSAGE:
    Thanks for your reply, but I think you might have misunderstood my question, and I don't exactly blame you because I had some difficulty explaining what I meant.
    I know what each and every key word in the following line mean, and I understand the command.
    match protocol http retcode 503 503 action remove 5 reset 300
    We match the protocol http, and look for when/if the server sends a return code 503 back to a client. Each time a 503 return code is returned from the real server a counter is increased by one. When the counter reaches 5 we take the action to remove (disable) the server. 300 seconds after the server was disabled it will be enabled again, and the counter will also be reset to zero at this point.
    But I'm asking about the time frame for the counter, or rather if there is a default timer that resets the counter back to zero after a certain amount of time. Let me give you an example.
    I enable return code checking for HTTP 503 and configure it to disable a server after five HTTP 503's have been seen by the CSM
    1 minute later the server sends three HTTP 503 messages to a client. Now the return code check counter is at 3. This is where the "time frame" that I speak of begins.
    Another 6 minutes later the server sends one HTTP 503 message to a client. The time frame within wich the CSM has seen HTTP 503's is now 6 minutes, so the CSM has seen four different HTTP 503's within 6 minutes. The counter would now be at 4.
    5 months later the server sends a fifth HTTP 503 message to a client. The time frame is now five months and six minutes. Will this fifth HTTP 503 message increase the return code check counter to 5? If it does, then the server will be disabled for 300 seconds, even though it was 5 months since the previous four 503's were seen by the CSM.
    What I'm wondering is basically if there is a limited time frame (like a sliding window) after which the return code check counter is reset back to zero? I cannot find any information about this, and as far as I can see there is no command I can use to see what the return code counter is currently at either, so I cannot manually verify this.
    It would have made sense if the feature worked like this instead, and I'm still hoping that someone can provide documentation that says this is the way it is supposed to work (because if the above example is true, then the feature is broken and useless)
    I enable return code checking for HTTP 503 and configure it to disable a server after five HTTP 503's have been seen by the CSM
    1 minute later the server sends three HTTP 503 messages to a client.  Now the return code check counter is at 3. This is where the "time  frame" that I speak of begins.
    5 minutes later the counter is reset to zero, because no 503's have been seen for over five minutes.
    2 months later the server sends a HTTP 503 message to a  client. This increases the counter to one. The server is never disabled. After another 5 minutes the counter is reset back to zero again.
    I hope that the above examples make it a bit clearer what I meant with my original question.

  • Time frame for SAP implementation query

    Hi guys,
    I am a university student and am currently trying to collect some information for my paper on development of ERP systems in industrial companies, particularly SAP. I'm meant to do some field research, but it is proving to be rather difficult, which is why I wanted to ask for some help from people who have experience in the implementation of the SAP system.
    What I'm looking for is the time frame that the SAP system takes to integrate into an industrial firm. Also, the scope of integration (ie how many and which modules were added on top of the core SAP system) and the number of users after the full implementation of the system.
    I don't need the name of particular companies, as I understand that that may be disclosing too much corporate information, but it would really help me if someone could give me a realistic time frame of the implementation process for SAP.
    Thank you, in advance!
    Anya

    Anya,
    Update to your queries:
    size of the company that this SAP implementation took place at:
    Answer : In terms of revenue $200 million +
    Interms of employees 6000+
    HR module in particular - whether it can be fully implemented separately and how long would it take?
    Answer:
    Definately, it can be fully implemeted and other modules may not be used
    Time period - 3+ months as Business packages are available in SAP.
    Regards,
    Ganga

  • How to get no.of persons who visited a particular website

    hi can u send me a program on how to get the no.of persons who visited a particular website..and is it possible to retrieve it..??? plz let me know

    You mean you want to be able to get the # of visitors to your web site? There's plenty of web server log parsers out there to get stats or simple page counters.
    If you mean you want to be able to get the # of visitors to any web site, then you can't... not without some serious hacking, which last I checked would be illegal in most places. Unless the site owner publishes the info for some reason.

  • HT1657 after renting a move and starting viewing I can not stop it and come back to in within the time frame. If i stop it it goes away not able to find it. Just like I did not rent it at all.

    after renting a move and starting viewing I can not stop it and come back to in within the time frame. If i stop it it goes away not able to find it. Just like I did not rent it at all.

    Hi,
    We have rolled out a fix for this issue.
    Please log off and log back in to your machine and the issue should be resolved automatically. In case that does not work, please manually run the msi installer posted here (may require reboot).
    For details, please refer to the KB article here: Multiple RunOnce keys created 11.0.10 and 10.1.13 Acrobat | Reader
    Please let us know if you still face any issues.
    Thanks,
    Ashu Mittal

  • Are You Having To Log In Every Time - Or Is It Just Me?

    In the past couple of days I have to log in every time I visit the forum with a fresh browser window, even though I click the [  ] Remember Me checkbox during login.
    Is this something I've neglected to flush/clear, or am I not alone?  This is a definite change between pre- and post-update, and I haven't done anything else to my system, which is otherwise functioning perfectly.
    Why is it so much to ask that things just work the way they're supposed to?  Through these little things those of us who help Adobe's customers are made to feel more and more unwanted.
    -Noel

    Hm, I seem to have worked around it...
    Somehow my "Delete Browsing History On Exit" option was set in IE.  Clearing that seems to have made it possible for me to be logged in persistently.  Perhaps someone used my computer and wanted to cover their tracks.  I'm not sure I would expect the "browsing history" to affect my login status, but I suppose it could make some kind of sense.
    I don't see how that would affect my iPhone, though, but just now I found I was persistently logged-in there as well when I started Safari.
    Possibly something was coincidentally changed at Adobe.com in the last 10 minutes?  If so, thanks for the fix, whomever did it!
    Anyway, I seem to be back to having more convenient forum access.
    -Noel

  • Wait activity does not expires after giving time frame

    Hi all,
    We are using SOA suite version 11.1.1.5. In our process, we use a wait activity so that the process will wait for a certain time frame (say 1 min) and again proceeds when the wait activity time expires.
    The above process was running successfully for some months. But suddenly the instances are getting stopped in the wait activity and they are not proceeding after the given time.
    The audit trail shows wait activity pending. And the wait activity does not expires even after the respected time.
    Kindly suggest the possibilities of this scenario.
    Regards,
    Gopi

    Hi Gopi,
    You can look at the logs to see if there are for any errors/warnings during the wait activity execution.
    A possible explanation can be due to an error in a later on activity (like invoke or assign). If you have an error that you didn't catch, the process will try to rollback to the last dehydrate point (in your case the wait activity) and stuck there.
    Thanks
    Arik

  • Deleting rows inserted after a particular time

    Oracle Database 11.2.0.3
    Linux  5.9
    Hi,
    I want  to know how to  delete  all rows  inserted into a  Table  after a particular time.
    For example,  I have a table  A  which contains  40,000  rows. 
    I  inserted  100,000 rows at  4:00  PM.
    And I want to know how to delete all those  100,000 rows. 
    Is there any way ?
    The database does not have Flashback enabled. It is running in NOARCHIVELOG mode.

    5b204196-d5cd-4a11-a266-0e8464667316 wrote:
    Oracle Database 11.2.0.3
    Linux  5.9
    Hi,
    I want  to know how to  delete  all rows  inserted into a  Table  after a particular time.
    For example,  I have a table  A  which contains  40,000  rows.
    I  inserted  100,000 rows at  4:00  PM.
    And I want to know how to delete all those  100,000 rows.
    Is there any way ?
    The database does not have Flashback enabled. It is running in NOARCHIVELOG mode.
    And does the table design include a column from which you could determine when the row was inserted?
    Here's what we know ...
    your database is in noarchivelog mode.  Therefore, whatever your backup strategy is, it will be essentially a point-in-time snapshot.  You will not be able to recover then roll-forward the database to the point in time immediately prior to this insert.
    your database is in noarchivelog mode.  Therefore, unless those insert statements are still in the online redo logs (extremely doubtful) you will not be able to leverage logminer.
    What kind of backups do you have?  When were they taken in relation to your insert?  What other activity occurred between that backup and that insert?  Can you afford to lose that activity as well?

  • High redo log space wait time

    Hello,
    Our DB is having very high redo log space wait time :
    redo log space requests 867527
    redo log space wait time 67752674
    LOG_BUFFER is 14 MB and having 6 redo logs groups and the size of redo log file is 500MB for each log file.
    Also, the amount of redo generated per hour :
    START_DATE START NUM_LOGS MBYTES DBNAME
    2008-07-03 10:00 2 1000 TKL
    2008-07-03 11:00 4 2000 TKL
    2008-07-03 12:00 3 1500 TKL
    Does increasing the size of LOG_BUFFER will help to reduce the redo log space wait ?
    Thanks in advance ,
    Regards,
    Aman

    Looking quickly over the AWR report provided the following information could be helpful:
    1. You are currently targeting approx. 6GB of memory with this single instance and the report tells that physical memory is 8GB. According to the advisories it looks like you could decrease your memory allocation without tampering your performance.
    In particular the large_pool_size setting seems to be quite high although you're using shared servers.
    Since you're using 10.2.0.4 it might be worth to think about using the single SGA_TARGET parameter instead of the specifying all the single parameters. This allows Oracle to size the shared pool components within the given target dynamically.
    2. You are currently using a couple of underscore parameters. In particular the "_optimizer_max_permutations" parameter is set to 200 which might reduce significantly the number of execution plans permutations Oracle is investigating while optimizing the statement and could lead to suboptimal plans. It could be worth to check why this has been set.
    In addition you are using a non-default setting of "_shared_pool_reserved_pct" which might no longer be necessary if you are using the SGA_TARGET parameter as mentioned above.
    3. You are using non-default settings for the "optimizer_index_caching" and "optimizer_index_cost_adj" parameters which favor index-access paths / nested loops. Since the "db file sequntial read" is the top wait event it might be worth to check if the database is doing too excessive index access. Also most of the rows have been fetched by rowid (table fetch by rowid) which could also be an indicator for excessive index access/nested loop usage.
    4. You database has been working quite a lot during the 30min. snapshot interval: It processed 123.000.000 logical blocks, which means almost 0.5GB per second. Check the top SQLs, there are a few that are responsible for most of the blocks processed. E.g. there is a anonymous PL/SQL block that has been executed almost 17.000 times during the interval representing 75% of the blocks processed. The statements executed as part of these procedures might be worth to check if they could be tuned to require less logical I/Os. This could be related to the non-default optimizer parameters mentioned above.
    5. You are still using the compatible = 9.2.0 setting which means this database could still be opened by a 9i instance. If this is no longer required, you might lift this to the default value of 10g. This will also convert the REDO format to 10g I think which could lead to less amount of redo generated. But be aware of the fact that this is a one-way operation, you can only go back to 9i then via a restore once the compatible has been set to 10.x.
    6. Your undo retention is set quite high (> 6000 secs), although your longest query in the AWR period was 151 seconds. It might be worth to check if this setting is reasonable, as you might have quite a large undo tablespace at present. Oracle 10g ignores the setting if it isn't able to honor the setting given the current Undo tablespace size.
    7. "parallel_max_servers" has been set to 0, so no parallel operations can take place. This might be intentional but it's something to keep in mind.
    Regards,
    Randolf
    Oracle related stuff:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle:
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

Maybe you are looking for