Operating System - OpenVMS
1748058 Members
5034 Online
108758 Solutions
New Discussion юеВ

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 6
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!