lshw como alternativa Linux a CPU-Z
Actualizado el
Nuestra opinión
lshw is a solid replacement for CPU‑Z on Linux, especially for users who prefer a command‑line tool and want detailed hardware data without a GUI. It provides CPU model, core count, clock speeds, cache sizes, memory type, speed, motherboard chipset, and BIOS version. It is best suited for system administrators, developers, and advanced users who are comfortable with terminal output and can parse the text or JSON formats. For casual users who want a quick glance, a lighter tool like inxi may be more convenient.
- Licencia
- GPL-2.0
- Precio
- Gratis
- Última versión
- B.02.20
- Valoración
- —
Lo que funciona igual
- Both report CPU model, core count, clock speeds, and cache sizes
- Both provide memory type and speed
- Both include motherboard chipset and BIOS/UEFI version
Lo que cambia
- lshw requires root for full details, whereas CPU‑Z runs as a normal user
- lshw outputs in text, XML, or JSON; CPU‑Z uses a GUI
- lshw does not provide real‑time monitoring of CPU load or temperature
- lshw is not a Windows program, so it cannot read CPU‑Z .czi files directly
- lshw lacks the quick‑launch GUI and on‑screen display that CPU‑Z offers
Abrir tus archivos de CPU-Z
lshw cannot open or read CPU‑Z’s proprietary .czi files. To migrate data, export CPU‑Z information to a plain text or CSV file and then use lshw’s text or JSON output for comparison. No direct file conversion exists.
Pasar de CPU-Z a lshw, paso a paso
- 1. Install lshw from your distro’s package manager (e.g., apt install lshw).
- 2. Run lshw as root to get full hardware data: sudo lshw -short or sudo lshw -json.
- 3. Redirect output to a file: sudo lshw -json > lshw.json.
- 4. Compare the JSON or text output with the CPU‑Z report you exported to CSV or text.
- 5. Use grep or jq to extract specific fields if needed.
Funciones clave de lshw
- Muestra detalles de CPU, memoria, almacenamiento, red y periféricos
- Genera salida en texto plano, XML o JSON
- Puede filtrar por clase o nombre lógico
- Admite modo detallado para una inspección más profunda
- Se ejecuta como root para acceso completo al hardware
- Se integra con tuberías de shell
- Admite múltiples formatos de salida para automatización
Cómo instalar lshw en Linux
sudo apt install lshwsudo apt install lshwsudo dnf install lshwsudo pacman -S lshwsudo zypper install lshwPreguntas frecuentes
Does lshw show real‑time CPU usage?
No. lshw reports static hardware information. For real‑time usage, use tools like top, htop, or mpstat.
Can I run lshw without root?
Yes, but some details (e.g., BIOS version, full PCIe info) will be missing. Use sudo for complete data.
Is lshw lighter than CPU‑Z?
Yes, lshw is a command‑line utility with minimal dependencies, so it uses far less memory and CPU than the Windows GUI application.