|
-
Feb 25th, 2004, 05:10 PM
#1
Thread Starter
Banned
who has what open
In Linux I can determine someone and some file that has been opened over the network. So say I've got this file that I want to delete, but the system keeps telling you it's locked or in use, but who, what is using that file?
In Linux I can run fuser -u filename. and I could kill the process using kill -pid.
How can I do this in windows???
Jon
-
Feb 25th, 2004, 05:13 PM
#2
SFU might have those abilities if you're using NT/XP Pro/2K or 2K3.
If you don't know what SFU is, it's a free UNIX utilities made by Microsoft and it pretty much adds alot of Unix commands into the command prompt. I would like to add that the kill command included in the SFU works ALOT better than anything built into Windows.
-
Feb 25th, 2004, 05:15 PM
#3
Thread Starter
Banned
Originally posted by kasracer
SFU might have those abilities if you're using NT/XP Pro/2K or 2K3.
If you don't know what SFU is, it's a free UNIX utilities made by Microsoft and it pretty much adds alot of Unix commands into the command prompt. I would like to add that the kill command included in the SFU works ALOT better than anything built into Windows.
Hmm./..got a link?
A download ?
???
-
Feb 25th, 2004, 05:18 PM
#4
Thread Starter
Banned
Originally posted by kasracer
SFU might have those abilities if you're using NT/XP Pro/2K or 2K3.
If you don't know what SFU is, it's a free UNIX utilities made by Microsoft and it pretty much adds alot of Unix commands into the command prompt. I would like to add that the kill command included in the SFU works ALOT better than anything built into Windows.
Do you use it ?
if so does it have fuser ???
I need to find out which user has what file open in a multi network environment.
Jon
-
Feb 25th, 2004, 05:24 PM
#5
I can't seem to find fuser but it still may be useful for you. It's a free download from Microsoft.com (just search for it on google).
You may want to check out if cygwin has fuser.
I don't know of any windows ways of doing this
-
Feb 25th, 2004, 05:46 PM
#6
Thread Starter
Banned
Can anyone else jump in on this...
I need to be able to see what user has a specific file open...
In winders...over a network...
I need some program that allows me to determine this. I cant find much info on SFU or Cygwin..specifically fuser.
Jon
-
Feb 26th, 2004, 08:08 AM
#7
Retired VBF Adm1nistrator
If you're running a Windows Server Operating System, then go into :
Start > Programs > Administrative Tools > Server Manager
You can look at a list of open files, file locks and shares from in there.
On the other hand, if you're running a Windows Client Operating System, then I would suggest using "Process Explorer" by http://www.sysinternals.com
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 26th, 2004, 08:26 AM
#8
Thread Starter
Banned
Originally posted by plenderj
If you're running a Windows Server Operating System, then go into :
Start > Programs > Administrative Tools > Server Manager
You can look at a list of open files, file locks and shares from in there.
On the other hand, if you're running a Windows Client Operating System, then I would suggest using "Process Explorer" by http://www.sysinternals.com
This is nice locally, but what about other users across the network?
-
Feb 26th, 2004, 09:21 AM
#9
Retired VBF Adm1nistrator
Erm what do you mean across the network?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 26th, 2004, 09:31 AM
#10
Thread Starter
Banned
See my first post...
Multi user corporate network.
Lets say I am on my local machine
\\JONNY
There is a file server out there called
\\VENUS. This file server holds CAD drawings and files avaliable to all users as mapped drives to their PC's. Lets say I want to delete a file 1.CAD located on the file server \\VENUS..I try to delete it..and I cant I get the message that the file is currently being used by another process. That other process is Joe Blow who has the file open...Joe Blow left his desk for 12 hours...that means this file sits there for 12 hours because he left it open.
I want to be able to see who has WHAT FILE and their NAME across a network not just locally....
Jon
-
Feb 26th, 2004, 10:42 AM
#11
Retired VBF Adm1nistrator
In theory you could install a remote admin package, but anyway, you can (I think) use the Computer Management tool in Administrative Tools on a 2000 or XP machine to view server manager on an NT Server.
So, from my own desk in work (A Windows 2000 Professional Workstation) :
Start > Settings > Control Panel > Administrative Tools > Computer Management
Action > Connect to another computer
I put in, for example, our PDC's name : NT1
I can then go into :
Computer Management (NT1) > System Tools > Shared Folders
From there I can look at :
Shares, Sessions & Open Files
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 26th, 2004, 11:11 AM
#12
Thread Starter
Banned
Exactly what I was looking for.
BTW I downloaded SFU on the MS Site, got a virus...had to do a boot up from the startup and delete the 227 megabyte VIRUS download.
Thanks MS!
Thanks Plender!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|