Another great tool is lsof which provides a list of open files.
Unfortunately, once again, it does not come pre-installed on
Solaris. What that means is you must install it. The good thing
is, it is worth the five minutes that go into its
installation.
Before we go into how to install lsof, let's discuss a bit about
how lsof works. Lsof works by reading kernel's proc structure
information to obtain information about open UNIX dialect files.
Lsof relates this information to the user structure. It then
reads the open file structures that are normally stored in the
user structure. From the 00PORTING file distributed with
lsof:
Lsof stores information from the proc and user structures in an[Read more]
internal, local proc structure table. It then processes the open
file structures by reading the file system nodes that lie behind
them, extracting and storing relevant data in internal local file
structures that …