?
Solved

checking open files under Sun Solaris

Posted on 2009-05-06
2
Medium Priority
?
2,115 Views
Last Modified: 2013-12-05
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
Comment
Question by:attila01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Author Comment

by:attila01
ID: 24323680
Is it the wrong topic for Sun or nobody knows the answer?
0
 
LVL 38

Accepted Solution

by:
yuzh earned 400 total points
ID: 24325504
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

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses
Course of the Month8 days, 9 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question