LinuxAlternative
lshwLinux vs CPU-ZWindows

lshw, alternative Linux à CPU-Z

Mis à jour le

Notre avis

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.

Couverture fonctionnelle80%
Licence
GPL-2.0
Prix
Gratuit
Dernière version
B.02.20
Note
—

Ce qui fonctionne pareil

  • 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

Ce qui change

  • 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

Ouvrir vos fichiers 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.

Passer de CPU-Z à lshw, étape par étape

  1. 1. Install lshw from your distro’s package manager (e.g., apt install lshw).
  2. 2. Run lshw as root to get full hardware data: sudo lshw -short or sudo lshw -json.
  3. 3. Redirect output to a file: sudo lshw -json > lshw.json.
  4. 4. Compare the JSON or text output with the CPU‑Z report you exported to CSV or text.
  5. 5. Use grep or jq to extract specific fields if needed.

Fonctionnalités clés de lshw

  • Affiche les détails du CPU, de la mémoire, du stockage, du réseau et des périphériques
  • Sortie en texte brut, XML ou JSON
  • Permet de filtrer par classe ou nom logique
  • Prend en charge le mode détaillé pour une inspection approfondie
  • S'exécute en root pour un accès complet au matériel
  • S'intègre aux pipelines shell
  • Prend en charge plusieurs formats de sortie pour l'automatisation

Installer lshw sous Linux

Ubuntu / Mintsudo apt install lshw
Debiansudo apt install lshw
Fedorasudo dnf install lshw
Arch / Manjarosudo pacman -S lshw
openSUSEsudo zypper install lshw

Questions fréquentes

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.

3 autres alternatives à CPU-Z

Toutes les alternatives à CPU-Z

Notez lshw

Soyez le premier à noter
Bon remplaçant de CPU-Z ? 9