Solved

checking open files under Sun Solaris

Posted on 2009-05-06
2
2,101 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
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 100 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to improve IO of Solaris machine 15 84
how to check for shares on aix 1 68
Unix Command -- Challenging  question 7 87
Access_log 17 101
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 …
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

28 Experts available now in Live!

Get 1:1 Help Now