← 返回命令列表

Linux command

hardinfo 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start the graphical interface

hardinfo

Generate a text report to stdout

hardinfo -r

Generate an HTML report

hardinfo -r -f html > [report.html]

List available modules

hardinfo -l

说明

hardinfo (Hardware Information) is a graphical system information and benchmark tool for Linux. It displays detailed information about hardware components, software configuration, and system resources. The GUI organizes information into categories including: - Computer - Summary, operating system, kernel modules, boots - Devices - Processor, memory, PCI devices, USB devices, storage - Network - Interfaces, IP connections, routing table - Benchmarks - CPU, FPU, and memory performance tests Reports can be generated for documentation or support purposes in text, HTML, or shell variable formats.

参数

-r, --generate-report
Generate report to stdout instead of opening GUI
-f, --report-format _FORMAT_
Report format: text, html, or shell
-m, --load-module _MODULE_
Load specific module
-a, --autoload
Automatically load all modules
-l, --list-modules
List available modules

FAQ

What is the hardinfo command used for?

hardinfo (Hardware Information) is a graphical system information and benchmark tool for Linux. It displays detailed information about hardware components, software configuration, and system resources. The GUI organizes information into categories including: - Computer - Summary, operating system, kernel modules, boots - Devices - Processor, memory, PCI devices, USB devices, storage - Network - Interfaces, IP connections, routing table - Benchmarks - CPU, FPU, and memory performance tests Reports can be generated for documentation or support purposes in text, HTML, or shell variable formats.

How do I run a basic hardinfo example?

Run `hardinfo` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -r, --generate-report do in hardinfo?

Generate report to stdout instead of opening GUI