From 8fe8943a0eae78c3dd28728dca0eeb73e8315789 Mon Sep 17 00:00:00 2001 From: Maisam Arif Date: Tue, 3 Sep 2024 15:57:39 -0500 Subject: [PATCH] Added Example commands for amd-smi CLI Signed-off-by: Maisam Arif Change-Id: I4a0211f7dd54de9b225e4546509134bb45c97956 [ROCm/amdsmi commit: d40e4d18a031aec64be30d8ac7a3cc863c52ab79] --- projects/amdsmi/amdsmi_cli/README.md | 10 ++++++++++ projects/amdsmi/docs/how-to/using-AMD-SMI-CLI-tool.md | 9 +++++++++ 2 files changed, 19 insertions(+) diff --git a/projects/amdsmi/amdsmi_cli/README.md b/projects/amdsmi/amdsmi_cli/README.md index f88c596a11..378755bae7 100644 --- a/projects/amdsmi/amdsmi_cli/README.md +++ b/projects/amdsmi/amdsmi_cli/README.md @@ -103,10 +103,20 @@ AMD-SMI Commands: xgmi Displays xgmi information of the devices ``` +Example commands: + +``` bash +amd-smi static --gpu 0 +amd-smi metric +amd-smi process --gpu 0 1 +amd-smi reset --gpureset --gpu all +``` + More detailed verison information is available from `amd-smi version` Each command will have detailed information via `amd-smi [command] --help` + ## Commands For convenience, here is the help output for each command diff --git a/projects/amdsmi/docs/how-to/using-AMD-SMI-CLI-tool.md b/projects/amdsmi/docs/how-to/using-AMD-SMI-CLI-tool.md index e7eac67132..e35f0a7c6e 100644 --- a/projects/amdsmi/docs/how-to/using-AMD-SMI-CLI-tool.md +++ b/projects/amdsmi/docs/how-to/using-AMD-SMI-CLI-tool.md @@ -30,6 +30,15 @@ AMD-SMI Commands: xgmi Displays xgmi information of the devices ``` +Example commands: + +``` bash +amd-smi static --gpu 0 +amd-smi metric +amd-smi process --gpu 0 1 +amd-smi reset --gpureset --gpu all +``` + More detailed verison information is available from `amd-smi version` Each command will have detailed information via `amd-smi [command] --help`