Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Netapp: toasters

Finding who has files open (in use)

 

 

Netapp toasters RSS feed   Index | Next | Previous | View Threaded


PMAGLINGER at scvl

Sep 26, 2002, 1:24 PM

Post #1 of 7 (3022 views)
Permalink
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 [at] scvl


reinoud.reynders at uz

Sep 26, 2002, 1:51 PM

Post #2 of 7 (2982 views)
Permalink
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 [at] scvl>
To: "'NetApps list server'" <toasters [at] mathworks>
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 [at] scvl
>


mike.sphar at Remedy

Sep 26, 2002, 2:05 PM

Post #3 of 7 (2979 views)
Permalink
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 [at] scvl]
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 [at] scvl


david.merkin at gs

Sep 26, 2002, 2:22 PM

Post #4 of 7 (2987 views)
Permalink
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 [at] keene for
a copy.

Thanks
David

-----Original Message-----
From: Maglinger, Paul [mailto:PMAGLINGER [at] scvl]
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 [at] scvl


Marcus_Bui at AIMFUNDS

Sep 26, 2002, 2:59 PM

Post #5 of 7 (2986 views)
Permalink
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 [at] scvl]
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 [at] scvl


sethmoskowitz at hotmail

Oct 4, 2002, 10:13 AM

Post #6 of 7 (2984 views)
Permalink
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 [at] scvl>
>To: "'NetApps list server'" <toasters [at] mathworks>
>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 [at] scvl




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx


mitch at netline

Oct 4, 2002, 10:37 AM

Post #7 of 7 (2988 views)
Permalink
Re: Finding who has files open (in use) [In reply to]

/* Seth Moskowitz [sethmoskowitz [at] hotmail] 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

Netapp toasters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.