pcp
[Top] [All Lists]

Linux PMDA fd leak metric

To: pcp@xxxxxxxxxxx
Subject: Linux PMDA fd leak metric
From: David Disseldorp <ddiss@xxxxxxx>
Date: Mon, 25 Jul 2011 01:14:02 +0200
Hi,

The following patch adds a proc.fd.numopen metric to the Linux PMDA,
using the contents of /proc/<pid>/fd as its data source. This metric may
be useful in watching for application file descriptor leaks.

Feedback appreciated.

Cheers, David
--

The following changes since commit 4889dd72ed9e4d45042df419d8a9a4c01176fc9c:

  Resolve spaces-in-SIM_ABI related build issue on IA64 SLES11SP1. (2011-07-23 
10:01:35 +1000)

are available in the git repository at:
  git://oss.sgi.com/ddiss/pcp dev_linux_pmda_fd_numopen

David Disseldorp (1):
      Add open file-descriptor count metric to the Linux PMDA

 src/pmdas/linux/clusters.h |    1 +
 src/pmdas/linux/help       |    4 +++-
 src/pmdas/linux/pmda.c     |   19 ++++++++++++++++++-
 src/pmdas/linux/proc_pid.c |   39 +++++++++++++++++++++++++++++++++++++++
 src/pmdas/linux/proc_pid.h |   14 ++++++++++++++
 src/pmdas/linux/root_linux |    7 ++++++-
 6 files changed, 81 insertions(+), 3 deletions(-)

<Prev in Thread] Current Thread [Next in Thread>