← 返回命令列表

Linux command

hwinfo 命令

文本

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

常用示例

Example

hwinfo

Example

hwinfo --cpu

Example

hwinfo --disk --short

Write

hwinfo --all --log hardware.txt

Example

hwinfo --memory

Example

hwinfo --network

说明

hwinfo probes for hardware present in the system and provides detailed information about detected devices. It can report on individual components or all hardware at once.

参数

--short
Show brief summary instead of full details
--all
Probe for all hardware
--log FILE
Write output to specified file
--debug LEVEL
Set debug level (0-255)
--dump-db LEVEL
Dump hardware database

FAQ

What is the hwinfo command used for?

hwinfo probes for hardware present in the system and provides detailed information about detected devices. It can report on individual components or all hardware at once.

How do I run a basic hwinfo example?

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

What does --short do in hwinfo?

Show brief summary instead of full details