GPU-MON(1)
β¨ GPU-MON(1) β¨
okay bestie, so this is the gpu-mon page from the Ricks-Lab GPU Utilities manual β yes, the same family as all the other gpu-* girlies π
β and it's genuinely one of my faves because it's just vibes and numbers the whole time. sit down, get a snack π, we're doing this.
π¦ NAME π¦
gpu-mon β continuously update a table with the state of all compatible GPUs
like. it literally just sits there and keeps a table fresh. main character energy, no cap π
πΈ SYNOPSIS πΈ
gpu-mon [--help | --about]
gpu-mon [--gui] [--no_fan] [--plot] [--ltz] [--sleep N] [--debug]
[--pdebug] [--verbose"]"
yes the last line really does end in [--verbose"]" β that's not me being quirky, that's literally what the page says, and I am NOT touching it, periodt. π
π DESCRIPTION π
okay so here's the tea: gpu-mon shows you the current state of all compatible GPUs. like all of them. at once.
the default behavior β the default default, no flags needed β is that it keeps continuously updating a text based table in the current window until you press Ctrl-C. that's it. that's the whole job. iconic.
now the fun stuff β¨
with the --gui option, a table of relevant parameters gets updated in a Gtk window</> instead of your terminal. fancy.
you can specify the delay between updates with the --sleep N option, where N is an integer > zero that specifies the number of seconds to sleep between updates. so like, don't be out here passing 0 or -3, bestie, the page said > zero, I'm just the messenger π«Ά
the --no_fan option can be used to disable the reading and display of fan information. bye fan info π¨
the --log option is used to write all monitor data to a psv log file. and when you're writing to a log file, the utility will indicate this in red at the top of the window, with a message that includes the log file name. so you literally cannot miss it. the way that it warns you in RED?? obsessed π
the --plot option will display a plot of critical GPU parameters which updates at the specified --sleep N interval. and listen β if you need both the plot and monitor displays, then using the --plot option is preferred over running both tools, because a single read of the GPUs is used to update both displays. one read, two displays, efficiency queen π
the --ltz option results in the use of local time instead of UTC. timezone girlies rise π
and finally, the --verbose option will result in informational messages being displayed. she talks! π¬
π OPTIONS π
--aboutβ Will display details aboutgpu-mon. little self-intro moment.--guiβ The table of relevant parameters will be updated in a Gtk window instead of a text table in the terminal window.--logβ Write all mon data to a logfile. The real-time display will indicate that logging is enabled and will show the filename used.--ltzβ Use local time zone instead of UTC for displays and logging.--no_fanβ Will exclude fan information from the display. Useful with water cooled GPUs. π° (no fans to read, bestie!)--pdebugβ Will enable debug output for thegpu-plotplotting utility.--plotβ Open and write to,gpu-plot, the gpu-util plotting utility.--sleep Nβ SpecifiesN, the number of seconds to sleep between updates.--verboseβ Display informational messages generated during execution.--debugβ Will output additional useful debug/troubleshooting details to a log file.-h,--helpβ Display help text and exit.
π EXAMPLES π
π example one π
gpu-mon --sleep 5 --log
Will display a continuously updating table of GPU operating parameters updating with an interval of 5 sec. All parameters will be written to a logfile which will be indicated in the table. The displayed parameters include GPU model, GPU and memory load percentage, power, power cap, energy consumption, temperature, voltage (not available for NV), fan speed, Sclk frequency/p-state, Mclk frequency/pstate, and performance mode. Updating of the table will continue until ctrl-c is pressed.
ngl that's a LOT of parameters and every single one of them is in there, I'm not skipping a single one π€
πΈ example two πΈ
gpu-mon --gui
Will open a new Gtk window and display basic parameters updated with the default interval.
π¦ example three π¦
gpu-mon --plot
Will open 2 new Gtk windows. One will display the basic parameters and the second will display a continuously updating plot of these parameters. It is suggested that this method be used if both displays are desired, instead of executing both gpu-mon and gpu-plot, as the later will result in twice the reads of GPU data.
π CONFIGURATION π
In order to get maximum capability of these utilities, you should be running with a kernel that provides support of the GPUs you have installed. like, that's the foundation bestie, everything else is decoration.
If using AMD GPUs, installing the latest amdgpu driver package or the latest ROCm release may provide additional capabilities.
If you have Nvidia GPUs installed, nvidia-smi must also be installed in order for the utility reading of the cards to be possible.
β οΈ okay listen up, this part matters: Writing to GPUs is currently only possible for AMD GPUs, and only with compatible cards and with the AMDppfeaturemaskset to0xfffd7fff. This can be accomplished by addingamdgpu.ppfeaturemask=0xfffd7fffto theGRUB_CMDLINE_LINUX_DEFAULTvalue in/etc/default/gruband executingsudo update-grub.
π§ FILES π§
/usr/share/misc/pci.idsβ The system list of all known PCI ID's (vendors, devices, classes and subclasses). It can be updated with theupdate-pciidscommand./sys/class/drm/card*/device/pp_od_clk_voltageβ Special driver file for each AMD GPU required by somerickslab-gpu-utils./etc/default/grubβ The grub defaults file whereamdgpu.ppfeaturemaskneeds to be set.
π BUGS π
Known to not work well with Fiji ProDuo cards, and will issue warning messages for Fiji Nano cards. Please report any additional bugs/issues at https://github.com/Ricks-Lab/gpu-utils
not me feeling bad for the Fiji cards π they're trying their best
π« SEE ALSO π«
gpu-plot(1), amdgpu(4), nvidia-smi(1), update-grub(8), update-pciids(8), lspci(8)
π AVAILABILITY π
The gpu-mon command is part of the rickslab-gpu-utils package and is available from https://github.com/Ricks-Lab/gpu-utils
okay and that's the whole page bestie, we did it, nothing skipped, nothing dropped, every single flag accounted for π«Ά
this one's from the rickslab-gpu-utils girlies, May 2022 edition β and honestly? iconic of them. now go run gpu-mon --sleep 5 --log and watch the numbers do their little dance πβ¨πΈ
π¦ where this page comes from
- debian bookworm: rickslab-gpu-utils 3.8.0-1 Β· GPL-3.0-or-later
- debian trixie: rickslab-gpu-utils 3.9.0-1 Β· GPL-3.0-or-later
- ubuntu noble: rickslab-gpu-utils 3.8.0-1 Β· GPL-3.0-or-later
- ubuntu questing: rickslab-gpu-utils 3.9.0-1
- ubuntu resolute: rickslab-gpu-utils 3.9.0-1build1 Β· GPL-3.0-or-later
- ubuntu stonking: rickslab-gpu-utils 3.9.0-1build1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms