kcollect - Add a smoothing option (-s)
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 30 Jul 2017 01:10:48 +0000 (18:10 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 30 Jul 2017 01:10:48 +0000 (18:10 -0700)
commitb038db3d311da0f11cabe276a16add5f95bf20cf
treee5ec9ae9390473186aa0cee044fa282fa18554d2
parent7849fb9191ddbdaaa76b79100397f9ae8377218a
kcollect - Add a smoothing option (-s)

* Add an option (-s) which smooths the plot.  The smoothing algorithm uses
  an exponential average with fast collapse to the high-side so spikes do
  not get lost.
usr.bin/kcollect/gnuplot.c
usr.bin/kcollect/kcollect.8
usr.bin/kcollect/kcollect.c
usr.bin/kcollect/kcollect.h