HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

OpenVMS File utilization

 
Pete Maurer
Advisor

OpenVMS File utilization

A fellow colleague is trying to defrag a file using RAXCO PerfectFile, and finding the file to be in use.

Is there a VMS command that could tell me the
processes and users using a specific file ???
6 REPLIES
Heinz W Genhart
Honored Contributor

Re: OpenVMS File utilization

Hi Pete

Do a $ SHOW DEVICE/FILES 'disk'

You will see every open file and the owning PID, as well as installed (PID 000000) Files


Regards

Heinz
Hein van den Heuvel
Honored Contributor

Re: OpenVMS File utilization

One line...

$PIPE SHOW DEV /FILE | SEARCH SYS$PIPE filename

Personally I tend to output into a file first, because I know it is a fairly expensive operation and I may want to search and sort that output multiple times.

Hein.


Wim Van den Wyngaert
Honored Contributor

Re: OpenVMS File utilization

Don't forget to do that on each cluster node.

Wim
Wim
Pete Maurer
Advisor

Re: OpenVMS File utilization

Thank you :-)

Much appreciated.


Pete Maurer
Advisor

Re: OpenVMS File utilization

Thanks!
Heinz W Genhart
Honored Contributor

Re: OpenVMS File utilization

from your Forum Profile:


I have assigned points to 0 of 3 responses to my questions.



Maybe you can find some time to do some assigning?

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.
Consider, that every poster took at least the trouble of posting for you!

To easily find your streams with unassigned points, click your own name somewhere.
This will bring up your profile.
Near the bottom of that page, under the caption "My Question(s)" you will find "questions or topics with unassigned points " Clicking that will give all, and only, your questions that still have unassigned postings.

Thanks on behalf of your Forum colleagues.

PS. nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before please do not take offence none is intended!