idlelog

command module
v0.0.0-...-0e634f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2014 License: Apache-2.0 Imports: 9 Imported by: 0

README

idlelog

Quick tool to record idleness - in progress (Linux only - Requires X11)

Usage:

$ idlelog -h
Usage of idlelog:
  -csv="": Existing directory to write CSV logs
  -d=false: Debug (stdout)
  -g=false: Graphite enabled?
  -gs="127.0.0.1:2003": UDP Socket for Graphite
  -idle=5m0s: Length of inactivity considered idle
  -json="": Existing directory to write JSON logs
  -log="": Existing directory to write logs
  -o=false: OpenTSDB enabled?
  -os="127.0.0.1:8953": UDP Socket for OpenTSDB
  -poll=1m0s: Time between checks for activity

Try sending metrics to services or logging to a file

Example:

Send metrics to local OpenTDSB tcollector and log to json files in /home/user/activitylog

$ mkdir -p /home/user/activitylog
$ idlelog -o -json /home/user/activitylog &

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL