Linux system information tool — CPU, memory, disk, network, and process monitoring for sysadmins
Project description
dargslan-sysinfo
Linux System Information Tool — Get comprehensive system information with a single command. CPU, memory, disk, network, uptime, and process monitoring for sysadmins and DevOps engineers.
Installation
pip install dargslan-sysinfo
Quick Start
Command Line
# Full system report
dargslan-sysinfo
# Specific sections
dargslan-sysinfo --cpu
dargslan-sysinfo --memory
dargslan-sysinfo --disk
dargslan-sysinfo --network
dargslan-sysinfo --processes
dargslan-sysinfo --all
# JSON output (for scripting)
dargslan-sysinfo --json
Python API
from dargslan_sysinfo import SystemInfo
info = SystemInfo()
# Get all system info
report = info.full_report()
# Individual sections
cpu = info.cpu_info()
mem = info.memory_info()
disk = info.disk_info()
net = info.network_info()
procs = info.top_processes(n=10)
# JSON output
import json
print(json.dumps(info.full_report(), indent=2))
Output Example
╔══════════════════════════════════════════════════════════════╗
║ SYSTEM INFORMATION ║
╚══════════════════════════════════════════════════════════════╝
🖥️ HOSTNAME: web-server-01
🐧 OS: Ubuntu 24.04.1 LTS
🔧 KERNEL: 6.8.0-45-generic
⏱️ UPTIME: 14 days, 3 hours, 22 minutes
📦 PACKAGES: 1,247 installed
💻 CPU
Model: AMD EPYC 7763 64-Core
Cores: 4 (8 threads)
Load Avg: 0.45, 0.38, 0.32
Usage: 12.3%
🧠 MEMORY
Total: 16.0 GB
Used: 6.2 GB (38.8%)
Available: 9.8 GB
Swap: 2.0 GB (0.0% used)
💾 DISK
/ 45.2 GB / 100.0 GB (45.2%)
/home 12.8 GB / 50.0 GB (25.6%)
🌐 NETWORK
eth0: 10.0.0.5
RX: 2.4 GB
TX: 1.1 GB
Features
- Zero dependencies — uses only Python standard library
- Works on any Linux distribution
- CLI and Python API
- JSON output for automation
- Color-coded terminal output
- Top process monitoring
Use Cases
- Server health checks — Quick overview of system resources
- Monitoring scripts — JSON output for integration with monitoring tools
- Inventory management — Collect system info across fleet
- Troubleshooting — Identify resource bottlenecks
More Resources
- 📚 Linux & DevOps eBooks — 210+ professional eBooks
- 📋 Free Cheat Sheets — Linux, Docker, Kubernetes quick references
- 📖 Blog & Tutorials — In-depth Linux and DevOps guides
License
MIT License — see LICENSE for details.
Made with ❤️ by Dargslan — Your source for Linux & DevOps knowledge.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dargslan_sysinfo-1.0.0.tar.gz.
File metadata
- Download URL: dargslan_sysinfo-1.0.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7572514d506d68d6d0d1d81b6c8759257a42c5349dd92c35ff140e3d2d0ee10
|
|
| MD5 |
b4492866a672219e185d4812220b7410
|
|
| BLAKE2b-256 |
d88310e73b933d97ef83a1eb771906da92bb54059826c2ae6a0681a8e176374a
|
File details
Details for the file dargslan_sysinfo-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dargslan_sysinfo-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ea3f4fd9277ba76dca9098b8b1723f1c161663b5b27d025a9b9dc03869ea426
|
|
| MD5 |
a28269daeeb20c3efd44e000534233dd
|
|
| BLAKE2b-256 |
a0dc8c022ebfa3ca325775a35c9e0ba7e0610949779071f8f61222787de917ab
|