pcp
[Top] [All Lists]

[RFC] Collect additional metrics from /proc/net/netstat

To: pcp@xxxxxxxxxxx
Subject: [RFC] Collect additional metrics from /proc/net/netstat
From: Michele Baldessari <michele@xxxxxxxxxx>
Date: Thu, 15 May 2014 00:51:36 +0100
Cc: Michele Baldessari <michele@xxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=acksyn.org; h= x-mailer:message-id:date:date:subject:subject:from:from:received :received; s=2010; t=1400111505; bh=olTu5e2m4/l/fSX2/GM/VdEt6TnU 6r4fZQv8o/dZNwQ=; b=OnYGmpqe9nEQNok437vcJxEMAKl5Tj+TQ4eAPZ5lyTMv nxqsXq6ak85Uu9o8MlwAYZtK9qYia2aq2S/Ns5CERtvnkR1v7KHP3Ygagyl1Seqh 99q8/QZN5DDeiLl4qCpQB+ixCPRlRDXfxpPFg23ZD2amOZaVxEK2GjZv4mCiteU=
Hi all,

this patch mimics src/pmdas/linux/proc_net_snmp.[ch] and extends the
network.{tcp,ip} namespaces in order to get a better glimpse at the
behaviour of the Linux network stack. 

The rationale behind these new metrics is that these days, in order
to troubleshoot network performance issues you really need to look at
all of these metrics to understand why a certain workload is not
performing as expected. I will also submit two other separate PMDAs
(sctp and ethtool -S) later on.

RFC since a) I just started reading up on PCP and b) I am unsure
if it is okay to add ~120 metrics in the Linux PMDA or if it is
preferable to put these in a separate one.

Any feedback is appreciated.

cheers,
Michele

Michele Baldessari (1):
  Add /proc/net/netstat support

 src/pmdas/linux/GNUmakefile        |   7 +-
 src/pmdas/linux/clusters.h         |   2 +
 src/pmdas/linux/help               | 126 ++++++++
 src/pmdas/linux/pmda.c             | 609 +++++++++++++++++++++++++++++++++++++
 src/pmdas/linux/proc_net_netstat.c | 353 +++++++++++++++++++++
 src/pmdas/linux/proc_net_netstat.h | 150 +++++++++
 src/pmdas/linux/root_linux         | 119 ++++++++
 7 files changed, 1364 insertions(+), 2 deletions(-)
 create mode 100644 src/pmdas/linux/proc_net_netstat.c
 create mode 100644 src/pmdas/linux/proc_net_netstat.h

-- 
1.9.0

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