Hello, I got many responses. Lots of people recommend using lsof/pfiles, which failed in our environment. One possible reason is we are using vxfs filesystem and lsof doesn't recognize it. +++ oracle 5200 oracle cwd unknown file system type (vxfs), v_op: 0x783cdb 90 oracle 5200 oracle txt unknown file system type (vxfs), v_op: 0x783cdb 90 +++ Sherman Butler and Casper Dik suggests using: find /proc -links 0 -type f -ls It lists all the processes and can't tell which one is the stale one. Finally, I restart all the processes using that filesystem and the disk space is back.:-) Here I really appreciated the following people spending time to respond my question. Casper.Dik Petri Kallberg Sam Nelson Hall, Christian N. Allan West Alex Stade Chamkura, Balki Thomas M. Payerle Sherman Butler Allan West Thomas M. Payerle Brian Gerard Eric Lewandowski All best regards, zhu Original Question ------ I got many responses recommending lsof or fuser. I am sorry not to clarify my sitution in original mail. I don't know who/when the file was deleted and don't know the filename either. Just because of the weird space difference, I suspect some log files have been removed with processes up and running. I thought the /proc structure should contain the file node information and am writing a script to go through all the related process. In the mean time, I am open to other methods or opinions.:-) best regards, zhu ===== Hello everyone, One team member removed a big log file without killing the process, causing disk space un-released from process. We are running solaris 9 with volume manager 4.0. Is there anyway I can find that particular process without rebooting the whole system? thanks very much! zhu Here is the df output: Filesystem kbytes used avail capacity Mounted on /dev/vx/dsk/rootdg/a 1048576 946456 96334 91% /a #du -sk /a 1474 ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Mon Apr 4 16:48:37 2005
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:45 EST