豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1.14 KB

File metadata and controls

54 lines (37 loc) · 1.14 KB

System Health

A command-line tool to display comprehensive system health information including battery status, RAM usage, and system resources.

Features

  • 🔋 Detailed battery health information (health percentage, cycle count, capacity)
  • 💾 RAM usage and capacity monitoring
  • 💻 CPU usage and information
  • 🖴 Disk usage and storage information
  • 🎮 Basic graphics card information
  • ⏳ System uptime

Installation

cargo install system_health

Usage

Simply run the command:

system_health

Example Output

🔍 System Health Report:
💻 CPU: Intel(R) Core(TM) i7-9750H | Usage: 25.5%
🛠️ RAM: 8.5/16.0GB used (53.1%)
📊 Max RAM Capacity: 16.0GB

💾 Disk [/dev/sda]: 256.5/512.0GB used (50.1%)
📊 Total Capacity: 512.0GB | Free: 255.5GB

🎮 Graphics: NVIDIA GeForce RTX 2060 | Temp: 45.2°C
⏳ Uptime: 2h 15m

🔋 Battery Health: 95.2% (42 cycles)
📉 Current Max Capacity: 56.8Wh
🏭 Design Capacity: 59.7Wh

Requirements

  • Rust 1.70 or higher
  • Linux, macOS, or Windows

License

This project is licensed under the MIT License - see the LICENSE file for details.