← 返回命令列表

Linux command

lstopo-no-graphics 命令

文件

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

常用示例

Example

lstopo-no-graphics

Example

lstopo-no-graphics --only pu

Example

lstopo-no-graphics -p

Example

lstopo-no-graphics -h

说明

lstopo-no-graphics displays the hardware topology of the system in text format without requiring a graphical display. Part of the hwloc (Hardware Locality) package, it shows the hierarchical structure of CPUs, caches, memory, and I/O devices. The output shows the system's NUMA nodes, packages (sockets), cores, and processing units (hardware threads) in a tree structure. This information is useful for understanding CPU architecture, cache sharing, and memory locality for performance optimization. Unlike lstopo, this variant works in console-only environments without X11 or graphical libraries.

参数

--only _type_
Display only objects of the specified type (e.g., pu for processing units)
-p, --physical
Display physical indexes instead of logical indexes
-l, --logical
Display logical indexes (default)
--no-io
Hide I/O devices from the output
--no-bridges
Hide bridge devices from the output
-h, --help
Display help information

FAQ

What is the lstopo-no-graphics command used for?

lstopo-no-graphics displays the hardware topology of the system in text format without requiring a graphical display. Part of the hwloc (Hardware Locality) package, it shows the hierarchical structure of CPUs, caches, memory, and I/O devices. The output shows the system's NUMA nodes, packages (sockets), cores, and processing units (hardware threads) in a tree structure. This information is useful for understanding CPU architecture, cache sharing, and memory locality for performance optimization. Unlike lstopo, this variant works in console-only environments without X11 or graphical libraries.

How do I run a basic lstopo-no-graphics example?

Run `lstopo-no-graphics` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --only _type_ do in lstopo-no-graphics?

Display only objects of the specified type (e.g., pu for processing units)