From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,ac6a44bf769b7c1 X-Google-Attributes: gidf7344,public X-Google-Thread: fc7fa,ac6a44bf769b7c1 X-Google-Attributes: gidfc7fa,public From: aaron@cisco.com (Aaron Leonard) Subject: Re: Files opened by a process (reposting) Date: 1997/10/29 Message-ID: <637ovi$bl3$1@bogon.kjsl.com>#1/1 X-Deja-AN: 286492470 References: <878109665.21049@dejanews.com> Reply-To: Aaron@cisco.COM Distribution: world Organization: cisco Systems (formerly TGV) Newsgroups: comp.os.vms,comp.sys.vms 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