How to convert .trc into a readable format or txt file

Hi,
I tried using tkprof but it output similar to this :
TKPROF: Release 10.2.0.1.0 - Production on Sun Dec 28 13:42:39 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Trace file: C:\ababil_cjq0_1044568.trc
Sort options: default
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
Trace file: C:\ababil_cjq0_1044568.trc
Trace file compatibility: 10.01.00
Sort options: default
1 session in tracefile.
0 user SQL statements in trace file.
0 internal SQL statements in trace file.
0 SQL statements in trace file.
0 unique SQL statements in trace file.
238 lines in trace file.
0 elapsed seconds in trace file
Is this the correct output?
Cheers,
Sach

Output would very based on which file you are trying to convert.
TKProf can be run from anywhere, even from the client (for administrator type installation AFAIK) of preferably the same Oracle version.
Best would be to run the same from the database server itself, as there would be no conflicts about versions and interpretation of trace data by the tkprof utility. F.ex. prior to 10g, all timings in trace files were in milliseconds whereas in 10g, it is saved in microseconds.

Similar Messages

  • Why can't i convert itunes into an mp3 format?

    I looked on Apple's website for information on how to convert itunes into a mp3 format on your windows pc. I followed each step. I clicked on Edit and Preferences and set it to Mp3 converter. I then selected the songs I wanted to convert into. Then I clicked Advanced. When I clicked Advanced, it showed "Create Mp3 Version" but it was grayed out. And i was unable to click it. I do not know if I did something wrong or..? Please help me out with this situation because I really want to convert it to an Mp3 format to post it on a website. Thanks.

    It doesn't work if you simply open it in a browser tab. When you download it and open in an Adobe window you will be able to click on it and type your information in the spaces provided.

  • Converting .prn to a readable format

    Hi,
    I need to capture the .prn files that a certain application creates in a TMP folder and somehow convert it to a readable format like .txt or .doc or .pdf. There are two major problems -
    1. The .prn files get removed from the folder as soon as the print job is over. How do i make them stay??
    2. How to convert the prn file to a readable form such that there are no extra ascii garbage characters.
    3. I tried the windows print dialog box "print to file" option. That doesnt work somehow. It doesnt ask me for any file name. Any ideas about this??
    Can we do something in java to solve this problem.
    Thanks

    I need to capture the .prn files that a certain
    tain application creates in a TMP folder and somehow
    convert it to a readable format like .txt or .doc or
    .pdf. There are two major problems -
    1. The .prn files get removed from the folder as soon
    as the print job is over. How do i make them stay??Ask the people who wrote the application.
    2. How to convert the prn file to a readable form
    such that there are no extra ascii garbage
    characters.Ask the people who wrote the application.
    3. I tried the windows print dialog box "print to
    file" option. That doesnt work somehow. It doesnt ask
    me for any file name. Any ideas about this??Ask the people who wrote the application.
    Can we do something in java to solve this problem.Ask the people...

  • How to convert mobi books to ePub format?

    Hello, I have a question for help here, I have a lot of .mobi books on my computer, I wanna transfer these mobi books to my iPhone and iPad for reading, but I found they doesn't accept mobi format, I tried many ways to convert mobi to ePub but failed, the quality of  the output ePub file is so bad, unable to read. pleae help! Is there any software can convert hundreds of .mobi files to ePub format with high quality? Don't give me calibre, it keep crashed in my windows 8, and the it is not easy to use, waste of my time.

    And, what did I say?  Asnlinkda asked how to convert a mobi book into an epub book (not how to convert an epub in a mobi). I said him that he should use some thid party app (that produces epub books) and if it's necessary, to polish the resulting book mobi to ePub converter. I also say that he could use mobi to ePub converter but that I prefer to use the first method. So, I say that is preferable to use (if it were necessary)
    The way I go from Mobi > ePub is to use Vibosoft ePub creator or iStonsoft mobi to epub converter to convert, use Modify ePub to put in the cover and then use Sigil to rename the files and clean up the code/CSS. I find that's the easiest way to do it. 
    Vibosoft ePub creator guide:
    How to convert .mobi books to ePub format
    iStonsoft mobi to epub converter app:
    How to convert mobi to ePub file

  • How to convert a date field with format (dd,mm,yyyy) to format (mm,dd,yyyy)

    Hello.
    How to convert a date field with format (dd,mm,yyyy) to format (mm,dd,yyyy)
    I have text field which has a databind to a date field. When I click on it, we can select the date, it is added on the format (dd,mm,yyyy). When I want to insert this date field to a database It doesnu2019t allow me to do it because it will only accept date field on the format (mm,dd,yyyy)
    I tried to store this format on a date variable and I get a message saying that is impossible to convert a string into a date.
    Regards,
    Jose

    Hi Jose,
    usually you format strings in c# like
    string.Format("{0:yyyyMMdd}", insertyourstring);
    in your case
    string.Format("{0:MM/dd/yyyy}", insertyourstring);
    [look here|http://idunno.org/archive/2004/14/01/122.aspx]
    there are more details
    if everything fails split the string with Mid()
    or ask me
    lg David

  • How to convert smartforms into Adobe forms.

    Hi......
    How to convert smartforms into Adobe forms.
    Regards
    Anbu B

    Hi,
    You need to use the Function Module CONVERT_OTF.
    Please check the below code
    REPORT zsuresh_test.
    Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
    w_fmodule TYPE rs38l_fnam,
    w_cparam TYPE ssfctrlop,
    w_outoptions TYPE ssfcompop,
    W_bin_filesize TYPE i, " Binary File Size
    w_FILE_NAME type string,
    w_File_path type string,
    w_FULL_PATH type string.
    Internal tables declaration
    Internal table to hold the OTF data
    DATA:
    t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    Internal table to hold OTF data recd from the SMARTFORM
    t_otf_from_fm TYPE ssfcrescl,
    Internal table to hold the data from the FM CONVERT_OTF
    T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    This function module call is used to retrieve the name of the Function
    module generated when the SMARTFORM is activated
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = w_fmodule
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    Calling the SMARTFORM using the function module retrieved above
    GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
    format of the output
    w_cparam-no_dialog = 'X'.
    w_cparam-preview = space. " Suppressing the dialog box
                                                        " for print preview
    w_cparam-getotf = 'X'.
    Printer name to be used is provided in the export parameter
    OUTPUT_OPTIONS
    w_outoptions-tddest = 'LP01'.
    CALL FUNCTION w_fmodule
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = w_cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = w_outoptions
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    job_output_info = t_otf_from_fm
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    t_otf[] = t_otf_from_fm-otfdata[].
    Function Module CONVERT_OTF is used to convert the OTF format to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = W_bin_filesize
    BIN_FILE =
    TABLES
    otf = T_OTF
    lines = T_pdf_tab
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    To display File SAVE dialog window
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = w_FILE_NAME
    path = w_FILE_PATH
    fullpath = w_FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
    presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = W_bin_filesize
    filename = w_FULL_PATH
    FILETYPE = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = T_pdf_tab
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks,
    Ruthra

  • How to convert byte into string

    can any tell me how to convert byte into string
    when im an debugging thid code in eclipse it shows the result in integer format instead of string but in command prompt it is showing result in string format..........plz help
    package str;
    import java.io.*;
    public class Testfile {
    public static void main(String rags[])
    byte b[]=new byte[100];
    try{
    FileInputStream file=new FileInputStream("abc.txt");
    file.read(b,0,50);
    catch(Exception e)
         System.out.println("Exception is:"+e);
    System.out.println(b);
    String str=new String(b);
    System.out.println(str);
    }

    Namrata.Kakkar wrote:
    errors: count cannot be resolved and Unhandled exception type Unsupported Encoding Exception.
    If i write an integer value instead of "count" then Unhandled exception type Unsupported Encoding Exception error is left.This is elementary. You need to go back to [http://java.sun.com/docs/books/tutorial/|http://java.sun.com/docs/books/tutorial/] .

  • How to convert bytes[] into multipage File object

    Hi,
    How to convert bytes[] into multipage File object??
    I used the java.io.SequenceInputStream to concatenate two input streams (basically .pdf files) into a single input stream. I need to create a single multipage pdf file using this input stream.
    Thanks for you help in advance..

    Only text format allows you to concatenate two files together to get a longer files.
    Most formats have a header and a footer and so you cannot simply add one to the other.
    You need to use a PDF API which will allow you to build the new document (if one exists)

  • How to Convert your DVD to any format at your will...

    Long time ago, I hope I could take part in some classes to strengthen my health and my good figure. But due to my special job as a salesman, I don't have enough time to do that. So I bought one DVD of yoga, I hope I could do that through watching DVD. So I put DVD into my computer to be ready to practice, unfortunately all my players can't read them. I feel so upset. I tried to look for nearly all the ways I knew to deal with it, but nothing had happened. One of my friends introduce AiseesoftDVD Riper to me. I tried it, yes, it works. Now I could play yoga anytime and anywhere when I am free. It is benifit both for my health and my figure, I love this feelings. Now I hope I could help you through my experiences.
    This guide aims to show you how to convert DVD to different video format both for windows/mac users.
    Part 1: How to Convert DVD on Windows with AiseesoftBest DVD Ripper
    Step 1: Load DVD
    Put your DVD to your DVD Drive and click "Load DVD" button to add your DVD
    Step 2: Choose Profile
    Choose your output video profile from a drop-down list.
    Step 3: Start Conversion win
    Part 2: How to Convert DVD on Mac with AiseesoftDVD Ripper for Mac
    Step 1: Load DVD
    Click the "Load DVD" button, find the DVD folder of the movie you want to add from your DVD-ROM, and Click "Open".
    Step 2: Choose output profile and settings
    Selecting output format is really easy, you can chose your output format according to your devices players and the default setting works great.
    For a veteran of digital player, you could customize your own settings by clicking "Settings" button to chose your own video resolution, frame rate, bit rate, encoder, etc.
    Step 3: Start Conversion
    What amazing softwares! I hope it is helped for all of you.

    Hi,
    source structure---------------------->target structure
    x--------------------------------------->y
        sample------------------------------->root1
        a(1)------------------------------------->attribute1
        b(2)------------------------------------->attribute2
        c(3)------------------------------------->attribute3
            sample1(123)------------------------->element1
             a(1)-------------------------------->attribute1.1
             b(2)-------------------------------->attribute1.2
             c(3)-------------------------------->attribute1.3
    Everything specified under target are elements.

  • How to convert .class into .jar file

    Hi,
    How to convert .class into .jar file

    jsf_VWP5.5.1 wrote:
    Hi,
    How to convert .class into .jar fileFrom a command prompt, cd to the location of your .class file(s).
    If you want to create a simple jar, use: jar -cf Whatever.jar Whatever.class
    If you want to compile all .class files in a directory into a jar, use *.class instead.
    Now, I'm going to assume you want to create an executable jar... here's how to do that:
    1) Create a blank text file; for this example, lets call it main.txt.
    2) In the first line of main.txt, type: Main-class: Whatever ('Whatever' should be the name of the class in your program where the main() method is located)
    3) Press enter to go to the next line (someone please correct me if I'm wrong, but if you don't insert the line break/CR after the Main-class: statement, this will not work... in my experience, this is true)
    4) Make sure you save this file in the same directory as your .class file(s).
    5) Type: jar -cmf Whatever.jar main.txt Whatever.class
    ...and that's about it. For more information on the usage of the jar command and to understand the switches (such as -cmf), try jar --help.
    Hope that helps.

  • How to convert BLOB into a String

    Hi,
    I got a blob column from the database.
    It contains one XML File.
    How to convert it into String.
    I need the code for how to convert the blob into String
    Thanks in Advance.

    A blob would be a byte-array, which you can use in the String(byte[]) constructor

  • How to convert rows into columns with decode function

    Hi,
    How to convert rows into columns with the help of decode function in oracle.
    thanks and regards
    P Prakash

    say
    col1 col2
    1 10
    2 20
    3 30
    then use
    select col1,
    sum(decode(col2,10,10)) "new1"
    sum(decode(col2,20,20))"new2"
    sum(decode(col2,30,30))"new3"
    from table_name
    group by col1;
    we used sum u can use ny function if wont u have to give the column name i.e col2 name also
    so i think u got it nw
    regards

  • How to convert siebel date to following format?

    Hi,
    How to convert siebel date to following format?
    01-01-2011 5:00 AM (dd-mm-yyyy hh:mm AM)
    01-JAN-2011 5:00 AM (dd-MON-yyyy hh:mm AM)
    01/01/2011 5:00 AM (dd/mm/yyyy hh:mm AM)
    Please suggest functions for conversion. Have tried few but didnt work.
    Thanks.

    Excerpts from
    http://bipconsulting.blogspot.com/2010/01/my-date-doesnt-like-me-with-siebel.html
    ".. the date data generated by Siebel with the IO is in ‘MM/DD/YYYY HH:MI:SS’ format, so it is something like ‘10/09/2008 05:31:13’. And BI Publisher doesn’t recognize that this is a date data because it’s not presented in the ‘Canonical’ format!.."
    "...There are two possible and reasonable workarounds to overcome this issue. The first one is to use one of the Siebel’s extended function ‘totext()’ to convert the Siebel date format to the ‘Canonical’ date format before the BI Publisher’s date related function comes in..."
    Please read on the above link to find out how to actually resolve this issue.
    Good Luck
    (please if this provides a solution for you grant the points and close this thread. Thanks!)
    Jorge

  • How to convert bytes[] into File object

    hi
    how to convert byte array into File object
    pls.. help me
    Regards
    srinu

    rrrr007 wrote:
    Hi,
    How to convert bytes[] into multipage File object?? ]There's no such thing as a "multipage File object." You ought to re-read this thread closely, and read the [API docs for File|http://java.sun.com/javase/6/docs/api/java/io/File.html] to clear up your confusion about what a File object is.
    I used the java.io.SequenceInputStream to concatenate two input streams (basically .pdf files) into a single input stream. I need to create a single multipage pdf file using this input stream. Then you need a pdf API, like iText or fop. You can't just concatenate pdf files, word docs, excel sheets, etc., like you can text files. Google for java pdf api.

  • How to convert mysql into bekerley db?

    i have a mysql database ,there is a table in it ,only have 7 fields:symbol,date,open,high,low,close,vol.
    would you mind to tell me how to convert it into bekerley db?

    Hello,
    You can build a drop-in replacement for SQLite by specifying the
    --enable-sql_compat flag to Berkeley DB's configure script.  This
    creates a binary, sqlite3 which has the same interface as SQLite.
    The "Getting Started with the Oracle Berkeley DB SQL API" and FAQ
    have the details:
    http://www.oracle.com/technology/products/berkeley-db/faq/db_faq.html
    http://www.oracle.com/technology/documentation/berkeley-db/db/bdb-sql/index.html
    Thanks,
    Sandra

