@mazhu/sysinfo
v1.0.0
Published
Cross-platform CLI system information tool
Maintainers
Readme
@mazhu/sysinfo
Cross-platform CLI system information tool. Displays CPU, memory, disk, and network info with colored output.
Install
npm install -g @mazhu/sysinfoUsage
sysinfo [command] [options]Commands
| Command | Description |
|---------|-------------|
| sysinfo cpu | Show CPU information |
| sysinfo mem | Show memory information |
| sysinfo disk | Show disk/storage information |
| sysinfo net | Show network information |
| sysinfo all | Show all system information (default) |
| sysinfo json | Output all information as JSON |
| sysinfo help | Show help message |
Options
--no-colorDisable colored output--help, -hShow help--version, -vShow version
Examples
sysinfo # show all info
sysinfo cpu # CPU only
sysinfo mem # memory only
sysinfo disk # disk only
sysinfo net # network only
sysinfo json # JSON output
sysinfo --no-color # no colorsFeatures
- 🖥️ CPU: Model, cores, speed, architecture, usage %
- 🧠 Memory: Total, used, free with progress bar
- 💾 Disk: Per-mount capacity, usage, free space
- 🌐 Network: Interface, IP address, MAC address
- 🎨 Colorful output with automatic color support detection
- 📦 JSON output for scripting
- 🪟 Cross-platform: macOS, Linux, Windows
License
MIT
