GithubHelp home page GithubHelp logo

tchigher / zenith Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bvaisvil/zenith

0.0 0.0 0.0 1.35 MB

Zenith - sort of like top or htop but with zoom-able charts, network, and disk usage

License: MIT License

Rust 99.86% Shell 0.14%

zenith's Introduction

Zenith

In terminal graphical metrics for your *nix system written in Rust.

Running zenith under iterm on MacOS

Features

  • Optional CPU, Memory, Network, and Disk usage charts
  • Quick glances at Disk free space, NIC IP addresses, CPU frequency
  • A top like process table that includes per process disk usage
  • Different chart views (5 minutes, 1 hour, etc)
  • Managing processes (signals, nice, etc)
  • Saving performance data

Planned Features

  • Sensor Temperature charts
  • Per process network usage (Linux)
  • Messaging about adverse system events, like errors in kernel ring buffer (Linux)
  • Docker support

Current Platforms

  • Linux
  • MacOS

Planned Platforms

  • Other BSD systems may work, I have not tested.
  • Perhaps Redox OS.

Installation

Binary

Download one of the compiled releases.

Homebrew

brew tap bvaisvil/zenith
brew install zenith

Building

This builds under rustc version >= 1.39.0.

cd zenith
cargo build --release

Usage

Running with no arguments starts zenith with the default visualizations for CPU, Disk, and Netowrk and a refresh rate of 2000 ms (2 seconds). These can be changed with command line parameters:

    zenith [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --cpu-height <INT>        Height of CPU/Memory visualization. [default: 10]
    -d, --disk-height <INT>       Height of Disk visualization. [default: 10]
    -n, --net-height <INT>        Height of Network visualization. [default: 10]
    -p, --process-height <INT>    Min Height of Process Table. [default: 8]
    -r, --refresh-rate <INT>      Refresh rate in milliseconds. [default: 2000]

Don't want a section? Remove it by setting the height to 0.

For example: zenith -c 0 Will remove the CPU chart.

Up/down arrow keys move around the process table. Return (enter) will focus on a process. Tab switches the active section. Active sections can be expanded (e) and minimized (m). +/- (or =/-) will zoom in / out all of the charts. Arrow keys (โ†/โ†’) move forward/backward in time. Back tick (`) resets the chart to current time and max zoom. Using this you can create the layout you want.

Built using these great crates

zenith's People

Contributors

bvaisvil avatar manithree avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.