Maybe you are looking for

  • Snow Leopard Samsung ML-1630 Crashes entire system - what's wrong?

    The printer will print, but the entire system crashes and the Mac Mini reboots each time a print job is sent. The forum points out a lot of problems with printers and the Snow Leopard upgrade, but no real help seems to have been offered. I did downlo

  • Restart problem with 5800 XM

    Hi all, i just buy nokia 5800 xm, and it was great...but i found a strange problem ! when i do servel prosses together like : open video + recive bluetouth , or open a music + browsing the internet....ext ) the phone sometimes suddenly restart  ! and

  • Please help this newbie - Link to a Tabbed widget

    I have 4 Categories/links on the main splash page which I need to link to a widget on a separate page.  I need each link to go to the appropriate tab on the widget.  Is this something that is possible?  I have used the anchor/place gun on each tab an

  • User Presets in Lightroom?

    I currently have Lightroom 2 and am thinking of purchasing Lightroom 3. Can I transfer my user presets from Lightroom 2 to Lightroom 3? Also, does it matter that I'm switching to mac from PC when transferring my catalogues etc.?

  • Extended Support For Siebel 7.8 post June 2013

    Hello All, Considering siebel 7.8 is retiring this year, what are the support options available post retirement. One of our client wants to replace siebel with another tool and have used very limited support in past from oracle. What do you think is