• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2119
  • Last Modified:

checking open files under Sun Solaris

Hi All,

In Windows you can check the open files on the servers.
How and where can I check the open files in Sun Solaris?
We're using Sun and Windows with Samba.
When I open the Windows server - Opened files, it is empty.

Thanks,
0
attila01
Asked:
attila01
1 Solution
 
attila01Author Commented:
Is it the wrong topic for Sun or nobody knows the answer?
0
 
yuzhCommented:
You can use "lsof" to check the open files. lsof is the 3rd tool (free), you can download it for your OS version(platform) from:
http://www.sunfreeware.com/
you can also use "fuser " command to find out which process and user is using the file.
type in
man fuser
man pfiles
man lsof
to learn more details
you can also do:
ls -l /proc/*/fd | wc -l
to see the how many files are currently open .
BTW, you should post the Solaris question in:
http://www.experts-exchange.com/OS/Unix/Solaris/
The Solaris experts don't come to see this TA often (including me).
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now