List open files
This command lists regular files that are open by running processes:
lsof -n | grep REG
Or just grep for the file you are looking for:
lsof -n | grep $filename
You can also see what ports are open using lsof -i.
|
|
|
|
|
|
|
|
|
|
|
|
To check for open ports in Solaris 9, see this post:
http://www.utahsysadmin.com/2009/04/02/find-open-ports-in-solaris-9/
Posted April 2, 2009, 3:02 pm