Computing.Net > Forums > Unix > UNIX open files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

UNIX open files

Reply to Message Icon

Name: AMMA
Date: January 11, 2003 at 22:48:02 Pacific
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



Sponsored Link
Ads by Google

Response Number 1
Name: Jake
Date: January 12, 2003 at 17:01:38 Pacific
Reply:

In Linux you can use the fuser command.


0

Response Number 2
Name: Frank
Date: January 14, 2003 at 04:15:25 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: UNIX open files

Skip open files with backup www.computing.net/answers/unix/skip-open-files-with-backup/3804.html

Unix Flat files to CSV format www.computing.net/answers/unix/unix-flat-files-to-csv-format/279.html

opening files from mounted unix volume www.computing.net/answers/unix/opening-files-from-mounted-unix-volume/1456.html