Karl F. Larsen wrote:
> > > Does anyne know how to find out how many open file descriptors there are
> > > at any one time on a linux box?
> > > Any help would be appreciated..
> >
> >
> > Try this one!
> >
> > $ cat /proc/sys/kernel/file-nr
> > 360
>
> I did that and it worked just fine. I have 180. But what ARE they?
Try scanning the /proc/<pid>/fd directories; they contain
pseudo-symlinks for the descriptors which a process has open.
NB: if you want to find the corresponding filenames, you need to use
`find ... -inum ...'.
--
Glynn Clements <[EMAIL PROTECTED]>