kcollect - Implement gnuplot output feature
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 29 Jul 2017 23:24:41 +0000 (16:24 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 30 Jul 2017 00:24:10 +0000 (17:24 -0700)
commitf9c8e4ac602a256cf6ad5264b64716f3895a4484
treeeb11ced58db8f7b6c889e873c700b4f848903072
parent94a51109722886cbeac24d37c73ad37d8161f5a0
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
usr.bin/kcollect/Makefile
usr.bin/kcollect/gnuplot.c [new file with mode: 0644]
usr.bin/kcollect/kcollect.8
usr.bin/kcollect/kcollect.c
usr.bin/kcollect/kcollect.h [new file with mode: 0644]