PitchHut logo
Rust CLI Sysinfo
A simple Rust-based system services status utility that runs in a Linux terminal
Pitch

Rust-CLI-Sysinfo offers a streamlined way to monitor system services directly from the terminal. This lightweight utility displays essential information like CPU and memory usage, disk status, and system up-time with intuitive color-coded indicators. Built for efficiency and reliability, it runs seamlessly on Linux with no external dependencies.

Description

rust-cli-sysinfo is a straightforward system services dashboard implemented in Rust, designed to run efficiently within a Linux terminal environment. This utility provides users with valuable insights into various system metrics, including:

  • Detailed information about the Linux distribution, including its name and version.
  • System hostname.
  • Comprehensive CPU and GPU details.
  • Current kernel version.
  • System uptime and load averages over 1, 5, and 15 minutes.
  • Real-time CPU and memory usage statistics.
  • Disk usage information (defaulting to /home, with the option to specify a different disk using the -d/--disk flag).
  • A list of users currently logged into the system.

The output is enhanced with color-coded status indicators that represent performance levels:

  • Normal (green)
  • Warning (yellow)
  • Critical (red)

Users can customize their experience with the following configuration options:

  • --no-color: Disable colored output.
  • --no-clear: Prevent the utility from clearing the terminal screen before displaying results.

As a Linux-only utility, rust-cli-sysinfo is lightweight and built with no external dependencies, relying solely on native system calls and libraries for optimal performance and reliability.

Project Goals

The primary objective of rust-cli-sysinfo is to offer a user-friendly terminal-based tool that delivers a clear overview of system health, enabling users to quickly detect and troubleshoot potential issues.

Usage Instructions

To execute the utility, simply run rust-cli-sysinfo in the terminal. The command will automatically refresh the display of system statuses:

rust-cli-sysinfo

For assistance with available options, use the command:

rust-cli-sysinfo --help

Future Development

The project aims to undergo further enhancements, including code refactoring for modularity and potential extensions for monitoring additional system services in future releases. Contributions and suggestions for improvement are welcome.

0 comments

No comments yet.

Sign in to be the first to comment.