Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.89 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.89 KB

read me is made by AI

ssysi (Small System Information)

ssysi is a simplified, lightweight system information tool. The goal of this project is to provide essential system information in a minimal package, under 10KB, while retaining useful and practical features for everyday system monitoring.

Key Features

  • Minimalist Design: Under 10KB in size, making it fast and resource-efficient.
  • Essential System Stats:
    • CPU model, core count, and thread count.
    • Memory usage and swap statistics.
    • Disk usage and mounted drives.
    • System uptime and kernel information.
    • Battery status (if applicable).
  • User-Friendly Output: Information is presented in a clean, formatted, and color-coded way to improve readability.
  • Lightweight & Fast: No unnecessary overhead, designed for speed and low resource usage.
  • Terminal-Friendly: Runs seamlessly in the terminal, with centered text for a polished look.

Displayed Information

  1. System Information:

    • OS, hostname, model
    • Kernel version, uptime
    • Screen resolution
  2. CPU Information:

    • Model name, core count, and thread count
  3. Memory & Swap Usage:

    • Memory and swap usage percentages
  4. Disk Usage & I/O Statistics:

    • Disk usage for root (/)
    • Mounted drives and their usage
    • I/O stats (read/write speeds)
  5. Battery Status (optional):

    • Current charge and state

How It Works

  • Color Formatting: Uses ANSI escape codes for background colors and clear text presentation.
  • Centered Text: Outputs all information neatly centered in the terminal for readability.
  • Efficient Parsing: Uses lightweight commands like awk, ps, df, and free for data collection.

Example Usage

Running the script will display a concise overview of your system's current state, such as:

screen