From 8bed06ecdda36beff8a60bec0d171f2a5d298088 Mon Sep 17 00:00:00 2001 From: zhuhongboAAA <161548655+zhuhongboAAA@users.noreply.github.com> Date: Thu, 6 Nov 2025 15:55:55 +0800 Subject: [PATCH 1/7] hwloc: add page --- pages/linux/hwloc.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pages/linux/hwloc.md diff --git a/pages/linux/hwloc.md b/pages/linux/hwloc.md new file mode 100644 index 00000000000000..8efe5bc7fc0ec2 --- /dev/null +++ b/pages/linux/hwloc.md @@ -0,0 +1,37 @@ +# hwloc + +> Manage and query hardware topology information. +> Part of the Portable Hardware Locality (hwloc) toolset. +> More information: . + +- Display the machine topology in a tree format: + +`hwloc-ls` + +- Show a compact listing of available CPUs: + +`hwloc-ls --cpus` + +- Display only physical cores (ignore logical processors): + +`hwloc-ls --only pu` + +- Export topology to an XML file: + +`hwloc-ls --output-format xml --output-file {{path/to/topology.xml}}` + +- Show the topology of a specific process: + +`hwloc-ls --pid {{pid}}` + +- Display I/O devices in the topology: + +`hwloc-ls --io` + +- Show memory hierarchy information: + +`hwloc-ls --memory` + +- Display the topology with physical indexes: + +`hwloc-ls --physical` From e62b0e565a5d5b516663ac396154b1e6680404b6 Mon Sep 17 00:00:00 2001 From: zhuhongboAAA <161548655+zhuhongboAAA@users.noreply.github.com> Date: Thu, 6 Nov 2025 16:56:32 +0800 Subject: [PATCH 2/7] Update and rename hwloc.md to hwloc-ls.md --- pages/linux/{hwloc.md => hwloc-ls.md} | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) rename pages/linux/{hwloc.md => hwloc-ls.md} (50%) diff --git a/pages/linux/hwloc.md b/pages/linux/hwloc-ls.md similarity index 50% rename from pages/linux/hwloc.md rename to pages/linux/hwloc-ls.md index 8efe5bc7fc0ec2..575bb5c75be811 100644 --- a/pages/linux/hwloc.md +++ b/pages/linux/hwloc-ls.md @@ -1,4 +1,4 @@ -# hwloc +# hwloc-ls > Manage and query hardware topology information. > Part of the Portable Hardware Locality (hwloc) toolset. @@ -8,30 +8,15 @@ `hwloc-ls` -- Show a compact listing of available CPUs: - -`hwloc-ls --cpus` - - Display only physical cores (ignore logical processors): `hwloc-ls --only pu` -- Export topology to an XML file: - -`hwloc-ls --output-format xml --output-file {{path/to/topology.xml}}` - -- Show the topology of a specific process: - -`hwloc-ls --pid {{pid}}` - -- Display I/O devices in the topology: - -`hwloc-ls --io` - -- Show memory hierarchy information: - -`hwloc-ls --memory` - Display the topology with physical indexes: `hwloc-ls --physical` + +- Display help: + +`hwloc-ls --help` From 36562a87334acd7f2a961f137981009330cf7b2b Mon Sep 17 00:00:00 2001 From: zhuhongboAAA <161548655+zhuhongboAAA@users.noreply.github.com> Date: Thu, 6 Nov 2025 16:59:06 +0800 Subject: [PATCH 3/7] Update hwloc-ls.md --- pages/linux/hwloc-ls.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/linux/hwloc-ls.md b/pages/linux/hwloc-ls.md index 575bb5c75be811..6d2f5bbeec1c47 100644 --- a/pages/linux/hwloc-ls.md +++ b/pages/linux/hwloc-ls.md @@ -12,7 +12,6 @@ `hwloc-ls --only pu` - - Display the topology with physical indexes: `hwloc-ls --physical` From 8fb9d3bde5cf8c07ea6fac15a97709e4a9bde2a5 Mon Sep 17 00:00:00 2001 From: zhuhongboAAA <161548655+zhuhongboAAA@users.noreply.github.com> Date: Fri, 7 Nov 2025 09:31:49 +0800 Subject: [PATCH 4/7] Update pages/linux/hwloc-ls.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/linux/hwloc-ls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/hwloc-ls.md b/pages/linux/hwloc-ls.md index 6d2f5bbeec1c47..f11d68b189959a 100644 --- a/pages/linux/hwloc-ls.md +++ b/pages/linux/hwloc-ls.md @@ -14,7 +14,7 @@ - Display the topology with physical indexes: -`hwloc-ls --physical` +`hwloc-ls {{[-p|--physical]}}` - Display help: From 74d59dd1ee9ee8b545cfb7e3abaf89ddbbc57fe0 Mon Sep 17 00:00:00 2001 From: zhuhongboAAA <161548655+zhuhongboAAA@users.noreply.github.com> Date: Fri, 7 Nov 2025 09:32:02 +0800 Subject: [PATCH 5/7] Update pages/linux/hwloc-ls.md Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/linux/hwloc-ls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/hwloc-ls.md b/pages/linux/hwloc-ls.md index f11d68b189959a..95365168d45e60 100644 --- a/pages/linux/hwloc-ls.md +++ b/pages/linux/hwloc-ls.md @@ -18,4 +18,4 @@ - Display help: -`hwloc-ls --help` +`hwloc-ls {{[-h|--help]}}` From d95db142aaceb1499c544ce70619d1d9823fec6c Mon Sep 17 00:00:00 2001 From: zhuhongboAAA <161548655+zhuhongboAAA@users.noreply.github.com> Date: Mon, 10 Nov 2025 16:24:23 +0800 Subject: [PATCH 6/7] Update and rename hwloc-ls.md to lstopo-no-graphics.md --- pages/linux/{hwloc-ls.md => lstopo-no-graphics.md} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename pages/linux/{hwloc-ls.md => lstopo-no-graphics.md} (72%) diff --git a/pages/linux/hwloc-ls.md b/pages/linux/lstopo-no-graphics.md similarity index 72% rename from pages/linux/hwloc-ls.md rename to pages/linux/lstopo-no-graphics.md index 95365168d45e60..ac85e6021e3e3f 100644 --- a/pages/linux/hwloc-ls.md +++ b/pages/linux/lstopo-no-graphics.md @@ -6,16 +6,16 @@ - Display the machine topology in a tree format: -`hwloc-ls` +`lstopo-no-graphics` - Display only physical cores (ignore logical processors): -`hwloc-ls --only pu` +`lstopo-no-graphics --only pu` - Display the topology with physical indexes: -`hwloc-ls {{[-p|--physical]}}` +`lstopo-no-graphics {{[-p|--physical]}}` - Display help: -`hwloc-ls {{[-h|--help]}}` +`lstopo-no-graphics {{[-h|--help]}}` From 3f88b2b7c96dd5f83ed6a4bdea354132003f3372 Mon Sep 17 00:00:00 2001 From: zhuhongboAAA <161548655+zhuhongboAAA@users.noreply.github.com> Date: Mon, 10 Nov 2025 16:28:29 +0800 Subject: [PATCH 7/7] Update lstopo-no-graphics.md --- pages/linux/lstopo-no-graphics.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pages/linux/lstopo-no-graphics.md b/pages/linux/lstopo-no-graphics.md index ac85e6021e3e3f..5a0927086fa04e 100644 --- a/pages/linux/lstopo-no-graphics.md +++ b/pages/linux/lstopo-no-graphics.md @@ -1,8 +1,7 @@ -# hwloc-ls +# lstopo-no-graphics > Manage and query hardware topology information. -> Part of the Portable Hardware Locality (hwloc) toolset. -> More information: . +> More information: . - Display the machine topology in a tree format: