.TH "nvidia\-smi" "1" "2024/10/10" "nvidia\-smi 565.57" "NVIDIA" .SH "NAME" .PP nvidia\-smi \- NVIDIA System Management Interface program .SH "SYNOPSIS" .PP nvidia\-smi [OPTION1 [ARG1]] [OPTION2 [ARG2]] ... .PP .SH "DESCRIPTION" .PP nvidia\-smi (also NVSMI) provides monitoring and management capabilities for each of NVIDIA\(aqs Tesla, Quadro, GRID and GeForce devices from Fermi and higher architecture families. GeForce Titan series devices are supported for most functions with very limited information provided for the remainder of the Geforce brand. NVSMI is a cross platform tool that supports all standard NVIDIA driver-supported Linux distros, as well as 64bit versions of Windows starting with Windows Server 2008 R2. Metrics can be consumed directly by users via stdout, or provided by file via CSV and XML formats for scripting purposes. .PP Note that much of the functionality of NVSMI is provided by the underlying NVML C-based library. See the NVIDIA developer website link below for more information about NVML. NVML-based python bindings are also available. .PP The output of NVSMI is not guaranteed to be backwards compatible. However, both NVML and the Python bindings are backwards compatible, and should be the first choice when writing any tools that must be maintained across NVIDIA driver releases. .PP \fBNVML SDK:\fR \fIhttp://developer.nvidia.com/nvidia-management-library-nvml/\fR .PP \fBPython bindings:\fR \fIhttp://pypi.python.org/pypi/nvidia-ml-py/\fR .PP .SH "OPTIONS" .SS GENERAL OPTIONS .SS "\-h, \-\-help" Print usage information and exit. .SS "\-\-version" Print version information and exit. .SS LIST OPTIONS .SS "\-L, \-\-list\-gpus" List each of the NVIDIA GPUs in the system, along with their UUIDs. .SS "\-B, \-\-list\-excluded\-gpus" List each of the excluded NVIDIA GPUs in the system, along with their UUIDs. .SS SUMMARY OPTIONS .SS Show a summary of GPUs connected to the system. .SS [any one of] .SS "\-i, \-\-id=ID" Target a specific GPU. .SS "\-f FILE, \-\-filename=FILE" Log to the specified file, rather than to stdout. .SS "\-l SEC, \-\-loop=SEC" Probe until Ctrl+C at specified second interval. .SS QUERY OPTIONS .SS "\-q, \-\-query" Display GPU or Unit info. Displayed info includes all data listed in the (\fIGPU ATTRIBUTES\fR) or (\fIUNIT ATTRIBUTES\fR) sections of this document. Some devices and/or environments don\(aqt support all possible information. Any unsupported data is indicated by a "N/A" in the output. By default information for all available GPUs or Units is displayed. Use the \fB\-i\fR option to restrict the output to a single GPU or Unit. .SS [plus optionally] .SS "\-u, \-\-unit" Display Unit data instead of GPU data. Unit data is only available for NVIDIA S-class Tesla enclosures. .SS "\-i, \-\-id=ID" Display data for a single specified GPU or Unit. The specified id may be the GPU/Unit\(aqs 0\-based index in the natural enumeration returned by the driver, the GPU\(aqs board serial number, the GPU\(aqs UUID, or the GPU\(aqs PCI bus ID (as domain:bus:device.function in hex). It is recommended that users desiring consistency use either UUID or PCI bus ID, since device enumeration ordering is not guaranteed to be consistent between reboots and board serial number might be shared between multiple GPUs on the same board. .SS "\-f FILE, \-\-filename=FILE" Redirect query output to the specified file in place of the default stdout. The specified file will be overwritten. .SS "\-x, \-\-xml\-format" Produce XML output in place of the default human\-readable format. Both GPU and Unit query outputs conform to corresponding DTDs. These are available via the \fB\-\-dtd\fR flag. .SS "\-\-dtd" Use with \fB\-x\fR. Embed the DTD in the XML output. .SS "\-\-debug=FILE" Produces an encrypted debug log for use in submission of bugs back to NVIDIA. .SS "\-d TYPE, \-\-display=TYPE" Display only selected information: MEMORY, UTILIZATION, ECC, TEMPERATURE, POWER, CLOCK, COMPUTE, PIDS, PERFORMANCE, SUPPORTED_CLOCKS, PAGE_RETIREMENT, ACCOUNTING, ENCODER_STATS, SUPPORTED_GPU_TARGET_TEMP, VOLTAGE, FBC_STATS, ROW_REMAPPER, RESET_STATUS, GSP_FIRMWARE_VERSION. Flags can be combined with comma e.g. "MEMORY,ECC". Sampling data with max, min and avg is also returned for POWER, UTILIZATION and CLOCK display types. Doesn\(aqt work with -u/--unit or -x/--xml-format flags. .SS "\-l SEC, \-\-loop=SEC" Continuously report query data at the specified interval, rather than the default of just once. The application will sleep in\-between queries. Note that on Linux ECC error or XID error events will print out during the sleep period if the \fI-x\fR flag was not specified. Pressing Ctrl+C at any time will abort the loop, which will otherwise run indefinitely. If no argument is specified for the \fB\-l\fR form a default interval of 5 seconds is used. .SS "\-lms ms, \-\-loop-ms=ms" Same as \-l,\-\-loop but in milliseconds. .SS SELECTIVE QUERY OPTIONS Allows the caller to pass an explicit list of properties to query. .SS [one of] .SS "\-\-query\-gpu= Information about GPU. Pass comma separated list of properties you want to query. e.g. \-\-query\-gpu=pci.bus_id,persistence_mode. Call \-\-help\-query\-gpu for more info. .SS "\-\-query\-supported\-clocks=" List of supported clocks. Call \-\-help\-query\-supported\-clocks for more info. .SS "\-\-query\-compute\-apps=" List of currently active compute processes. Call \-\-help\-query\-compute\-apps for more info. .SS "\-\-query\-accounted\-apps=" List of accounted compute processes. Call \-\-help\-query\-accounted\-apps for more info. This query is not supported on vGPU host. .SS "\-\-query\-retired\-pages=" List of GPU device memory pages that have been retired. Call \-\-help\-query\-retired\-pages for more info. .SS "\-\-query\-remapped\-rows=" Information about remapped rows. Call \-\-help\-query\-remapped\-rows for more info. .SS [mandatory] .SS "\-\-format=" Comma separated list of format options: .IP \[bu] csv - comma separated values (MANDATORY) .IP \[bu] noheader - skip first line with column headers .IP \[bu] nounits - don't print units for numerical values .SS [plus any of] .SS "\-i, \-\-id=ID" Display data for a single specified GPU. The specified id may be the GPU\(aqs 0\-based index in the natural enumeration returned by the driver, the GPU\(aqs board serial number, the GPU\(aqs UUID, or the GPU\(aqs PCI bus ID (as domain:bus:device.function in hex). It is recommended that users desiring consistency use either UUID or PCI bus ID, since device enumeration ordering is not guaranteed to be consistent between reboots and board serial number might be shared between multiple GPUs on the same board. .SS "\-f FILE, \-\-filename=FILE" Redirect query output to the specified file in place of the default stdout. The specified file will be overwritten. .SS "\-l SEC, \-\-loop=SEC" Continuously report query data at the specified interval, rather than the default of just once. The application will sleep in\-between queries. Note that on Linux ECC error or XID error events will print out during the sleep period if the \fI-x\fR flag was not specified. Pressing Ctrl+C at any time will abort the loop, which will otherwise run indefinitely. If no argument is specified for the \fB\-l\fR form a default interval of 5 seconds is used. .SS "\-lms ms, \-\-loop\-ms=ms" Same as \-l,\-\-loop but in milliseconds. .SS DEVICE MODIFICATION OPTIONS .SS [any one of] .SS "\-pm, \-\-persistence\-mode=MODE" Set the persistence mode for the target GPUs. See the (\fIGPU ATTRIBUTES\fR) section for a description of persistence mode. Requires root. Will impact all GPUs unless a single GPU is specified using the \fI\-i\fR argument. The effect of this operation is immediate. However, it does not persist across reboots. After each reboot persistence mode will default to "Disabled". Available on Linux only. .SS "\-e, \-\-ecc\-config=CONFIG" Set the ECC mode for the target GPUs. See the (\fIGPU ATTRIBUTES\fR) section for a description of ECC mode. Requires root. Will impact all GPUs unless a single GPU is specified using the \fI\-i\fR argument. This setting takes effect after the next reboot and is persistent. .SS "\-p, \-\-reset\-ecc\-errors=TYPE" Reset the ECC error counters for the target GPUs. See the (\fIGPU ATTRIBUTES\fR) section for a description of ECC error counter types. Available arguments are 0|VOLATILE or 1|AGGREGATE. Requires root. Will impact all GPUs unless a single GPU is specified using the \fI\-i\fR argument. The effect of this operation is immediate. .SS "\-c, \-\-compute\-mode=MODE" Set the compute mode for the target GPUs. See the (\fIGPU ATTRIBUTES\fR) section for a description of compute mode. Requires root. Will impact all GPUs unless a single GPU is specified using the \fI\-i\fR argument. The effect of this operation is immediate. However, it does not persist across reboots. After each reboot compute mode will reset to "DEFAULT". .SS "\-dm TYPE, \-\-driver\-model=TYPE" .SS "\-fdm TYPE, \-\-force\-driver\-model=TYPE" Enable or disable TCC driver model. For Windows only. Requires administrator privileges. \fI\-dm\fR will fail if a display is attached, but \fI\-fdm\fR will force the driver model to change. Will impact all GPUs unless a single GPU is specified using the \fI\-i\fR argument. A reboot is required for the change to take place. See \fBDriver Model\fR for more information on Windows driver models. .SS " \-\-gom=MODE" Set GPU Operation Mode: 0/ALL_ON, 1/COMPUTE, 2/LOW_DP Supported on GK110 M-class and X-class Tesla products from the Kepler family. Not supported on Quadro and Tesla C-class products. LOW_DP and ALL_ON are the only modes supported on GeForce Titan devices. Requires administrator privileges. See \fIGPU Operation Mode\fR for more information about GOM. GOM changes take effect after reboot. The reboot requirement might be removed in the future. Compute only GOMs don't support WDDM (Windows Display Driver Model) .SS "\-r, \-\-gpu\-reset" Trigger a reset of one or more GPUs. Can be used to clear GPU HW and SW state in situations that would otherwise require a machine reboot. Typically useful if a double bit ECC error has occurred. Optional \fI\-i\fR switch can be used to target one or more specific devices. Without this option, all GPUs are reset. Requires root. There can\(aqt be any applications using these devices (e.g. CUDA application, graphics application like X server, monitoring application like other instance of nvidia\-smi). There also can\(aqt be any compute applications running on any other GPU in the system if individual GPU reset is not feasible. Starting with the NVIDIA Ampere architecture, GPUs with NVLink connections can be individually reset. On Ampere NVSwitch systems, Fabric Manager is required to facilitate reset. On Hopper and later NVSwitch systems, the dependency on Fabric Manager to facilitate reset is removed. If Fabric Manager is not running, or if any of the GPUs being reset are based on an architecture preceding the NVIDIA Ampere architecture, any GPUs with NVLink connections to a GPU being reset must also be reset in the same command. This can be done either by omitting the \fI\-i\fR switch, or using the \fI\-i\fR switch to specify the GPUs to be reset. If the \fI\-i\fR option does not specify a complete set of NVLink GPUs to reset, this command will issue an error identifying the additional GPUs that must be included in the reset command. GPU reset is not guaranteed to work in all cases. It is not recommended for production environments at this time. In some situations there may be HW components on the board that fail to revert back to an initial state following the reset request. This is more likely to be seen on Fermi-generation products vs. Kepler, and more likely to be seen if the reset is being performed on a hung GPU. Following a reset, it is recommended that the health of each reset GPU be verified before further use. If any GPU is not healthy a complete reset should be instigated by power cycling the node. GPU reset operation will not be supported on MIG enabled vGPU guests. Visit \fIhttp://developer.nvidia.com/gpu-deployment-kit\fR to download the GDK. .SS "\-vm, \-\-virt\-mode=MODE" Switch GPU Virtualization Mode. Sets GPU virtualization mode to 3/VGPU or 4/VSGA. Virtualization mode of a GPU can only be set when it is running on a hypervisor. .SS "\-lgc, \-\-lock\-gpu\-clocks=MIN_GPU_CLOCK,MAX_GPU_CLOCK" Specifies clocks as a pair (e.g. 1500,1500) that defines closest desired locked GPU clock speed in MHz. Input can also use be a singular desired clock value (e.g. ). Optionally, --mode can be supplied to specify the clock locking modes. Supported on Volta+. Requires root .TP 15 .B "--mode=0 (Default)" This mode is the default clock locking mode and provides the highest possible frequency accuracies supported by the hardware. .TP 15 .B "--mode=1" The clock locking algorithm leverages close loop controllers to achieve frequency accuracies with improved perf per watt for certain class of applications. Due to convergence latency of close loop controllers, the frequency accuracies may be slightly lower than default mode 0. .SS "\-lmc, \-\-lock\-memory\-clocks=MIN_MEMORY_CLOCK,MAX_MEMORY_CLOCK" Specifies clocks as a pair (e.g. 5100,5100) that defines the range of desired locked Memory clock speed in MHz. Input can also be a singular desired clock value (e.g. ). .SS "\-rgc, \-\-reset\-gpu\-clocks" Resets the GPU clocks to the default value. Supported on Volta+. Requires root. .SS "\-rmc, \-\-reset\-memory\-clocks" Resets the memory clocks to the default value. Supported on Volta+. Requires root. .SS "\-ac, \-\-applications\-clocks=MEM_CLOCK,GRAPHICS_CLOCK" Specifies maximum clocks as a pair (e.g. 2000,800) that defines GPU's speed while running applications on a GPU. Supported on Maxwell-based GeForce and from the Kepler+ family in Tesla/Quadro/Titan devices. Requires root. .SS "\-rac, \-\-reset\-applications\-clocks" Resets the applications clocks to the default value. Supported on Maxwell-based GeForce and from the Kepler+ family in Tesla/Quadro/Titan devices. Requires root. .SS "\-lmcd, \-\-lock\-memory\-clocks\-deferred" Specifies the memory clock that defines the closest desired Memory Clock in MHz. The memory clock takes effect the next time the GPU is initialized. This can be guaranteed by unloading and reloading the kernel module. Requires root. .SS "\-rmcd, \-\-reset\-memory\-clocks\-deferred" Resets the memory clock to default value. Driver unload and reload is required for this to take effect. This can be done by unloading and reloading the kernel module. Requires root. .SS "\-pl, \-\-power\-limit=POWER_LIMIT" Specifies maximum power limit in watts. Accepts integer and floating point numbers. it takes an optional argument \-\-scope. Only on supported devices from Kepler family. Requires administrator privileges. Value needs to be between Min and Max Power Limit as reported by nvidia\-smi. .SS "\-sc, \-\-scope=0/GPU, 1/TOTAL_MODULE" Specifies the scope of the power limit. Following are the options: 0/GPU: This only changes power limits for the GPU 1/Module: This changes the power for the module containing multiple components. E.g. GPU and CPU. .SS "\-cc, \-\-cuda\-clocks=MODE" Overrides or restores default CUDA clocks Available arguments are 0|RESTORE_DEFAULT or 1|OVERRIDE. .SS "\-am, \-\-accounting\-mode=MODE" Enables or disables GPU Accounting. With GPU Accounting one can keep track of usage of resources throughout lifespan of a single process. Only on supported devices from Kepler family. Requires administrator privileges. Available arguments are 0|DISABLED or 1|ENABLED. .SS "\-caa, \-\-clear\-accounted\-apps" Clears all processes accounted so far. Only on supported devices from Kepler family. Requires administrator privileges. .SS " \-\-auto\-boost\-default=MODE" Set the default auto boost policy to 0/DISABLED or 1/ENABLED, enforcing the change only after the last boost client has exited. Only on certain Tesla devices from the Kepler+ family and Maxwell-based GeForce devices. Requires root. .\" Temporarily hidden for bug 1569840 .\" .SS " \-\-auto\-boost\-default\-force=MODE" .\" Set the default auto boost policy to 0/DISABLED or 1/ENABLED, .\" enforcing the change immediately. .\" Only on certain Tesla devices from the Kepler+ family and Maxwell-based GeForce devices. .\" Requires root. .SS " \-\-auto\-boost\-permission=MODE" Allow non-admin/root control over auto boost mode. Available arguments are 0|UNRESTRICTED, 1|RESTRICTED. Only on certain Tesla devices from the Kepler+ family and Maxwell-based GeForce devices. Requires root. .SS "\-mig, \-\-multi\-instance\-gpu=MODE" Enables or disables Multi Instance GPU mode. Only supported on devices based on the NVIDIA Ampere architecture. Requires root. Available arguments are 0|DISABLED or 1|ENABLED. .SS "\-gtt, \-\-gpu\-target\-temp=MODE" Set GPU Target Temperature for a GPU in degree celsius. Requires administrator privileges. Target temperature should be within limits supported by GPU. These limits can be retrieved by using query option with SUPPORTED_GPU_TARGET_TEMP. .SS [plus optionally] .SS "\-i, \-\-id=ID" Modify a single specified GPU. The specified id may be the GPU/Unit\(aqs 0\-based index in the natural enumeration returned by the driver, the GPU\(aqs board serial number, the GPU\(aqs UUID, or the GPU\(aqs PCI bus ID (as domain:bus:device.function in hex). It is recommended that users desiring consistency use either UUID or PCI bus ID, since device enumeration ordering is not guaranteed to be consistent between reboots and board serial number might be shared between multiple GPUs on the same board. .SS "\-eom, \-\-error-on-warning" Return a non-zero error for warnings. .SS UNIT MODIFICATION OPTIONS .SS "\-t, \-\-toggle\-led=STATE" Set the LED indicator state on the front and back of the unit to the specified color. See the (\fIUNIT ATTRIBUTES\fR) section for a description of the LED states. Allowed colors are 0|GREEN and 1|AMBER. Requires root. .SS [plus optionally] .SS "\-i, \-\-id=ID" Modify a single specified Unit. The specified id is the Unit\(aqs 0-based index in the natural enumeration returned by the driver. .SS SHOW DTD OPTIONS .SS "\-\-dtd" Display Device or Unit DTD. .SS [plus optionally] .SS "\-f FILE, \-\-filename=FILE" Redirect query output to the specified file in place of the default stdout. The specified file will be overwritten. .SS "\-u, \-\-unit" Display Unit DTD instead of device DTD. .SS "topo" Display topology information about the system. Use "nvidia-smi topo \-h" for more information. Linux only. Shows all GPUs NVML is able to detect but CPU and NUMA node affinity information will only be shown for GPUs with Kepler or newer architectures. Note: GPU enumeration is the same as NVML. .SS "drain" Display and modify the GPU drain states. A drain state is one in which the GPU is no longer accepting new clients, and is used while preparing to power down the GPU. Use "nvidia\-smi drain \-h" for more information. Linux only. .SS "nvlink" Display nvlink information. Use "nvidia\-smi nvlink \-h" for more information. .SS "clocks" Query and control clocking behavior. Use "nvidia\-smi clocks --help" for more information. .SS "vgpu" Display information on GRID virtual GPUs. Use "nvidia\-smi vgpu \-h" for more information. .SS "mig" Provides controls for MIG management. \"nvidia\-smi mig \-h\" for more information. .SS "boost-slider" Provides controls for boost sliders management. \"nvidia\-smi boost-slider \-h\" for more information. .SS "power-hint" Provides queries for power hint. \"nvidia\-smi power-hint \-h\" for more information. .SS "conf-compute" Provides control and queries for confidential compute. \"nvidia\-smi conf-compute \-h\" for more information. .PP .SH "RETURN VALUE" .PP Return code reflects whether the operation succeeded or failed and what was the reason of failure. .IP \[bu] Return code 0 \- Success .IP \[bu] Return code 2 \- A supplied argument or flag is invalid .IP \[bu] Return code 3 \- The requested operation is not available on target device .IP \[bu] Return code 4 \- The current user does not have permission to access this device or perform this operation .IP \[bu] Return code 6 \- A query to find an object was unsuccessful .IP \[bu] Return code 8 \- A device's external power cables are not properly attached .IP \[bu] Return code 9 \- NVIDIA driver is not loaded .IP \[bu] Return code 10 \- NVIDIA Kernel detected an interrupt issue with a GPU .IP \[bu] Return code 12 \- NVML Shared Library couldn't be found or loaded .IP \[bu] Return code 13 \- Local version of NVML doesn't implement this function .IP \[bu] Return code 14 \- infoROM is corrupted .IP \[bu] Return code 15 \- The GPU has fallen off the bus or has otherwise become inaccessible .IP \[bu] Return code 255 \- Other error or internal driver error occurred .PP .SH "GPU ATTRIBUTES" .PP The following list describes all possible data returned by the \fB\-q\fR device query option. Unless otherwise noted all numerical results are base 10 and unitless. .SS "Timestamp" The current system timestamp at the time nvidia\-smi was invoked. Format is "Day\-of\-week Month Day HH:MM:SS Year". .SS "Driver Version" The version of the installed NVIDIA display driver. This is an alphanumeric string. .SS "Attached GPUs" The number of NVIDIA GPUs in the system. .SS "Product Name" The official product name of the GPU. This is an alphanumeric string. For all products. .SS "Display Mode" A flag that indicates whether a physical display (e.g. monitor) is currently connected to any of the GPU's connectors. "Enabled" indicates an attached display. "Disabled" indicates otherwise. .SS "Display Active" A flag that indicates whether a display is initialized on the GPU's (e.g. memory is allocated on the device for display). Display can be active even when no monitor is physically attached. "Enabled" indicates an active display. "Disabled" indicates otherwise. .SS "Persistence Mode" A flag that indicates whether persistence mode is enabled for the GPU. Value is either "Enabled" or "Disabled". When persistence mode is enabled the NVIDIA driver remains loaded even when no active clients, such as X11 or nvidia\-smi, exist. This minimizes the driver load latency associated with running dependent apps, such as CUDA programs. For all CUDA-capable products. Linux only. .SS "Accounting Mode" A flag that indicates whether accounting mode is enabled for the GPU Value is either \"Enabled\" or \"Disabled\" When accounting is enabled statistics are calculated for each compute process running on the GPU. Statistics can be queried during the lifetime or after termination of the process. The execution time of process is reported as 0 while the process is in running state and updated to actual execution time after the process has terminated. See \-\-help\-query\-accounted\-apps for more info. .SS "Accounting Mode Buffer Size" Returns the size of the circular buffer that holds list of processes that can be queried for accounting stats. This is the maximum number of processes that accounting information will be stored for before information about oldest processes will get overwritten by information about new processes. .SS "Driver Model" On Windows, the TCC and WDDM driver models are supported. The driver model can be changed with the (\fI\-dm\fR) or (\fI\-fdm\fR) flags. The TCC driver model is optimized for compute applications. I.E. kernel launch times will be quicker with TCC. The WDDM driver model is designed for graphics applications and is not recommended for compute applications. Linux does not support multiple driver models, and will always have the value of "N/A". .TP 15 .B "Current" The driver model currently in use. Always "N/A" on Linux. .TP 15 .B "Pending" The driver model that will be used on the next reboot. Always "N/A" on Linux. .SS "Serial Number" This number matches the serial number physically printed on each board. It is a globally unique immutable alphanumeric value. .SS "GPU UUID" This value is the globally unique immutable alphanumeric identifier of the GPU. It does not correspond to any physical label on the board. .SS "Minor Number" The minor number for the device is such that the Nvidia device node file for each GPU will have the form /dev/nvidia[minor number]. Available only on Linux platform. .SS "VBIOS Version" The BIOS of the GPU board. .SS "MultiGPU Board" Whether or not this GPU is part of a multiGPU board. .SS "Board ID" The unique board ID assigned by the driver. If two or more GPUs have the same board ID and the above "MultiGPU" field is true then the GPUs are on the same board. .SS "Platform Info" Platform Information are compute tray platform specific information. They are GPU's positional index and platform identifying information. .TP 15 .B "RACK GUID" GUID of the rack containing this GPU. .TP 15 .B "Chassis Physical Slot Number" The slot number in the rack containing this GPU (includes switches). .TP 15 .B "Compute Slot Index" The index within the compute slots in the rack containing this GPU (does not include switches). .TP 15 .B "Node Index" Index of the node within the slot containing this GPU. .TP 15 .B "Peer Type" Platform indicated NVLink-peer type (e.g. switch present or not). .TP 15 .B "Module Id" ID of this GPU within the node. .SS "Inforom Version" Version numbers for each object in the GPU board\(aqs inforom storage. The inforom is a small, persistent store of configuration and state data for the GPU. All inforom version fields are numerical. It can be useful to know these version numbers because some GPU features are only available with inforoms of a certain version or higher. If any of the fields below return Unknown Error additional Inforom verification check is performed and appropriate warning message is displayed. .TP 15 .B "Image Version" Global version of the infoROM image. Image version just like VBIOS version uniquely describes the exact version of the infoROM flashed on the board in contrast to infoROM object version which is only an indicator of supported features. .TP 15 .B "OEM Object" Version for the OEM configuration data. .TP 15 .B "ECC Object" Version for the ECC recording data. .TP 15 .B "Power Object" Version for the power management data. .SS "Inforom BBX Object Flush" Information about flushing of the blackbox data to the inforom storage. .TP 15 .B "Latest Timestamp" The timestamp of the latest flush of the BBX Object during the current run. .TP 15 .B "Latest Duration" The duration of the latest flush of the BBX Object during the current run. .SS "GPU Operation Mode" GOM allows one to reduce power usage and optimize GPU throughput by disabling GPU features. Each GOM is designed to meet specific user needs. In "All On" mode everything is enabled and running at full speed. The "Compute" mode is designed for running only compute tasks. Graphics operations are not allowed. The "Low Double Precision" mode is designed for running graphics applications that don't require high bandwidth double precision. GOM can be changed with the (\fI\-\-gom\fR) flag. Supported on GK110 M-class and X-class Tesla products from the Kepler family. Not supported on Quadro and Tesla C-class products. Low Double Precision and All On modes are the only modes available for supported GeForce Titan products. .TP 15 .B "Current" The GOM currently in use. .TP 15 .B "Pending" The GOM that will be used on the next reboot. .SS "PCI" Basic PCI info for the device. Some of this information may change whenever cards are added/removed/moved in a system. For all products. .TP 15 .B "Bus" PCI bus number, in hex .TP 15 .B "Device" PCI device number, in hex .TP 15 .B "Domain" PCI domain number, in hex .TP 15 .B "Base Classcode" PCI Base classcode, in hex .TP 15 .B "Sub Classcode" PCI Sub classcode, in hex .TP 15 .B "Device Id" PCI vendor device id, in hex .TP 15 .B "Sub System Id" PCI Sub System id, in hex .TP 15 .B "Bus Id" PCI bus id as "domain:bus:device.function", in hex .SS "GPU Link information" The PCIe link generation and bus width .TP 15 .B "Current" The current link generation and width. These may be reduced when the GPU is not in use. .TP 15 .B "Maximum" The maximum link generation and width possible with this GPU and system configuration. For example, if the GPU supports a higher PCIe generation than the system supports then this reports the system PCIe generation. .SS "Bridge Chip" Information related to Bridge Chip on the device. The bridge chip firmware is only present on certain boards and may display "N/A" for some newer multiGPUs boards. .TP 15 .B "Type" The type of bridge chip. Reported as N/A if doesn't exist. .TP 15 .B "Firmware Version" The firmware version of the bridge chip. Reported as N/A if doesn't exist. .SS "Replays Since Reset" The number of PCIe replays since reset. .SS "Replay Number Rollovers" The number of PCIe replay number rollovers since reset. A replay number rollover occurs after 4 consecutive replays and results in retraining the link. .SS "Tx Throughput" The GPU-centric transmission throughput across the PCIe bus in MB/s over the past 20ms. Only supported on Maxwell architectures and newer. .SS "Rx Throughput" The GPU-centric receive throughput across the PCIe bus in MB/s over the past 20ms. Only supported on Maxwell architectures and newer. .SS "Atomic Caps" The PCIe atomic capabilities of outbound/inbound operations of the GPU. .SS "Fan Speed" The fan speed value is the percent of the product's maximum noise tolerance fan speed that the device\(aqs fan is currently intended to run at. This value may exceed 100% in certain cases. Note: The reported speed is the intended fan speed. If the fan is physically blocked and unable to spin, this output will not match the actual fan speed. Many parts do not report fan speeds because they rely on cooling via fans in the surrounding enclosure. For all discrete products with dedicated fans. .SS "Performance State" The current performance state for the GPU. States range from P0 (maximum performance) to P12 (minimum performance). .SS "Clocks Event Reasons" Retrieves information about factors that are reducing the frequency of clocks. If all event reasons are returned as "Not Active" it means that clocks are running as high as possible. .TP 15 .B "Idle" Nothing is running on the GPU and the clocks are dropping to Idle state. This limiter may be removed in a later release. .TP 15 .B "Application Clocks Setting" GPU clocks are limited by applications clocks setting. E.g. can be changed using nvidia\-smi \-\-applications\-clocks= .TP 15 .B "SW Power Cap" SW Power Scaling algorithm is reducing the clocks below requested clocks because the GPU is consuming too much power. E.g. SW power cap limit can be changed with nvidia\-smi \-\-power\-limit= .TP 15 .B "HW Slowdown" HW Slowdown (reducing the core clocks by a factor of 2 or more) is engaged. HW Thermal Slowdown and HW Power Brake will be displayed on Pascal+. This is an indicator of: .br * Temperature being too high (HW Thermal Slowdown) .br * External Power Brake Assertion is triggered (e.g. by the system power supply) (HW Power Brake Slowdown) .br * Power draw is too high and Fast Trigger protection is reducing the clocks .TP 15 .B "SW Thermal Slowdown" SW Thermal capping algorithm is reducing clocks below requested clocks because GPU temperature is higher than Max Operating Temp .SS "Sparse Operation Mode" A flag that indicates whether sparse operation mode is enabled for the GPU. Value is either "Enabled" or "Disabled". Reported as "N/A" if not supported. .SS "FB Memory Usage" On-board frame buffer memory information. Reported total memory is affected by ECC state. If ECC is enabled the total available memory is decreased by several percent, due to the requisite parity bits. The driver may also reserve a small amount of memory for internal use, even without active work on the GPU. On systems where GPUs are NUMA nodes, the accuracy of FB memory utilization provided by nvidia-smi depends on the memory accounting of the operating system. This is because FB memory is managed by the operating system instead of the NVIDIA GPU driver. Typically, pages allocated from FB memory are not released even after the process terminates to enhance performance. In scenarios where the operating system is under memory pressure, it may resort to utilizing FB memory. Such actions can result in discrepancies in the accuracy of memory reporting. For all products. .TP 15 .B "Total" Total size of FB memory. .TP 15 .B "Reserved" Reserved size of FB memory. .TP 15 .B "Used" Used size of FB memory. .TP 15 .B "Free" Available size of FB memory. .SS "BAR1 Memory Usage" BAR1 is used to map the FB (device memory) so that it can be directly accessed by the CPU or by 3rd party devices (peer-to-peer on the PCIe bus). .TP 15 .B "Total" Total size of BAR1 memory. .TP 15 .B "Used" Used size of BAR1 memory. .TP 15 .B "Free" Available size of BAR1 memory. .SS "Compute Mode" The compute mode flag indicates whether individual or multiple compute applications may run on the GPU. "Default" means multiple contexts are allowed per device. "Exclusive Process" means only one context is allowed per device, usable from multiple threads at a time. "Prohibited" means no contexts are allowed per device (no compute apps). "EXCLUSIVE_PROCESS" was added in CUDA 4.0. Prior CUDA releases supported only one exclusive mode, which is equivalent to "EXCLUSIVE_THREAD" in CUDA 4.0 and beyond. For all CUDA-capable products. .SS "Utilization" Utilization rates report how busy each GPU is over time, and can be used to determine how much an application is using the GPUs in the system. Note: On MIG-enabled GPUs, querying the utilization of encoder, decoder, jpeg, ofa, gpu, and memory is not currently supported. Note: During driver initialization when ECC is enabled one can see high GPU and Memory Utilization readings. This is caused by ECC Memory Scrubbing mechanism that is performed during driver initialization. .TP 15 .B "GPU" Percent of time over the past sample period during which one or more kernels was executing on the GPU. The sample period may be between 1 second and 1/6 second depending on the product. .TP 15 .B "Memory" Percent of time over the past sample period during which global (device) memory was being read or written. The sample period may be between 1 second and 1/6 second depending on the product. .TP 15 .B "Encoder" Percent of time over the past sample period during which the GPU's video encoder was being used. The sampling rate is variable and can be obtained directly via the nvmlDeviceGetEncoderUtilization() API .TP 15 .B "Decoder" Percent of time over the past sample period during which the GPU's video decoder was being used. The sampling rate is variable and can be obtained directly via the nvmlDeviceGetDecoderUtilization() API .TP 15 .B "JPEG" Percent of time over the past sample period during which the GPU's JPEG decoder was being used. The sampling rate is variable and can be obtained directly via the nvmlDeviceGetJpgUtilization() API .TP 15 .B "OFA" Percent of time over the past sample period during which the GPU's OFA (Optical Flow Accelerator) was being used. The sampling rate is variable and can be obtained directly via the nvmlDeviceGetOfaUtilization() API .SS "Ecc Mode" A flag that indicates whether ECC support is enabled. May be either "Enabled" or "Disabled". Changes to ECC mode require a reboot. Requires Inforom ECC object version 1.0 or higher. .TP 15 .B "Current" The ECC mode that the GPU is currently operating under. .TP 15 .B "Pending" The ECC mode that the GPU will operate under after the next reboot. .SS "ECC Errors" NVIDIA GPUs can provide error counts for various types of ECC errors. Some ECC errors are either single or double bit, where single bit errors are corrected and double bit errors are uncorrectable. Texture memory errors may be correctable via resend or uncorrectable if the resend fails. These errors are available across two timescales (volatile and aggregate). Single bit ECC errors are automatically corrected by the HW and do not result in data corruption. Double bit errors are detected but not corrected. Please see the ECC documents on the web for information on compute application behavior when double bit errors occur. Volatile error counters track the number of errors detected since the last driver load. Aggregate error counts persist indefinitely and thus act as a lifetime counter. .PP A note about volatile counts: On Windows this is once per boot. On Linux this can be more frequent. On Linux the driver unloads when no active clients exist. Hence, if persistence mode is enabled or there is always a driver client active (e.g. X11), then Linux also sees per-boot behavior. If not, volatile counts are reset each time a compute app is run. .PP Tesla and Quadro products from the Fermi and Kepler family can display total ECC error counts, as well as a breakdown of errors based on location on the chip. The locations are described below. Location\-based data for aggregate error counts requires Inforom ECC object version 2.0. All other ECC counts require ECC object version 1.0. .TP 15 .B "Device Memory" Errors detected in global device memory. .TP 15 .B "Register File" Errors detected in register file memory. .TP 15 .B "L1 Cache" Errors detected in the L1 cache. .TP 15 .B "L2 Cache" Errors detected in the L2 cache. .TP 15 .B "Texture Memory" Parity errors detected in texture memory. .TP 15 .B "Total" Total errors detected across entire chip. Sum of \fBDevice Memory\fR, \fBRegister File\fR, \fBL1 Cache\fR, \fBL2 Cache\fR and \fBTexture Memory\fR. .SS "Page Retirement" NVIDIA GPUs can retire pages of GPU device memory when they become unreliable. This can happen when multiple single bit ECC errors occur for the same page, or on a double bit ECC error. When a page is retired, the NVIDIA driver will hide it such that no driver, or application memory allocations can access it. .B "Double Bit ECC" The number of GPU device memory pages that have been retired due to a double bit ECC error. .B "Single Bit ECC" The number of GPU device memory pages that have been retired due to multiple single bit ECC errors. .B "Pending" Checks if any GPU device memory pages are pending blacklist on the next reboot. Pages that are retired but not yet blacklisted can still be allocated, and may cause further reliability issues. .SS "Row Remapper" NVIDIA GPUs can remap rows of GPU device memory when they become unreliable. This can happen when a single uncorrectable ECC error or multiple correctable ECC errors occur on the same row. When a row is remapped, the NVIDIA driver will remap the faulty row to a reserved row. All future accesses to the row will access the reserved row instead of the faulty row. .B "Correctable Error" The number of rows that have been remapped due to correctable ECC errors. .B "Uncorrectable Error" The number of rows that have been remapped due to uncorrectable ECC errors. .B "Pending" Indicates whether or not a row is pending remapping. The GPU must be reset for the remapping to go into effect. .B "Remapping Failure Occurred" Indicates whether or not a row remapping has failed in the past. .B "Bank Remap Availability Histogram" Each memory bank has a fixed number of reserved rows that can be used for row remapping. The histogram will classify the remap availability of each bank into Maximum, High, Partial, Low and None. Maximum availability means that all reserved rows are available for remapping while None means that no reserved rows are available. .SS "Temperature" Readings from temperature sensors on the board. All readings are in degrees C. Not all products support all reading types. In particular, products in module form factors that rely on case fans or passive cooling do not usually provide temperature readings. See below for restrictions. T.Limit: The T.Limit sensor measures the current margin in degree Celsius to the maximum operating temperature. As such it is not an absolute temperature reading rather a relative measurement. Not all products support T.Limit sensor readings. When supported, nvidia-smi reports the current T.Limit temperature as a signed value that counts down. A T.Limit temperature of 0 C or lower indicates that the GPU may optimize its clock based on thermal conditions. Further, when the T.Limit sensor is supported, available temperature thresholds are also reported relative to T.Limit (see below) instead of absolute measurements. .TP 15 .B "GPU" Core GPU temperature. For all discrete and S-class products. .TP 15 .B "T.Limit Temp" Current margin in degrees Celsius from the maximum GPU operating temperature. .TP 15 .B "Shutdown Temp" The temperature at which a GPU will shutdown. .TP 15 .B "Shutdown T.Limit Temp" The T.Limit temperature below which a GPU may shutdown. Since shutdown can only triggered by the maximum GPU temperature it is possible for the current T.Limit to be more negative than this threshold. .TP 15 .B "Slowdown Temp" The temperature at which a GPU HW will begin optimizing clocks due to thermal conditions, in order to cool. .TP 15 .B "Slowdown T.Limit Temp" The T.Limit temperature below which a GPU HW may optimize its clocks for thermal conditions. Since this clock adjustment can only triggered by the maximum GPU temperature it is possible for the current T.Limit to be more negative than this threshold. .TP 15 .B "Max Operating Temp" The temperature at which GPU SW will optimize its clock for thermal conditions. .TP 15 .B "Max Operating T.Limit Temp" The T.Limit temperature below which GPU SW will optimize its clock for thermal conditions. .SS "Power Readings" Power readings help to shed light on the current power usage of the GPU, and the factors that affect that usage. When power management is enabled the GPU limits power draw under load to fit within a predefined power envelope by manipulating the current performance state. See below for limits of availability. Please note that power readings are not applicable for Pascal and higher GPUs with BA sensor boards. .TP 15 .B "Power State" Power State is deprecated and has been renamed to Performance State in 2.285. To maintain XML compatibility, in XML format Performance State is listed in both places. .TP 15 .B "Power Management" A flag that indicates whether power management is enabled. Either "Supported" or "N/A". Requires Inforom PWR object version 3.0 or higher or Kepler device. .TP 15 .B "Power Draw" The last measured power draw for the entire board, in watts. Only available if power management is supported. On Ampere (except GA100) or newer devices, returns average power draw over 1 sec. On GA100 and older devices, returns instantaneous power draw. Please note that for boards without INA sensors, this refers to the power draw for the GPU and not for the entire board. .TP 15 .B "Power Limit" The software power limit, in watts. Set by software such as nvidia\-smi. Only available if power management is supported. Requires Inforom PWR object version 3.0 or higher or Kepler device. On Kepler devices Power Limit can be adjusted using \-pl,\-\-power\-limit= switches. .TP 15 .B "Enforced Power Limit" The power management algorithm\(aqs power ceiling, in watts. Total board power draw is manipulated by the power management algorithm such that it stays under this value. This limit is the minimum of various limits such as the software limit listed above. Only available if power management is supported. Requires a Kepler device. Please note that for boards without INA sensors, it is the GPU power draw that is being manipulated. .TP 15 .B "Default Power Limit" The default power management algorithm\(aqs power ceiling, in watts. Power Limit will be set back to Default Power Limit after driver unload. Only on supported devices from Kepler family. .TP 15 .B "Min Power Limit" The minimum value in watts that power limit can be set to. Only on supported devices from Kepler family. .TP 15 .B "Max Power Limit" The maximum value in watts that power limit can be set to. Only on supported devices from Kepler family. .SS "Clocks" Current frequency at which parts of the GPU are running. All readings are in MHz. .TP 15 .B "Graphics" Current frequency of graphics (shader) clock. .TP 15 .B "SM" Current frequency of SM (Streaming Multiprocessor) clock. .TP 15 .B "Memory" Current frequency of memory clock. .TP 15 .B "Video" Current frequency of video (encoder + decoder) clocks. .SS "Applications Clocks" User specified frequency at which applications will be running at. Can be changed with [\-ac | \-\-applications\-clocks] switches. .TP 15 .B "Graphics" User specified frequency of graphics (shader) clock. .TP 15 .B "Memory" User specified frequency of memory clock. .SS "Default Applications Clocks" Default frequency at which applications will be running at. Application clocks can be changed with [\-ac | \-\-applications\-clocks] switches. Application clocks can be set to default using [\-rac | \-\-reset\-applications\-clocks] switches. .TP 15 .B "Graphics" Default frequency of applications graphics (shader) clock. .TP 15 .B "Memory" Default frequency of applications memory clock. .SS "Max Clocks" Maximum frequency at which parts of the GPU are design to run. All readings are in MHz. On GPUs from Fermi family current P0 clocks (reported in Clocks section) can differ from max clocks by few MHz. .TP 15 .B "Graphics" Maximum frequency of graphics (shader) clock. .TP 15 .B "SM" Maximum frequency of SM (Streaming Multiprocessor) clock. .TP 15 .B "Memory" Maximum frequency of memory clock. .TP 15 .B "Video" Maximum frequency of video (encoder + decoder) clock. .SS "Clock Policy" User-specified settings for automated clocking changes such as auto boost. .TP 15 .B "Auto Boost" Indicates whether auto boost mode is currently enabled for this GPU (On) or disabled for this GPU (Off). Shows (N/A) if boost is not supported. Auto boost allows dynamic GPU clocking based on power, thermal and utilization. When auto boost is disabled the GPU will attempt to maintain clocks at precisely the Current Application Clocks settings (whenever a CUDA context is active). With auto boost enabled the GPU will still attempt to maintain this floor, but will opportunistically boost to higher clocks when power, thermal and utilization headroom allow. This setting persists for the life of the CUDA context for which it was requested. Apps can request a particular mode either via an NVML call (see NVML SDK) or by setting the CUDA environment variable CUDA_AUTO_BOOST. .TP 15 .B "Auto Boost Default" Indicates the default setting for auto boost mode, either enabled (On) or disabled (Off). Shows (N/A) if boost is not supported. Apps will run in the default mode if they have not explicitly requested a particular mode. Note: Auto Boost settings can only be modified if "Persistence Mode" is enabled, which is NOT by default. .SS "Supported clocks" List of possible memory and graphics clocks combinations that the GPU can operate on (not taking into account HW brake reduced clocks). These are the only clock combinations that can be passed to \-\-applications\-clocks flag. Supported Clocks are listed only when \-q \-d SUPPORTED_CLOCKS switches are provided or in XML format. .SS "Voltage" Current voltage reported by the GPU. All units are in mV. .TP 15 .B "Graphics" Current voltage of the graphics unit. .SS "Processes" List of processes having Compute or Graphics Context on the device. Compute processes are reported on all the fully supported products. Reporting for Graphics processes is limited to the supported products starting with Kepler architecture. .TP 15 Each Entry is of format " " .TP 15 .B "GPU Index" Represents NVML Index of the device. .TP 15 .B "PID" Represents Process ID corresponding to the active Compute or Graphics context. .TP 15 .B "Type" Displayed as "C" for Compute Process, "G" for Graphics Process, "M" for MPS ("Multi-Process Service") Compute Process, and "C+G" or "M+C" for the process having both Compute and Graphics or MPS Compute and Compute contexts. .TP 15 .B "Process Name" Represents process name for the Compute or Graphics process. .TP 15 .B "GPU Memory Usage" Amount of memory used on the device by the context. Not available on Windows when running in WDDM mode because Windows KMD manages all the memory not NVIDIA driver. .SS "Device Monitoring" The "nvidia\-smi dmon" command-line is used to monitor one or more GPUs (up to 16 devices) plugged into the system. This tool allows the user to see one line of monitoring data per monitoring cycle. The output is in concise format and easy to interpret in interactive mode. The output data per line is limited by the terminal size. It is supported on Tesla, GRID, Quadro and limited GeForce products for Kepler or newer GPUs under bare metal 64 bits Linux. By default, the monitoring data includes Power Usage, Temperature, SM clocks, Memory clocks and Utilization values for SM, Memory, Encoder, Decoder, JPEG and OFA. It can also be configured to report other metrics such as frame buffer memory usage, bar1 memory usage, power/thermal violations and aggregate single/double bit ecc errors. If any of the metric is not supported on the device or any other error in fetching the metric is reported as "-" in the output data. The user can also configure monitoring frequency and the number of monitoring iterations for each run. There is also an option to include date and time at each line. All the supported options are exclusive and can be used together in any order. Note: On MIG-enabled GPUs, querying the utilization of encoder, decoder, jpeg, ofa, gpu, and memory is not currently supported. .B Usage: .TP 15 .B 1) Default with no arguments .TP 15 .I nvidia\-smi dmon .TP 15 Monitors default metrics for up to 16 supported devices under natural enumeration (starting with GPU index 0) at a frequency of 1 sec. Runs until terminated with ^C. .TP 15 .B 2) Select one or more devices .TP 15 .I nvidia\-smi dmon -i .TP 15 Reports default metrics for the devices selected by comma separated device list. The tool picks up to 16 supported devices from the list under natural enumeration (starting with GPU index 0). .TP 15 .B 3) Select metrics to be displayed .TP 15 .I nvidia\-smi dmon -s .TP 15 can be one or more from the following: .TP 15 p - Power Usage (in Watts) and Gpu/Memory Temperature (in C) if supported .TP 15 u - Utilization (SM, Memory, Encoder, Decoder, JPEG and OFA Utilization in %) .TP 15 c - Proc and Mem Clocks (in MHz) .TP 15 v - Power Violations (in %) and Thermal Violations (as a boolean flag) .TP 15 m - Frame Buffer, Bar1 and Confidential Compute protected memory usage (in MB) .TP 15 e - ECC (Number of aggregated single bit, double bit ecc errors) and PCIe Replay errors .TP 15 t - PCIe Rx and Tx Throughput in MB/s (Maxwell and above) .TP 15 .B 4) Configure monitoring iterations .TP 15 .I nvidia\-smi dmon -c .TP 15 Displays data for specified number of samples and exit. .TP 15 .B 5) Configure monitoring frequency .TP 15 .I nvidia\-smi dmon -d