All Projects → aantn → smag

aantn / smag

Licence: MIT license
Show Me A Graph - Command Line Graphing

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to smag

Ttyplot
a realtime plotting utility for terminal/console with data input from stdin
Stars: ✭ 532 (+582.05%)
Mutual labels:  console, chart, cpu, pipeline, realtime, plot
Asciichart
Nice-looking lightweight console ASCII line charts ╭┈╯ for NodeJS, browsers and terminal, no dependencies
Stars: ✭ 1,107 (+1319.23%)
Mutual labels:  console, chart, plot
asciichart-sharp
C# port of asciichart
Stars: ✭ 27 (-65.38%)
Mutual labels:  console, chart, plot
termgraph
terminal candle stick graph library
Stars: ✭ 62 (-20.51%)
Mutual labels:  console, chart
Charts
⚡ Laravel Charts — Build charts using laravel. The laravel adapter for Chartisan.
Stars: ✭ 2,337 (+2896.15%)
Mutual labels:  chart, plot
Swiftcharts
Easy to use and highly customizable charts library for iOS
Stars: ✭ 2,336 (+2894.87%)
Mutual labels:  chart, plot
Asciigraph
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
Stars: ✭ 1,805 (+2214.1%)
Mutual labels:  chart, plot
ascii chart
Nice-looking lightweight console ASCII line charts ╭┈╯. Port of kroitor/asciichart.
Stars: ✭ 24 (-69.23%)
Mutual labels:  console, chart
Tiledesk Dashboard
The Tiledesk dashboard. Tiledesk is an Open Source Live Chat platform written in NodeJs, firebase and Angular.
Stars: ✭ 53 (-32.05%)
Mutual labels:  console, realtime
S Tui
Terminal-based CPU stress and monitoring utility
Stars: ✭ 2,825 (+3521.79%)
Mutual labels:  console, cpu
Tcharts.js
📉 Lightweight and fast terminal ASCII charts for nodejs and browser.
Stars: ✭ 172 (+120.51%)
Mutual labels:  console, chart
sarviewer
Generate graphs with gnuplot or matplotlib (Python) from sar data
Stars: ✭ 60 (-23.08%)
Mutual labels:  cpu, plot
Plotjuggler
The Time Series Visualization Tool that you deserve.
Stars: ✭ 2,620 (+3258.97%)
Mutual labels:  chart, plot
Computator.net
Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
Stars: ✭ 174 (+123.08%)
Mutual labels:  chart, plot
Aachartkit Swift
📈📊📱💻🖥️An elegant modern declarative data visualization chart framework for iOS, iPadOS and macOS. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types. 极其精美而又强大的跨平台数据可视化图表框架,支持柱状图、条形图、…
Stars: ✭ 1,962 (+2415.38%)
Mutual labels:  chart, plot
std
stdout, for humans.
Stars: ✭ 17 (-78.21%)
Mutual labels:  console, stdout
Highcharts Chart
Polymer Element wrapper for highcharts library. Seamlessly create various types of charts from one element.
Stars: ✭ 97 (+24.36%)
Mutual labels:  chart, plot
Nim Plotly
plotting library for nim-lang
Stars: ✭ 121 (+55.13%)
Mutual labels:  chart, plot
Ervy
Bring charts to terminal.
Stars: ✭ 1,530 (+1861.54%)
Mutual labels:  console, chart
HTGS
The Hybrid Task Graph Scheduler API
Stars: ✭ 36 (-53.85%)
Mutual labels:  cpu, pipeline

smag - show me a graph!

Easily create graphs from cli commands and view them in the terminal. Like the watch command but with a graph of the output.

Other tools

I also work on Robusta - a Kubernetes troubleshooting and automation platform. If you use Kubernetes, you'll like it.

Demo

Table of Contents

Install 💿

Install from source

git clone https://github.com/aantn/smag.git
cargo install --path .

Install from binaries

Binaries for Mac, Windows, and Linux are available under Releases.

Usage

Just run smag [shell_cmd] or smag [cmd1] [cmd2] if you want to graph multiple commands at once. You can control how often the graph updates with the -n flag. You can also graph a derivative of the command's output using -d.

smag can graph any command which outputs an integer or float. Any whitespace before/after the number is trimmed automatically.

Pull requests for more features or fixes are welcome.

Examples

  • Graph number of processes: smag "ps aux | wc -l"
  • Graph number of bash processes and ssh processes as two separate lines: smag "ps aux | grep ssh | wc -l" "ps aux | grep bash | wc -l"
  • Graph number of running Kubernetes pods: smag "kubectl get pods -A | grep Running | wc -l"

Full Usage

$ smag --help                                                                                                           ✔  2355  17:59:43
smag 0.5.0
Show Me A Graph - Like the `watch` command but with a graph of previous values.

USAGE:
    smag [FLAGS] [OPTIONS] <cmds>...

FLAGS:
    -d, --diff       Graph the diff of subsequent command outputs
        --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -h, --history <buffer-size>          Specify number of points to 'remember' and graph at once for each commands
                                         [default: 100]
    -n, --interval <polling-interval>    Specify update interval in seconds. [default: 1.0]

ARGS:
    <cmds>...    Command(s) to run

Inspiration

smag was inspired and based on code from the wonderful gping tool by Tom Forbes

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].