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.
- 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.
-
System Information:
- OS, hostname, model
- Kernel version, uptime
- Screen resolution
-
CPU Information:
- Model name, core count, and thread count
-
Memory & Swap Usage:
- Memory and swap usage percentages
-
Disk Usage & I/O Statistics:
- Disk usage for root (
/
) - Mounted drives and their usage
- I/O stats (read/write speeds)
- Disk usage for root (
-
Battery Status (optional):
- Current charge and state
- 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
, andfree
for data collection.
Running the script will display a concise overview of your system's current state, such as: