Solved

checking open files under Sun Solaris

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

757 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

17 Experts available now in Live!

Get 1:1 Help Now