Skip to content

Command Reference Guide · Part 2 of 7

GPU Server and Linux Host

Read-only commandUse / first question
hostnamectlWhich host and OS release am I on?
uptimeHas the host restarted or become overloaded?
uname -rWhich kernel is running?
lscpuWhich CPU and NUMA topology is visible?
free -hHow much system memory is available?
df -hIs a local or mounted filesystem full?
findmntWhich filesystem is mounted at the data path?
lsblk -o NAME,SIZE,TYPE,MOUNTPOINTSWhich block devices and mounts exist?
ip -br addrWhich NIC addresses and states are present?
ip routeWhat is the host's route to its peer?
ip -s linkAre interface drops or errors increasing?
ethtool <iface>Link speed, duplex, and negotiated state.
ethtool -S <iface>Driver-specific NIC counters; compare over time.
lspci -nnAre GPU and NIC PCIe devices enumerated?
nvidia-smi -LHow many GPUs are visible?
nvidia-smi --query-gpu=index,name,uuid,temperature.gpu,power.draw,utilization.gpu,memory.used --format=csvSnapshot of GPU identity and load.
nvidia-smi topo -mGPU, NIC, and CPU locality.
nvidia-smi nvlink --statusNVLink link status where supported.
dcgmi discovery --listWhich accelerators does DCGM see?
dcgmi health --checkPassive DCGM health result when a watch is configured.
journalctl -k --since '1 hour ago'Recent kernel/driver errors; redact before sharing.
Read-only commandhostnamectl
Use / first questionWhich host and OS release am I on?
Read-only commanduptime
Use / first questionHas the host restarted or become overloaded?
Read-only commanduname -r
Use / first questionWhich kernel is running?
Read-only commandlscpu
Use / first questionWhich CPU and NUMA topology is visible?
Read-only commandfree -h
Use / first questionHow much system memory is available?
Read-only commanddf -h
Use / first questionIs a local or mounted filesystem full?
Read-only commandfindmnt
Use / first questionWhich filesystem is mounted at the data path?
Read-only commandlsblk -o NAME,SIZE,TYPE,MOUNTPOINTS
Use / first questionWhich block devices and mounts exist?
Read-only commandip -br addr
Use / first questionWhich NIC addresses and states are present?
Read-only commandip route
Use / first questionWhat is the host's route to its peer?
Read-only commandip -s link
Use / first questionAre interface drops or errors increasing?
Read-only commandethtool <iface>
Use / first questionLink speed, duplex, and negotiated state.
Read-only commandethtool -S <iface>
Use / first questionDriver-specific NIC counters; compare over time.
Read-only commandlspci -nn
Use / first questionAre GPU and NIC PCIe devices enumerated?
Read-only commandnvidia-smi -L
Use / first questionHow many GPUs are visible?
Read-only commandnvidia-smi --query-gpu=index,name,uuid,temperature.gpu,power.draw,utilization.gpu,memory.used --format=csv
Use / first questionSnapshot of GPU identity and load.
Read-only commandnvidia-smi topo -m
Use / first questionGPU, NIC, and CPU locality.
Read-only commandnvidia-smi nvlink --status
Use / first questionNVLink link status where supported.
Read-only commanddcgmi discovery --list
Use / first questionWhich accelerators does DCGM see?
Read-only commanddcgmi health --check
Use / first questionPassive DCGM health result when a watch is configured.
Read-only commandjournalctl -k --since '1 hour ago'
Use / first questionRecent kernel/driver errors; redact before sharing.

Use NVIDIA System Management Interface and the DCGM CLI reference for exact installed-version syntax. A active diagnostic can consume hardware resources and is not a routine read-only check.

Read aloudPage 2