pcp
[Top] [All Lists]

pcp updates - add network.softnet.* metrics from /proc/net/softnet_stat

To: pcp <pcp@xxxxxxxxxxx>
Subject: pcp updates - add network.softnet.* metrics from /proc/net/softnet_stat counters
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Tue, 28 Jul 2015 11:30:04 +1000
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
This is for RH BZ 1190912: add /proc/net/softnet_stat counters to linux PMDA

QA for this is pending - Nathan mentioned he'd put it together if he has
time else I'll do it in the next day or so. Pretty straight forward.


Changes committed to git:/pcp.io/markgw/pcp/pcp.git master

commit b4633e2f3792caa359269144cd671d604ff0ec89
Author: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date:   Tue Jul 28 11:16:40 2015 +1000

    pmdalinux - add network.softnet metrics from /proc/net/softnet_stat.

    /proc/net/softnet_stat exports per-CPU statistics of various interesting
    metrics related to congestion in the Linux network stack. See the help
    text for details. This commit adds support for these metrics summed over
    all CPUs as network.softnet.*

    In the future we may extend this to also export the per-cpu metrics as
    network.softnet.percpu.* over the CPU instance domain - that's future work.

        modified:   src/pmdas/linux/GNUmakefile
        modified:   src/pmdas/linux/clusters.h
        modified:   src/pmdas/linux/help
        modified:   src/pmdas/linux/pmda.c
        new file:   src/pmdas/linux/proc_net_softnet.c
        new file:   src/pmdas/linux/proc_net_softnet.h
        modified:   src/pmdas/linux/root_linux

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