git: kcollect - Implement gnuplot output feature

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 29 17:25:23 PDT 2017


commit f9c8e4ac602a256cf6ad5264b64716f3895a4484
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sat Jul 29 16:24:41 2017 -0700

    kcollect - Implement gnuplot output feature
    
    * Implement the gunplot output feature.  This feature currently
      hard-selects a set of fields (fields cannot be specified).
    
      Generates two graphs.  The first collects memory statistics
      and machine load.  The second collects cpu utilization and
      fault, syscall, and nlookup (file path resolution) rate.
    
    * In gnuplot output mode, -f will cause the entire dataset to be
      regenerated every 60 seconds (I don't see any way to avoid this
      to update an existing gnuplot window).
    
    * Finish implementing -o fields

Summary of changes:
 usr.bin/kcollect/Makefile                          |   3 +-
 usr.bin/kcollect/gnuplot.c                         | 205 +++++++++++++++++++++
 usr.bin/kcollect/kcollect.8                        |  31 +++-
 usr.bin/kcollect/kcollect.c                        | 120 ++++++++----
 .../sched_getcpu.c => usr.bin/kcollect/kcollect.h  |  31 ++--
 5 files changed, 333 insertions(+), 57 deletions(-)
 create mode 100644 usr.bin/kcollect/gnuplot.c
 copy lib/libc/sys/sched_getcpu.c => usr.bin/kcollect/kcollect.h (77%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f9c8e4ac602a256cf6ad5264b64716f3895a4484


-- 
DragonFly BSD source repository


More information about the Commits mailing list