System information CLI — CPU, RAM, GPU, disk, network, sensors, and more.
- System — OS, hostname, kernel, uptime
- Hardware — CPU model/usage, RAM, swap, disk, GPU, temperature
- Network — IP addresses per interface
- Software — packages, shell, terminal, desktop, resolution
- Formats — human (sections), compact, JSON, CSV
- Filter — pilih section atau field tertentu
- Cross-platform — Linux (full), macOS (basic)
- Zero dependencies — stdlib Python aja
chmod +x install.sh
./install.shPastikan ~/.local/bin ada di PATH.
sysinfo # System + hardware + load
sysinfo --full # All available info
sysinfo --section hardware # Only hardware
sysinfo --section system network # Multiple sections
sysinfo --select os,ram,disk,gpu # Pick specific fields
sysinfo --format json # JSON output
sysinfo --format csv # CSV output
sysinfo --compact # Compact key:val format System
────────────────────────────────────────
OS Linux Mint 22.3
Host my-laptop
Kernel 6.17.0-35-generic
Uptime 2h 31m
Hardware
────────────────────────────────────────
CPU 11th Gen Intel Core i7 (8) @ 4.70GHz
CPU Usage 12.3%
RAM 3.4G / 15.3G
Swap 0M / 16384M
Disk 45G / 234G
GPU GeForce RTX 2050, 4096 MiB
Temperature CPU: 74.0°C
sysinfo/
├── sysinfo/
│ ├── __init__.py
│ ├── __main__.py
│ ├── cli.py # Argparse + orchestration
│ ├── collectors.py # Data collectors per field
│ └── formatter.py # Output formatting
├── install.sh
└── README.md