SUMMARY : Re: no. of open files of a running process...

From: Padmanabhan Ramadurai (durai@head-cfa.harvard.edu)
Date: Tue Mar 28 2000 - 16:00:18 CST


Thanks to:

Unixboy@aol.com suggested /usr/proc/bin/pfiles...
parker@bctm. /usr/proc/bin/pfiles...
RayDelaney@firstusa.com /usr/proc/bin/pfiles...
tfranklin@home.com /usr/proc/bin/pfiles
ramanujan.kidambi@ssmb.com /usr/proc/bin/pfiles
foster@dim.ucsd.edu lsof
cmurty@Legato.COM lsof
Jason.Shatzkamer@cexp.com proctool
gdallair@criq.qc.ca proctool

Thanks for all your time, lsof -p pid gave it in the format i wanted.

P.Ramadurai

> ORIGINAL QUESTION:
> I've a large/complex daemon, it some times ends up hitting
> rlim_fd_cur limit. Is there a way to monior the no. of
> "currently open files/used descriptors" of a running process
> provided you know its process id. /etc/crash {file} gives for
> the entire system but not for a process id. (this is solaris 2.6)
> thanks for your time,
> P.Ramadurai



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:05 CDT