Skip to content
Snippets Groups Projects
Unverified Commit 7279018c authored by Cameron Sparr's avatar Cameron Sparr
Browse files

readme fixup & test output fixup

parent 4b08d127
No related branches found
No related tags found
No related merge requests found
...@@ -75,7 +75,7 @@ func (r *RunningInput) MakeMetric( ...@@ -75,7 +75,7 @@ func (r *RunningInput) MakeMetric(
) )
if r.trace && m != nil { if r.trace && m != nil {
fmt.Println("> " + m.String()) fmt.Print("> " + m.String())
} }
r.MetricsGathered.Incr(1) r.MetricsGathered.Incr(1)
......
...@@ -19,6 +19,7 @@ to the unix `uptime` command. ...@@ -19,6 +19,7 @@ to the unix `uptime` command.
- load15 (float) - load15 (float)
- load5 (float) - load5 (float)
- n_users (integer) - n_users (integer)
- n_cpus (integer)
- uptime (integer, seconds) - uptime (integer, seconds)
- uptime_format (string) - uptime_format (string)
...@@ -31,5 +32,7 @@ None ...@@ -31,5 +32,7 @@ None
``` ```
$ telegraf -config ~/ws/telegraf.conf -input-filter system -test $ telegraf -config ~/ws/telegraf.conf -input-filter system -test
* Plugin: system, Collection 1 * Plugin: system, Collection 1
> system load1=2.05,load15=2.38,load5=2.03,n_users=4i,uptime=239043i,uptime_format="2 days, 18:24" 1457546165399253452 * Plugin: inputs.system, Collection 1
> system,host=tyrion load1=3.72,load5=2.4,load15=2.1,n_users=3i,n_cpus=4i 1483964144000000000
> system,host=tyrion uptime=1249632i,uptime_format="14 days, 11:07" 1483964144000000000
``` ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment