Displaying trace output for a process


The following procedure displays the trace output for a process.

GUID-47E5A770-A760-442A-9F5A-06872981813D-low.png

For more information, view the Quick Course MainView for USS - Trace system calls for a z/OS UNIX process.

To display the trace output for a process

  1. In the PSOVER view, type T next to the process for which you want to display trace output.The TRACE dialog is displayed (see the following figure).

    ------------------ TRACE - Run bpxtrace on a Process -----------------------
    COMMAND  ===>                                                              
                                                               More:     +
     Process ID      16777839
     Process JobName MV61CAST                     
     bpxtrace TIME (1-60 sec): 10                                      
     bpxtrace VOLSER:
  2. Specify TIME and VOLSER values and press PF3 (End) to run the bpxtrace command.The PSTRACE view is displayed (see the following figure).

    DDMMMYYYY  17:01:04 ------ MainView WINDOW INTERFACE (VR.m.mm) ----------------
    COMMAND  ===>                                                 SCROLL ===> CSR  
    CURR WIN ===> 1        ALT WIN ===>                                            
    >W1 =PSTRACE===========SJSCUSSQ=*========DDMMMYYYY==13:48:40====MVUSS====D==306
     TraceNum  ProcessId ASID TCB     Local Time      System Call               Tra
     -------- ---------- ---- Address --------------- ------------------------- ---
            1   16778921 026F 5E5B70  12:00:47.580748 Call spawn                par
            2   16778921 026F 5E5B70  12:00:47.580862 Call StatVfs              par
            3   16778921 026F 5E5B70  12:00:47.580905 Exit spawn                rv=
            4   16778921 026F 5E5B70  12:00:47.580962 Call i.kernel_int         par
            5   16778921 026F 5E5B70  12:00:47.580963 Exit spawn                rv=
            6       1714 0192 5E5B70  12:00:48.218065 Call sigprocmask          par
            7       1714 0192 5E5B70  12:00:48.218070 Call sigprocmask          rv=
            8       1714 0192 5E5B70  12:00:48.218074 Call sigprocmask          par
            9       1714 0192 5E5B70  12:00:48.218074 Call sigprocmask          rv=
           10   16778921 026F 5E5B70  12:00:48.218125 Exit spawn                rv=
           11   16778921 026F 5E5B70  12:00:48.218146 Call wait                 par
           12       1714 0192 5E5B70  12:00:48.218218 Call i.exec2              par




 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

MainView for UNIX System Services 6.1