[CentOS] Tracking how many open files a process has?

Tue Aug 21 13:37:08 UTC 2007
Ross S. W. Walker <rwalker at medallion.com>

> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Christian Nygaard
> Sent: Tuesday, August 21, 2007 7:59 AM
> To: CentOS mailing list
> Subject: [CentOS] Tracking how many open files a process has?
> 
> I'm getting a "Too many open files" on a fileserver. 
> Is it possible to list how many open files each process has? 
> If so how do you do that?

What you are looking for is 'lsof'

-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.