Or for an O.S snapshot rather than UniVerse:

grep pid_of_choice `find . -type f -exec fuser -u {} \;`|wc -l

run from the directory tree you want to search.

Or you could drop the "grep" and "wc -l" and send it to a text file. Then
just sort the text file based on PIDs.

"fuser -u" displays all PIDs that have a file open.

Regards

JayJay


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin Phillips
Sent: 15 August 2007 21:01
To: [email protected]
Subject: Re: [U2] [UV] what files does a user have open

Hi,

> How do I go about seeing what files a user has open?

Take a look at the FILEMAP option of PORT.STATUS


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to