LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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
Launch with multiple environment variables
$ sampler -c [config.yml] -e "[VAR1=value1]" -e "[VAR2=value2]"
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

glances(1), htop(1)

Copied to clipboard
Kai