[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

Finding open files?

» close window

The Question is:

 
Is there any way on OpenVMS I can find which files are opened and accessing by
 a specific process except $show device .../file
Thanks
 


The Answer is :

    Without privilege, no.
 
    With privilege, yes, there are many ways, and which is the most
    appropriate depends on exactly what you're trying to achieve.
 
    Note that SHOW DEVICE/FILE in conjunction with PIPE is probably the
    easiest way to solve the most common cases. For example:
 
    $ PIPE SHOW DEVICE/FILE 'device' | SEARCH SYS$PIPE 'pid'
 
 

answer written or last revised on ( 3-JUL-2002 )

» close window