Advertisement
Advertisement
-
Re: Do you know how to find open files on the /export/home partition while runnning Solaris 9?
Fri, February 16, 2007 - 7:35 AMtry the fuser command
either fuser -c /export/home which will give you a list of PIDS that have files open in the filesystem
or fuser -f [yourfile] which will give you the pid of processes that have your file open. -
-
Unsu...
Re: Do you know how to find open files on the /export/home partition while runnning Solaris 9?
Fri, February 16, 2007 - 8:51 AM
If you want to kill off those processes (say for file locking applications or defunct users that still hold an inode open) to do maintenance, fuser -ck (kill) works well. -
-
Re: Do you know how to find open files on the /export/home partition while runnning Solaris 9?
Sat, February 17, 2007 - 6:54 AMthanks!
Fox
-
-
-
Re: Do you know how to find open files on the /export/home partition while runnning Solaris 9?
Sat, February 17, 2007 - 1:45 PMYou could also install "lsof" and use the same command on most any *ix platform.
H -
-
Unsu...
Re: Do you know how to find open files on the /export/home partition while runnning Solaris 9?
Sat, February 17, 2007 - 2:44 PM
Or go to Solaris 10 (or bsd, or soon osx)nand dtrace it, for that matter. -
-
Re: Do you know how to find open files on the /export/home partition while runnning Solaris 9?
Mon, February 19, 2007 - 3:42 AMDtrace is a great tool, but the learning curve on it is pretty nasty.
-
-
-
Re: Do you know how to find open files on the /export/home partition while runnning Solaris 9?
Mon, February 19, 2007 - 12:27 PMAre you also looking to see if there are any remote users of that filesystem (eg, NFS)?
H -
-
Unsu...
Re: Do you know how to find open files on the /export/home partition while runnning Solaris 9?
Mon, February 19, 2007 - 1:03 PMdfshares
-