SUMMARY: Finding no of open files for a process
Atish (ACHOWDHU.IN.ORACLE.COM.ofcmail@in.oracle.com)
Fri, 02 May 1997 16:20:09 +0330
 
Hi all, 
	I had a query : "how to find the number of oopen files for a process, 
in Solaris 2.4" 
 
	It can be solved in two ways. 
 
1) Copy the binary /usr/proc/bin/pfiles from Solaris 2.5, and run it on 
Solaris 2.4 It WORKS. 
   ( pfiles <PID> ). 
 
2) Use a software called lsof ( from Purdue univ. ) 
   I got a copy from a collegue here, but it's available freely. 
   One ftp site is :ftp://ftp.sunet.se/pub/unix/admin/lsof/  
 
   lsof -p <PID> does the same thing. 
 
Thanks a lot , 
-Atish 
#..........................................................................# 
 
>From : Atish  Datta  Chowdhury 
       Oracle  Software  Development  Centre 
       India  Development  Centre 
       150  Embassy  Point 
       Bangalore  560001 
 
Telephone: (080) 2256099  Extn:496/atish 
e-mail: achowdhu@in.oracle.com 
 
#..........................................................................#