Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

system-gauges.rs

image image

System gauges is a rust program that display information about your system in a linear gauge format from the inside of your terminal.

Features

The currently supported informations about your system are :

  • your RAM usage
  • your SWAP usage
  • your global CPU usage
  • your Disk usage

The colors of the main gauges and the disk gauges are customizable.

If you have more than one disk the gauges will be sized appropriately to all fit on the screen.

Installation

INSTALLING FROM Crates.io

    cargo install system-gauges

INSTALLING FROM EXECUTABLE

  1. Grab the latest executable from the release section
  2. Add it to your path for bash :
echo 'export PATH=$PATH:/home/path/to/installation/directory' >> ~/.bashrc
 for zsh:
echo 'export PATH=$PATH:/home/path/to/installation/directory' >> ~/.zshrc

COMPILING FROM SOURCE

  1. Clone the repo and cd into the directory:
git clone https://github.com/Djalcoding/system-gauges.rs.git
cd system-gauges
  1. Compile the binary:
cargo build --release
  1. Add "current working directory"/target/release to path: for bash :
echo 'export PATH=$PATH:/home/path/to/current/directory/target/release' >> ~/.bashrc

for zsh:

echo 'export PATH=$PATH:/home/path/to/current/directory/target/release' >> ~/.zshrc
  1. Restart your terminal emulator and you're good to go !

Prerequisites

  • Rust toolchain (recommended: use rustup) (for compiling from source and installing from cargo)

Usage

Help :

system-gauges -h

Running the program :

system-gauges

The colors are defined by your Terminal Environment.

Notes

  • The script currently only has Linux support as it uses termion, (it should also work on Mac-OS but it hasn't been tested)

About

A rust system ressource checker with a TUI

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages