Mailing List Archive

Finding who has files open (in use)
Greetings toasters!

Looking for a way to list files that are in use on the filer and who is
using them. I want an output similiar to what you would see if you went
into Windows Server Manager, selected the server and clicked on the "In Use"
button, but I want something more user friendly than scrolling down looking
for the file name. Specifically, we are having problems with users leaving
files open, which prevents us from writing over them. I'm looking for a way
to quickly track down who has this file open so they can be flogged,
keel-hauled, then drawn and quartered. Your thoughts, please?

Remember, you are unique... just like everyone else!



Paul Maglinger, A+, CA, CCA, CET, MCSE
Systems Administrator Shoe Carnival Inc. (812)867-4674 pmaglinger@scvl.com
Re: Finding who has files open (in use) [ In reply to ]
Hi Paul,

We use for this problem the W2K equivalent of the server manager: the
computer managment MMC console. It's a little bit nicer, because you can
sort on file, user, ...

Best regards


Reinoud Reynders

University Hospital Leuven
Belgium
----- Original Message -----
From: "Maglinger, Paul" <PMAGLINGER@scvl.com>
To: "'NetApps list server'" <toasters@mathworks.com>
Sent: Thursday, September 26, 2002 10:24 PM
Subject: Finding who has files open (in use)


> Greetings toasters!
>
> Looking for a way to list files that are in use on the filer and who is
> using them. I want an output similiar to what you would see if you went
> into Windows Server Manager, selected the server and clicked on the "In
Use"
> button, but I want something more user friendly than scrolling down
looking
> for the file name. Specifically, we are having problems with users
leaving
> files open, which prevents us from writing over them. I'm looking for a
way
> to quickly track down who has this file open so they can be flogged,
> keel-hauled, then drawn and quartered. Your thoughts, please?
>
> Remember, you are unique... just like everyone else!
>
>
>
> Paul Maglinger, A+, CA, CCA, CET, MCSE
> Systems Administrator Shoe Carnival Inc. (812)867-4674 pmaglinger@scvl.com
>
RE: Finding who has files open (in use) [ In reply to ]
What I do when I get occasional reports of locked files is use a combination
of "cifs sessions *" and "lock_dump -f". The cifs sessions command often
shows files held open, and for some occasions where it doesn't the lock_dump
command always has. Between those two commands I've always been able to
identify the computer and user that has the file open.

It's possible this information doesn't include nfs locks. I've never had a
case of an NFS user interfering with other access to the file so it's never
come up. (NFS locking is for the most part not enforced.)

The output isn't pretty, but it's readable, and probably very parseable by
something like perl if someone had a mind to do so.

--
Mike Sphar - Sr Systems Administrator - Remedy Corporation

-----Original Message-----
From: Maglinger, Paul [mailto:PMAGLINGER@scvl.com]
Sent: Thursday, September 26, 2002 3:24 PM
To: 'NetApps list server'
Subject: Finding who has files open (in use)

Greetings toasters!

Looking for a way to list files that are in use on the filer and who is
using them. I want an output similiar to what you would see if you went
into Windows Server Manager, selected the server and clicked on the "In Use"
button, but I want something more user friendly than scrolling down looking
for the file name. Specifically, we are having problems with users leaving
files open, which prevents us from writing over them. I'm looking for a way
to quickly track down who has this file open so they can be flogged,
keel-hauled, then drawn and quartered. Your thoughts, please?

Remember, you are unique... just like everyone else!



Paul Maglinger, A+, CA, CCA, CET, MCSE
Systems Administrator Shoe Carnival Inc. (812)867-4674 pmaglinger@scvl.com
RE: Finding who has files open (in use) [ In reply to ]
There is command line utility that works from an NT Workstation.
It shows the open files and it closes the files if you want.
It also shows the file id and user who has it opened.
It is called NETFILE.EXE.

I am not sure if it shareware but you can try to e-mail brian@keene.net for
a copy.

Thanks
David

-----Original Message-----
From: Maglinger, Paul [mailto:PMAGLINGER@scvl.com]
Sent: Thursday, September 26, 2002 4:24 PM
To: 'NetApps list server'
Subject: Finding who has files open (in use)


Greetings toasters!

Looking for a way to list files that are in use on the filer and who is
using them. I want an output similiar to what you would see if you went
into Windows Server Manager, selected the server and clicked on the "In Use"
button, but I want something more user friendly than scrolling down looking
for the file name. Specifically, we are having problems with users leaving
files open, which prevents us from writing over them. I'm looking for a way
to quickly track down who has this file open so they can be flogged,
keel-hauled, then drawn and quartered. Your thoughts, please?

Remember, you are unique... just like everyone else!



Paul Maglinger, A+, CA, CCA, CET, MCSE
Systems Administrator Shoe Carnival Inc. (812)867-4674 pmaglinger@scvl.com
RE: Finding who has files open (in use) [ In reply to ]
Paul,

Try Hyena from SystemTools http://www.systemtools.com/index.html. It's very
useful, especially in a Windows environment. It can list all files open and
can sort by filename or LAN ID. You can disconnect the user/multiple users
or send them a msg. Also, can export to CSV file. This utility can do a
lot more.

cheers,
Marcus Bui

-----Original Message-----
From: Maglinger, Paul [mailto:PMAGLINGER@scvl.com]
Sent: Thursday, September 26, 2002 3:24 PM
To: 'NetApps list server'
Subject: Finding who has files open (in use)


Greetings toasters!

Looking for a way to list files that are in use on the filer and who is
using them. I want an output similiar to what you would see if you went
into Windows Server Manager, selected the server and clicked on the "In Use"
button, but I want something more user friendly than scrolling down looking
for the file name. Specifically, we are having problems with users leaving
files open, which prevents us from writing over them. I'm looking for a way
to quickly track down who has this file open so they can be flogged,
keel-hauled, then drawn and quartered. Your thoughts, please?

Remember, you are unique... just like everyone else!



Paul Maglinger, A+, CA, CCA, CET, MCSE
Systems Administrator Shoe Carnival Inc. (812)867-4674 pmaglinger@scvl.com
Re: Finding who has files open (in use) [ In reply to ]
I have used a product called Whohasnt.exe which has workied quite well.


>From: "Maglinger, Paul" <PMAGLINGER@scvl.com>
>To: "'NetApps list server'" <toasters@mathworks.com>
>Subject: Finding who has files open (in use)
>Date: Thu, 26 Sep 2002 15:24:02 -0500
>
>Greetings toasters!
>
>Looking for a way to list files that are in use on the filer and who is
>using them. I want an output similiar to what you would see if you went
>into Windows Server Manager, selected the server and clicked on the "In
>Use"
>button, but I want something more user friendly than scrolling down looking
>for the file name. Specifically, we are having problems with users leaving
>files open, which prevents us from writing over them. I'm looking for a
>way
>to quickly track down who has this file open so they can be flogged,
>keel-hauled, then drawn and quartered. Your thoughts, please?
>
>Remember, you are unique... just like everyone else!
>
>
>
>Paul Maglinger, A+, CA, CCA, CET, MCSE
>Systems Administrator Shoe Carnival Inc. (812)867-4674 pmaglinger@scvl.com




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx
Re: Finding who has files open (in use) [ In reply to ]
/* Seth Moskowitz [sethmoskowitz@hotmail.com] writes: */

>I have used a product called Whohasnt.exe which has workied quite well.
>
I hope I'm not the only person that looked at that and read it as
"who hasn't" rather than "who has NT"?

--
do svidaniya,

~mitch