Usenet comp.sys.vms (1990-2004)
 help / color / mirror / Atom feed
From: aaron@cisco.com (Aaron Leonard)
Subject: Re: Files opened by a process (reposting)
Date: 1997/10/29	[thread overview]
Message-ID: <637ovi$bl3$1@bogon.kjsl.com> (raw)
In-Reply-To: 878109665.21049@dejanews.com



In article <878109665.21049@dejanews.com>, henry.hoppe@duu.x400.basf-ag.de writes:
|Hello!
|There are many articles dealing with the question which processes have
|opened a file. But I need information just the other way round: which
|files are opened by a given process. Is there a way to get this info
|from DCL?
|TIA Henry Hoppe

Here's two ways:

$ anal/sys
set proc/ind=PID_OF_INTEREST
show proc/chan

- or -

$ show dev/files/out=foo1.tmp dev1:
$ show dev/files/out=foo2.tmp dev2:
$! ... for each volume mounted on the system
$ search foo%.tmp PID_OF_INTEREST

Aaron



  reply	other threads:[~1997-10-29  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-29  5:00 Files opened by a process (reposting) henry.hoppe
1997-10-29  5:00 ` Aaron Leonard [this message]
1997-10-29  5:00 ` Ian Miller
1997-10-29  5:00 ` Arlen Williams
1997-10-30  5:00 ` PKM
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox