SUMMARY: Finding no of open files for a process

From: Atish (ACHOWDHU.IN.ORACLE.COM.ofcmail@in.oracle.com)
Date: Fri May 02 1997 - 07:50:09 CDT


 
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
 
#..........................................................................#
 
          
 
 



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:54 CDT