Reply to Message Icon Go to Main Page Icon

UNIX open files

Original Message
Name: AMMA
Date: January 11, 2003 at 22:48:02 Pacific
Subject: UNIX open files
OS: WIN 2000
CPU/Ram: P4/256
Comment:

How can I find the open files in Unix server? I have 20 Win XP machines connected to Unix server. I want to know which user has what files open?
Appreciate the help
Thanks
dan Klavil


Report Offensive Message For Removal


Response Number 1
Name: Jake
Date: January 12, 2003 at 17:01:38 Pacific
Subject: UNIX open files
Reply: (edit)

In Linux you can use the fuser command.


Report Offensive Follow Up For Removal

Response Number 2
Name: Frank
Date: January 14, 2003 at 04:15:25 Pacific
Subject: UNIX open files
Reply: (edit)

Also on Linux would be the use of fuser not the easy one for this question.
fuser would return only the PID. Based on the PID you got you would try to find the socket for this process.
Based on the socket you would find the IP address.
It is a long way and not the best soulution.

I would suggest to use the lsof command.

If it is not installed you can try to find it on:
http://ciac.llnl.gov/ciac/ToolsUnixGeneral.html

Have fun
Frank


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: UNIX open files

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software