Skip to content

brianatmoko/sysinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

sysinfo 🖥️

System information CLI — CPU, RAM, GPU, disk, network, sensors, and more.

Fitur

  • 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

Instalasi

chmod +x install.sh
./install.sh

Pastikan ~/.local/bin ada di PATH.

Usage

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

Output

  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

Struktur Project

sysinfo/
├── sysinfo/
│   ├── __init__.py
│   ├── __main__.py
│   ├── cli.py         # Argparse + orchestration
│   ├── collectors.py  # Data collectors per field
│   └── formatter.py   # Output formatting
├── install.sh
└── README.md

About

sysinfo digunakan untuk mengetahui spesifikasi Oprasi Sistem pada perangkat elektronik

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages