Displaying all processes that are using a file


To display all of the processes that are using a file, use the P line command on a file listed in the the FSPACE view.

The PFUSER view is displayed (see the following figure).

>W1 =PFUSER============SJSC=====*========DDMMMYYYY==11:04:51====MVUSS====D==574
-          File:                                                               
                 /$SYSNAME                                                     
  Line commands:                                                               
                  f - files open             k - kill process                  
                  l - display/modify limits  r - display OMVS,PID              
                                             d - dump process                  
C  ProcessId Command  Elapsed  Jobname  Stepname Multi- Total Total Total Total
- ---------- Name     ProcTime -------- -------- Thread  Dly%  Run% Zomb% Othr%
           1 BPXPINPR 12:51:29 BPXOINIT BPXOINIT Yes     0.00  100   0.00  0.00
          12 inetd    12:51:26 INETD4   BPXAS    No      100   0.00  0.00  0.00
          23 BBM9SZ20 12:50:28 XTST2PAS XTST2PAS No      0.00  100   0.00  0.00
          24 BBM9SZ20 12:50:27 XTST2PAS XTST2PAS No      0.00  100   0.00  0.00
          25 BBM9SZ20 12:50:27 XTST2PAS XTST2PAS No      0.00  100   0.00  0.00
          26 BBM9SZ20 12:50:27 XTST2PAS XTST2PAS No      0.00  100   0.00  0.00
          27 BBM9SZ20 12:50:26 XTST2PAS XTST2PAS No      0.00  100   0.00  0.00
          28 BBM9SZ20 12:50:26 XTST2PAS XTST2PAS No      0.00  100   0.00  0.00
          30 EZBTCPIP 12:50:23 DC$TCPIP DC$TCPIP Yes     100   0.00  0.00  0.00
          32 BBM9ZA01 12:50:21 DZSCCAS  DZSCCAS  No      0.00  100   0.00  0.00
          34 EZACFALG 12:50:20 DC$TCPIP DC$TCPIP No      100   0.00  0.00  0.00
          48 EZASASUB 12:50:14 DC$TCPC2 DC$TCPC2 No      100   0.00  0.00  0.00


 

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