Ubuntu 使用 mstpd 工具查看 Mellanox 网卡 SM 信息

本文将介绍如何在 Ubuntu 系统中使用 mstpd 工具查看 Mellanox 网卡的 SM 信息。

1. 安装 mstpd 工具

在 Ubuntu 终端中执行以下命令:

sudo apt-get update
sudo apt-get install mstpd

2. 查看网卡列表

在终端中执行以下命令查看系统中的网络适配器列表:

sudo mst status

3. 查询 SM 信息

在终端中执行以下命令查询 SM 信息:

sudo mstpc -d '<device>' sm

其中,'' 为要查询的网卡的设备名,可以在上一步中查看到。执行完命令后,会输出一些 SM 的配置信息。

Ubuntu 使用 mstpd 工具查看 Mellanox 网卡 SM 信息

原文地址: https://www.cveoy.top/t/topic/nFQc 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录