LinuxAlternative
lshwLinux vs CPU-ZWindows

lshw como alternativa Linux ao CPU-Z

Atualizado em

Nossa avaliação

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.

Cobertura de recursos80%
Licença
GPL-2.0
Preço
Grátis
Versão mais recente
B.02.20
Avaliação
—

O 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

O que muda

  • 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

Abrindo seus arquivos do 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.

Trocando o CPU-Z pelo lshw, passo a passo

  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.

Principais recursos do lshw

  • Exibe detalhes de CPU, memória, armazenamento, rede e periféricos
  • Gera saída em texto simples, XML ou JSON
  • Permite filtrar por classe ou nome lógico
  • Oferece modo detalhado para inspeção mais profunda
  • Pode ser executado como root para acesso completo ao hardware
  • Integra-se a pipelines do shell
  • Suporta múltiplos formatos de saída para automação

Como instalar o lshw no Linux

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

Perguntas frequentes

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.

Outras 3 alternativas ao CPU-Z

Todas as alternativas ao CPU-Z

Avalie o lshw

Seja o primeiro a avaliar
É um bom substituto do CPU-Z? 9