โฆ โโ โฆ โโโ
โ โโ โโโ
โฉโโ โฉ โโโ
A professional CPU-Z alternative for Linux systems
- Overview
- Features
- Screenshots
- Supported Distributions
- Installation
- Usage
- System Requirements
- Troubleshooting
- Contributing
- License
LX-Z is a comprehensive, professional-grade hardware information tool for Linux systems, designed to be the definitive alternative to CPU-Z on Windows. It provides detailed information about your system's hardware components with a beautiful, interactive command-line interface.
- โจ Beautiful CLI Interface - Modern, colorful, and intuitive interface powered by Rich
- ๐ Comprehensive Hardware Detection - CPU, RAM, Storage, GPU, Sensors, and more
- ๐ Multi-Distribution Support - Works on Ubuntu, Debian, RHEL, CentOS, Fedora, and Arch
- ๐ Export Capabilities - Generate JSON and TXT reports for documentation
- โก Fast & Lightweight - Minimal dependencies, maximum performance
- ๐ก๏ธ No Root Required - Basic functionality works without sudo (enhanced features need root)
- Basic Details: Model, architecture, vendor, family, stepping
- Core Configuration: Physical cores, logical processors, sockets
- Frequency: Current, minimum, and maximum clock speeds
- Cache: L1 (data/instruction), L2, and L3 cache sizes
- Capabilities: Complete CPU flags and feature set (SSE, AVX, virtualization, etc.)
- Overview: Total, available, used, and free RAM
- Swap: Complete swap space information and usage
- Memory Modules: Detailed information from DMI (requires root)
- Size, type, speed, manufacturer
- Physical slot location
- Part numbers and serial numbers
- Block Devices: All storage devices (HDD/SSD detection)
- Device Details: Model, size, type, read-only status
- Partitions: Complete filesystem information
- Mount points, filesystem types
- Size, usage, and availability
- SMART: Health status monitoring (if available)
- Graphics Cards: All installed GPUs
- Details: Vendor, model, driver information
- VRAM: Memory size (NVIDIA GPUs)
- API Support: OpenGL and Vulkan versions
- Motherboard: Manufacturer, model, version, serial number
- BIOS/UEFI: Vendor, version, release date
- Temperature: CPU, GPU, and motherboard temperatures
- Fan Speeds: All system fan RPM readings
- Battery: Comprehensive laptop battery information
- Capacity, status, energy levels
- Manufacturer and model
- JSON Export: Machine-readable format for automation
- TXT Export: Human-readable detailed reports
- Timestamped: Auto-generated filenames with timestamps
โฆ โโ โฆ โโโ
โ โโ โโโ
โฉโโ โฉ โโโ
Linux Hardware Analyzer v1.0
A professional CPU-Z alternative for Linux
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Main Menu โ
โโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ [1] โ ๐น CPU Information โ
โ [2] โ ๐น Memory (RAM) Information โ
โ [3] โ ๐น Storage Devices โ
โ [4] โ ๐น GPU Information โ
โ [5] โ ๐น Motherboard & BIOS โ
โ [6] โ ๐น Sensors & Hardware Monitor โ
โ [7] โ ๐น Complete System Overview โ
โ [8] โ ๐น Export Report (JSON/TXT) โ
โ [0] โ ๐น Exit โ
โฐโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
LX-Z has been tested and works on the following Linux distributions:
| Distribution | Version | Package Manager | Status |
|---|---|---|---|
| Ubuntu | 18.04+ | APT | โ Tested |
| Debian | 9+ | APT | โ Tested |
| Linux Mint | 19+ | APT | โ Compatible |
| RHEL | 7+ | YUM/DNF | โ Tested |
| CentOS | 7+ | YUM/DNF | โ Tested |
| Rocky Linux | 8+ | DNF | โ Compatible |
| Fedora | 30+ | DNF | โ Tested |
| Arch Linux | Rolling | Pacman | โ Tested |
| Manjaro | Rolling | Pacman | โ Compatible |
- Kernel: Linux kernel 4.x and 5.x+ supported
- VM Support: Works in both virtual machines and bare-metal
- ARM: Basic support (some features may be limited)
# Clone the repository
git clone https://github.com/sarat1kyan/LX-Z.git
cd LX-Z
# Run the installation script
chmod +x install.sh
./install.sh
# Run LX-Z
./lxz.pyUbuntu/Debian:
sudo apt-get update
sudo apt-get install -y lshw hwinfo dmidecode smartmontools \
lm-sensors pciutils usbutils util-linux mesa-utilsRHEL/CentOS/Fedora:
sudo dnf install -y lshw hwinfo dmidecode smartmontools \
lm_sensors pciutils usbutils util-linux mesa-demosArch Linux:
sudo pacman -S lshw hwinfo dmidecode smartmontools \
lm_sensors pciutils usbutils util-linux mesa-demospip3 install rich --break-system-packages
# Or
pip3 install -r requirements.txt --break-system-packageschmod +x lxz.pysudo ln -s $(pwd)/lxz.py /usr/local/bin/lxz# Run from installation directory
./lxz.py
# Or if you created a symlink
lxzFor full functionality, including DMI information, SMART data, and detailed sensors:
sudo ./lxz.py- Use number keys to select menu options
- Press Enter to confirm selections
- Press Ctrl+C to exit at any time
- Select option 8 from the main menu
- Choose export format:
- JSON - For automation and scripting
- TXT - For human-readable reports
- Both - Export in both formats
Reports are saved to your home directory with timestamps:
~/lxz_report_YYYYMMDD_HHMMSS.json~/lxz_report_YYYYMMDD_HHMMSS.txt
- OS: Linux kernel 4.x or later
- Python: Python 3.6 or later
- Memory: 50 MB RAM
- Disk: 10 MB free space
- OS: Linux kernel 5.x or later
- Python: Python 3.8 or later
- Root Access: For full feature set
- Sensors: lm-sensors configured for temperature monitoring
Problem: Some hardware information is not accessible without root.
Solution:
sudo ./lxz.pyProblem: Rich library not installed.
Solution:
pip3 install rich --break-system-packagesProblem: lm-sensors not configured.
Solution:
sudo sensors-detect # Answer YES to all prompts
sudo service kmod start # Or rebootProblem: GPU drivers not installed or lspci not available.
Solution:
# Install pciutils
sudo apt-get install pciutils # Debian/Ubuntu
sudo dnf install pciutils # Fedora/RHEL
sudo pacman -S pciutils # Arch
# Install appropriate GPU drivers
# NVIDIA: nvidia-driver
# AMD: mesa-vulkan-driversProblem: smartmontools not installed or insufficient permissions.
Solution:
# Install smartmontools
sudo apt-get install smartmontools # Debian/Ubuntu
sudo dnf install smartmontools # Fedora/RHEL
# Run with sudo
sudo ./lxz.pyFor debugging, you can check individual components:
# Test CPU detection
python3 -c "from utils.cpu import CPUInfo; print(CPUInfo().get_all_info())"
# Test memory detection
python3 -c "from utils.memory import MemoryInfo; print(MemoryInfo().get_all_info())"| Feature | LX-Z | CPU-Z (Windows) | lscpu | neofetch |
|---|---|---|---|---|
| CPU Details | โ Full | โ Full | โ Basic | โ Basic |
| Memory Modules | โ DMI | โ DMI | โ | โ |
| Storage Info | โ Full | โ Full | โ | โ Basic |
| GPU Details | โ Full | โ Full | โ | โ Basic |
| Sensors | โ Full | โ Full | โ | โ |
| BIOS Info | โ Full | โ Full | โ | โ |
| Export Reports | โ JSON/TXT | โ TXT/HTML | โ | โ |
| Interactive UI | โ Rich | โ GUI | โ | โ |
| Cross-Platform | ๐ง Linux | ๐ช Windows | ๐ง Linux | ๐ง Multi |
LX-Z/
โโโ lxz.py # Main application entry point
โโโ install.sh # Automated installation script
โโโ requirements.txt # Python dependencies
โโโ README.md # This file
โโโ LICENSE # MIT License
โโโ utils/ # Core utility modules
โ โโโ __init__.py # Package initializer
โ โโโ cpu.py # CPU information gathering
โ โโโ memory.py # Memory and motherboard info
โ โโโ storage.py # Storage devices and partitions
โ โโโ gpu.py # GPU and graphics info
โ โโโ sensors.py # Temperature and sensors
โ โโโ exporter.py # Report export functionality
โโโ docs/ # Documentation (if needed)
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow PEP 8 style guide for Python code
- Add docstrings to all functions and classes
- Test on multiple distributions before submitting
- Update README.md if adding new features
Found a bug? Please open an issue with:
- Your Linux distribution and version
- Python version (
python3 --version) - Steps to reproduce
- Expected vs actual behavior
- Any error messages
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by CPU-Z for Windows
- Built with Rich for beautiful terminal output
- Thanks to the Linux community for excellent hardware detection tools
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Real-time CPU frequency monitoring
- Network adapter information
- Overclocking detection
- Benchmark integration
- Web-based GUI interface
- Docker container support
- Raspberry Pi optimization
- Hardware comparison database