How to check if "create session" is being audited in the aud$

Specifically, how do the determine if "create session" is being audited? Assume audit_trail=db_extended, audit_sys_operations=true and audit_file_dest has been set. Please specifically how to check if "create session" is being audited. Thanks

SQL> connect test/test
Connected.
SQL> connect / as sysdba
Connected.
SQL> select username, action_name, to_char(timestamp,'DD/MON HH24:MI') from dba_audit_trail where action_name like 'LOG%';
USERNAME                       ACTION_NAME                  TO_CHAR(TIMESTAMP,'DD/MONHH24
TEST                           LOGON                        10/JANV. 19:32
TEST                           LOGOFF                       10/JANV. 19:32
SQL> select to_char(sysdate,'DD/MON HH24:MI') from dual;
TO_CHAR(SYSDATE,'DD/MONHH24:M
10/JANV. 19:33

Similar Messages

  • How to check if a file is being read by another program?

    Hey all,
    I just have a few question for a project I am doing:
    How do I check if a file is being read by another program?
    How do I check how many lines it read?
    How do I get Keyboard input from the user when he is using another program other than mine? Ex: Pressing Ctrl-G to take a screenshot.
    How can I halt another program from reading a file when it already opened it? Ex: The other program opened a file and began reading. Now it is at line 2 and I want to make it skip 10 lines and contontinue.
    Thanks,
    Bluelikeu

    How do I check if a file is being read by another
    program?This is about the only partially sensible question you asked. But the answer is that unless you use some native code, you can't.
    How do I check how many lines it read?It doesn't even make sense to ask this question. First of all, what's a "line" anyway? Files are just sequences of bytes. A "line" is only in the interpretation of those bytes, such as if it contains <cr><lf> sequences an application may choose to render the contents of those bytes as logical "lines" of string sequences. Second of all, why the heck would it matter to you how many bytes have already been read by some other process(es)?
    How do I get Keyboard input from the user when he is
    using another program other than mine? Ex: Pressing
    Ctrl-G to take a screenshot.You want to spy on other applications? Shame on you, Mr. Spyware creator.
    How can I halt another program from reading a file
    when it already opened it? Ex: The other program
    opened a file and began reading. Now it is at line 2
    and I want to make it skip 10 lines and contontinue.Shame on you Mr. Spyware creator.

  • How to check whether INSO Filer is being used or not?

    Hi,
    We have created full text search indexes using the default syntax -
    CREATE INDEX FTI ON DOCUMENTS(DOC_FILE) INDEXTYPE IS CTXSYS.CONTEXT;
    How can I find out whether the INSO filter is used or not. Also a basic question, INSO filter helps in reading and "crawling" some 100+ document formats and creating an index against which search could be executed.... right?
    Please do let me know.
    Thanks & Regards,
    Dhwanil

    you can specify the inso filter in index code creation.
    create index TEST_IDX
    on TEST_TABLE (TEXT)
    indextype is ctxsys.context
    parameters('filter     ctxsys.inso_filter');

  • How to noaudit a create session

    We turned this on in 10.1.0.3. I am not sure when it was done or exactly what command. however, the noaudit is not turning tihs off.
    We are currently in 11.1.0.7
    what is the noaudit command to turn this off?
    noaudit create session does not work. Please see below.
    SQL> select * from dba_stmt_audit_opts
    union
    select * from dba_priv_audit_opts;
    2 3
    USER_NAME PROXY_NAME
    AUDIT_OPTION SUCCESS FAILURE
    ANY CLIENT
    CREATE SESSION BY ACCESS BY ACCESS
    SQL> noaudit create session;
    Noaudit succeeded.
    SQL> select * from dba_stmt_audit_opts
    union
    select * from dba_priv_audit_opts;
    2 3
    USER_NAME PROXY_NAME
    AUDIT_OPTION SUCCESS FAILURE
    ANY CLIENT
    CREATE SESSION BY ACCESS BY ACCESS

    969389 wrote:
    Hi,
    Try,
    SQL> NOAUDIT CREATE SESSION WHENEVER SUCCESSFUL;
    SQL> NOAUDIT CREATE SESSION WHENEVER NOT SUCCESSFUL;
    That, should do it...
    I doubt the OP has been waiting 3 years for a solution ....

  • How to fetch already created sessions from Informatica Repository (Informatica SDK)

    Hi guys,I'm using the Informatica SDK to create a java application that accesses the Informatica repository. I'm having a bit of an issue while trying to fetch the names of already created sessions from the Informatica Repository. I'm able to connect to the repo without any issues and have been able to add sources, targets, mappings, sessions, workflows, etc... and save them directly afterwards. However, when I try to fetch the session names from a folder in the repository, I get the following error:Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 Running the pmrep process in the working directory: [C:\Informatica\9.6.1\clients\PowerCenterClient\client\bin].Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 Running the command [listobjects -o session -f "TechOps" -s . ]. Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 Running the command [exit ].Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 Parsing the output of the ListObjects command for each folder.Mon Jul 27 15:03:01 PDT 2015 Severity:DEBUG ThreadID:14 The following errors occurred while running the ListObjects command: [Failed to read repository connection information. Please first connect to the repository using the connect command. Failed to execute listobjects.]. The following errors occurred while running the ListObjects command: [ Failed to read repository connection information. Please first connect to the repository using the connect command. Failed to execute listobjects.].com.informatica.powercenter.sdk.mapfwk.exception.RepoOperationException: The following errors occurred while running the ListObjects command: [ Failed to read repository connection information. Please first connect to the repository using the connect command. Failed to execute listobjects.]. atcom.informatica.powercenter.sdk.mapfwk.core.Folder.fetchSessionNamesFromRepository(Unknown Source) atcom.informatica.powercenter.sdk.mapfwk.core.Folder.fetchSessionNamesFromRepository(Unknown Source) at com.mars.Main.main(Main.java:170)This doesn't really make sense to me as I'm able to connect to the repo fine to add and save changes. Here's my code for fetching:// Create a list of session names and store the names
    List<String> sessionNames = null;
    try {
        sessionNames = folder.fetchSessionNamesFromRepository();
    } catch (RepoOperationException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    } catch (MapFwkReaderException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    // Print the list of session names
    for (int i = 0; i < sessionNames.size(); i++) {
        System.out.println("Session " + i + " is " + sessionNames.get(i));
    }I've confirmed that the folder object works fine as I can add and save other objects to that folder in the repo.The other odd thing is that if I go to the install path for Informatica on my machine and I run pmrep from the command prompt followed by the command to fetch session names, it works fine.Any help on this would be greatly appreciated.Thanks

    Hi neel007,
    Just use a List instead of a Vector, it's more performant :
    List<Folder> rep_FetchedFolders = new ArrayList<Folder>();If you need to synchronize your list, then
    List<Folder> rep_FetchedFolders = Collections.synchronizedList(new ArrayList<Folder>());Also, if you're using Java 5 or higher and if you're sure listOfTargets contains only Target objects, instead of this
    for(int b=0; b<listOfTargets.size();b++){
       Target trg = ((Target)listOfTargets.get(b));
       t_folder.addTarget(trg);
    }you may do this :
    for (Target trg : listOfTargets) {
       t_folder.addTarget(trg);
    }Edited by: Chicon on May 18, 2009 7:29 AM
    Edited by: Chicon on May 18, 2009 7:35 AM

  • How to Invoke tasks created in FrameMaker Publishing Server from the Windows command line

    Hi All ,
    i would like to know how can we Invoke tasks and schedules created in FrameMaker Publishing Server from the Windows command line.
    we used publishing server mainly to convert Frame maker files into PDF and that should be do progarmatically without manual intervention on Demand.
    so could you please let us know how can i invoke rthe task creted to convert FM file to PDF in FrameMaker Publishing Server from the Windows command line.
    please let me know the command to execute .
    thank you and waiting for valuable response.
    best regards
    Ramesh babu

    Please see http://blogs.adobe.com/techcomm/2011/03/adobe-framemaker-server-10-and-its-command-line-ca pability.html for the same.
    Harish Dhawan

  • When I create a new chapter sometimes I get the chapter number with bullets on either side and sometimes I don't. I want to be constant. How do I consistently create bullets on both sides of the Chapter Number?

    How do I create bullets on both sides of the Chapter Number?  eg. Chapter One with bullets on either side.

    K T
    I originally started with a template but just erased all the content and built the book using blank pages. Sometimes when I add a chapter it comes up  like the example below or it could come up without the bullets. For the life of me, I don't understand why.
    Van Hunter
    • Chapter Eight •    

  • How can I keep my emails from being deleted from the Telus server so I can view them on my home computer as well?

    How can I set my IPad email account to leave the messages on the server?  I want them left on the Telus server until I choose to delete them.

    I have POP mail accounts on my iPad.
    Settings > Mail, Contacts, Calendar leads me to the correct place.
    At the top will be a list of my Mail accounts.
    Tapping on an Account brings up all the info in the account.
    The Advanced choice is at the bottom of the window and usually requires scrolling down to see it.
    Tapping Advanced brings up another widow with the Delete from Server choice. Tap that and you can then tap Never.
    I'm using an iPad 2 and an iphone5 running iOS 6.0.1

  • How to  check customer reference no. not  being use more than once

    I have the following situation and appreciate if  some one could show me a simple solution.
    “On the Sales order window, when user enter a value for Customer Ref. No”, check if the entered value has already  been used on any existing Sales Order, and give message eg. “this Ref. No already been used in SO. 257”
    What is the easiest way of implementing the validation?
    Using Formatted Search?
    Triggers or Stored Procedure?
    Or one must go about doing this simple task using SDK, DIAPI?
    sample code illustrating solution would be much appreciated.
    I tried to create a query and used it with Formatted search on the Field, but failed on an error.
    the code using temporary hard coded value instead of $[$x.0.0] looks like this
    if (SELECT    COUNT(*)
    FROM         dbo.ORDR
    WHERE     (NumAtCard = 'AAA' and CardCode ='1234')
    ) =0     
         Begin
                       select 'AAA' --redisplay value
         end
    else
                  begin
    SELECT     TOP 1 'already used in SO '+ Convert(Char(3),DocEntry)
    FROM        dbo.ORDR
    WHERE     (NumAtCard = 'AAA')    
             end
    where 'AAA' is the reference no. to check for customer '1234', this code works when I run it in SQL query analyser, but failed when I run it as query in Business one. the idea was to redisplay the entered No. 'AAA' if it is not found in any existing SO for cust ='1234'
    can anyone point out what the error is or show  alternative code for the query.
    thanks

    Hi Andy,
    I believe the best way to do this is probably to use the SDK as (to my knowledge) this is the only way you can get a message to be displayed and to stop the actual processing of the document.
    If you want to go the formatted search route I would suggest you change your query a bit. I have played with your query and the following is an example as I got it working in SBO. I think SBO gets confused if there is more than one select statement that returns a result and I have started using variables to save the results of the select statements in.
    [code]Declare @Val varchar(100)
    declare @Count integer
    set @Val = $[$14.0.0]
    if (SELECT COUNT(*) FROM dbo.ORDR WHERE (NumAtCard = @Val and CardCode = $[$4.0.0])) > 0
    begin
    SELECT TOP 1 @Val = 'already used in SO '+ Convert(Char(3),DocEntry) FROM dbo.ORDR WHERE (NumAtCard = @Val)
    end
    select @Val[/code]
    I hope it helps a bit,
    Adele

  • How to upload site created with Dreamweaver via FTP to the iWEB server?

    Hi everyone,
    I recently created a site on Dreamweaver and want to upload the site, via FTP to the iWEB server. My questions are the following:
    1. What is the FTP host address?
    2. How do I connect to my website via FTP?
    Any help on the following questions will be much appreciated.
    Thanks!

    Hello Lauretta and welcome to the forum.
    You do not connect to iDisk via FTP. iDisk uses WebDAV. Also you do not need to manually upload the published files to iDisk as recommended buy others in this thread. Once the site and server is set up in DW you can publish and upload directly through DW.app Check out this post for more info.

  • How to close a HTTP session when a user closes the window

    Hi,
    I am having problems when closing the browser of a BW web report. After I closed the browser by going File->close, I ran SM04 and found out the Plugin HTTP session hangs at the server side.
    How can we terminate the Plugin HTTP session at the server side when user closes the internet browser?
    I did implement a logoff function at my web template and this was implimented on the Menu page, if user clicks on the logoff, the Plugin HTTP session is terminated at server side correctly.
    If user navigates to the other pages from the main page... then the logoff function was not implimented in the other pages. So many of the users are closing the windows directly. Eevn if we impliment logoff in all the subpages, As you know, 50% of time user will close the report by closing the internet browser instead of clicking the logoff. That leaves lots of hanging Plugin HTTP sessions at our server side.
    Regards,
    Tony

    Hi,
    And also take a look on the Genral property of the web template. We solved this problem by changing only this property (no extra things).
    <b>Property:                            Value</b>
    Automatic Session Management:           Active
    With rgds,
    Anil Kumar Sharma .P
    Message was edited by: Anil Kumar Sharma

  • How To Check Whether Physical Standby is in Sync with the Primary

    hi All,
    I'm new in data guard. In our current production, my boss is asking me to write a shell scripts monitoring physical standby and primary archive is sync (archive gap)
    I'm referring metalink [ID 861595.1], but when i ran the first query in Primary node, the screen hang.
    On primary
    ========
    SQL> SELECT THREAD# "Thread",SEQUENCE# "Last Sequence Generated"
    FROM V$ARCHIVED_LOG
    WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)
    ORDER BY 1;
    I tried to turn on 10046 SQL trace, the SQL consume a lot of CPU, and it full table scan in X$KCCAL table.
    TKPROF result look like below:
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1     88.29     115.59          0          0          0           0
    total        3     88.30     115.60          0          0          0           0
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1 Optimizer mode: ALL_ROWS Parsing user id: 80 
    Rows     Row Source Operation
          0  SORT ORDER BY (cr=0 pr=0 pw=0 time=21 us)
          0   FILTER  (cr=0 pr=0 pw=0 time=19 us)
       1124    FIXED TABLE FULL X$KCCAL (cr=0 pr=0 pw=0 time=40537 us)
          0    FILTER  (cr=0 pr=0 pw=0 time=115538625 us)
       1122     HASH GROUP BY (cr=0 pr=0 pw=0 time=115530193 us)
    7465972      FIXED TABLE FULL X$KCCAL (cr=0 pr=0 pw=0 time=94648975 us)
    Elapsed times include waiting on following events:
      Event waited on                        Times   Max. Wait  Total Waited
      -----------------------------------   Waited  ----------  ------------
      SQL*Net message to client               1        0.00          0.00
      control file sequential read        16841        0.05         30.88
      SQL*Net break/reset to client           1        0.00          0.00Due to this is production environment, thus i had terminated the session, can anyone teach me or share with me any scripts to monitor physical standby is sync with primary or not? Or do you encounter the above issue when running the SQL?
    My db version is Oracle 11.2.0.1.0
    Thanks in advance.
    Regards,
    Klnghau

    Hello;
    Note 861595.1 has not been subject to an independent technical review. Not sure if that make it bad or not.
    This is what I'm using: ( I spool this to a file and have it e-mailed to me daily)
    PROMPT
    PROMPT Checking last sequence in v$archived_log
    PROMPT
    clear screen
    set linesize 100
    column STANDBY format a20
    column applied format a10
    SELECT name as STANDBY, SEQUENCE#, applied, completion_time from v$archived_log WHERE DEST_ID = 2 AND NEXT_TIME > SYSDATE -1;
    prompt
    prompt----------------Last log on Primary--------------------------------------|
    prompt
    select max(sequence#) from v$archived_log where NEXT_TIME > sysdate -1;
    Best Regards
    mseberg

  • How can I remove my name from being associated with the GB file I export?

    I am using Garage Band '11, 6.0.5.
    I am editing an audio recording for a friend.
    When I exported the edited recording, it had my name associated with the file as the artist, album, etc.
    I searched and found "My info" (in "Preferences") and deleted my information from ALL name, album, artist fields, but it still exported the file with my name as the artist (but it did not list it as from my album this time)?
    Does anyone know how/where/what I need to do to remove all references of my name associated with this file I'm editing?
    And also, can I change who is associated with a GB file, from file to file (i.e. if editing my audio, use my name & info, if editing for a friend or colleague, theirs?  or is the name associated with my GB account universally embedded into every file, no matter if I want it to be mine or not)?
    Thank you for your support!
    Joe

    When I exported the edited recording, it had my name associated with the file as the artist, album, etc.
    The problem is, that this information is stored with the GarageBand project, when you first create the project.  You have to edit the Preferences, before you create the project.
    If the project already exists, you can change this option by turning the project into a podcast. Add a Podcast track (Track menu, Show Podcast Track), select the podcast track, and open the Info panel. Then edit the artist field in the Info panel, before you save the song to disk.
    (added: I saw the workaround with the Podcast track first in a post by Edgar).

  • How to check whether a default browser is opened in the operating system?

    Hi,
    I am newbie here. During my work, I faced an interesting problem. I need to:
    - check whether a default html browser is opened;
    - check whether the browser is minimized/maximized (simply, a window's state);
    - get an url address typed in the browser.
    If any of these conditions is not met, I have to open the browser in a maximized view with a desired url address. I primarily wanted to do all this in Java, but it came to my mind that I should employ many techniques/technologies and combine them appropriately to complete the functionality. But, which ones? That's the problem. I just recalled Windows API, but I'm not sure if it is of any help... On another forum, some users suggested that I should consider JNI... At this time, I only know how to open a default browser (e.g. with use of the 'browse(URI uri)' method of the 'java.awt.Desktop' class) - that's too little to be proud of. Please give me some hints, maybe links to reasonable discussions, I would greatly appreciate any suggestions how to approach the problem.

    Crosspost! [http://www.java-forums.org/advanced-java/29583-how-check-whether-default-browser-opened-operating-system.html]

  • How to use cfdocument  create a PDF file and save the file in server?

    Hi,
    I want to use cfdocument to create a PDF file and save it in
    the server for other people to download,can you give me a idea how
    to do this.Thanks.
    <cfdocument format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Mark

    Hi
    <cfdocument filename="" format = "PDF" pagetype="A4"
    orientation="portrait">
    </cfdocument>
    Give the physical path to the filename. You have write
    permission for this folder to create a PDF file.

Maybe you are looking for

  • VPN Client 2nd Ethernet Port

    I have a laptop computer running VPN Client software. I connect to a remote network and typically use Remote Desktop Connection to access one of the machines in the network 10.62.94.xxx. I want to add an Ethernet adapter in a PC Card slot or USB port

  • How to export smaller PDFs

    Hello! I have bene using Freehand, but have been forced to migrate to Illustrator which I am learnign quickly. But I have been unable to figure out how to create good quality PDFs from my multi-page Illustrator CS5 files. Currently my PDFs are liek 1

  • So what happened...

    So what happened to the audio or video controls in the finder window preview? Can anyone tell me what the **** was the point of getting rid of something that is so simple yet so needed? All we have is a play button now? and now it shows the album art

  • Sync iPhone contacts with Gmail contacts whille having Outlook contacts

    Hi, I am currently syncing my iPhone's contacts with itunes ->Outlook. Which means that all my contacts being saved on my Outlook account. I also have many people/contacts on my Gmail accound that I wish to get in to my iPhone. BUT: The problem is th

  • WPF Data gird double value in cell round up automatically

    Hi All,   I have one datagrid where one of the columns contains double values. I placed limitations on length and decimal part. Decimal part is always comes with 2 digits. Now during editing the cell that holds double value in DataGrid , if I enter v