LinuxCommandLibrary

sampler

Terminal dashboard from shell commands with YAML configuration

TLDR

Launch a dashboard with a config file
$ sampler -c [config.yml]
copy
Launch with environment variables
$ sampler -c [config.yml] -e "[VAR=value]"
copy

SYNOPSIS

sampler -c config.yml [options]

DESCRIPTION

sampler executes shell commands at configurable intervals and visualizes their output as runcharts, sparklines, barcharts, gauges, and text boxes in the terminal. It supports trigger-based alerts (visual, sound, terminal bell, or arbitrary shell commands) and works with databases, message queues, SSH, and JMX out of the box.

PARAMETERS

-c FILE

Path to the YAML configuration file.
-e VAR=VALUE
Set environment variables for the dashboard.

CAVEATS

Windows support is experimental. Linux requires libasound2-dev for audio alerts.

HISTORY

sampler was created by Alexander Lukyanchikov (sqshq) and is written in Go.

SEE ALSO

wtfutil(1), grafana(1), glances(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard