Skip to content

Instantly share code, notes, and snippets.

@fonic
Last active June 29, 2021 19:32
Show Gist options
  • Save fonic/8281eb4b73f40d2d92832d2e03aa3ee5 to your computer and use it in GitHub Desktop.
Save fonic/8281eb4b73f40d2d92832d2e03aa3ee5 to your computer and use it in GitHub Desktop.
KDE KSysGuard Tab for NVIDIA GPU Sensors
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE KSysGuardWorkSheet>
<WorkSheet locked="0" columns="3" rows="2" title="NVIDIA" interval="2">
<host shell="" name="nvidia" command="/home/<user>/.local/share/ksysguard/nvidia-sensors.sh" port="-1"/>
<display hScale="6" stacked="0" unit="" fontSize="8" manualRange="0" version="1" vLines="0" row="0" labels="1" autoRange="1" rowSpan="1" svgBackground="" hLines="1" showUnit="0" vScroll="0" column="0" class="FancyPlotter" columnSpan="1" vDistance="30" title="Load">
<beam hostName="nvidia" color="0xff0057ae" sensorType="integer" sensorName="gpu_load"/>
<beam hostName="nvidia" color="0xffe20800" sensorType="integer" sensorName="vpu_load"/>
<beam hostName="nvidia" color="0xfff3c300" sensorType="integer" sensorName="mem_load"/>
<beam hostName="nvidia" color="0xffff0000" sensorType="integer" sensorName="pcie_load"/>
</display>
<display hScale="6" stacked="0" unit="" fontSize="8" manualRange="0" version="1" vLines="0" row="0" labels="1" autoRange="1" rowSpan="1" svgBackground="" hLines="1" showUnit="0" vScroll="0" column="1" class="FancyPlotter" columnSpan="1" vDistance="30" title="Clock">
<beam hostName="nvidia" color="0xff0057ae" sensorType="integer" sensorName="gpu_clock"/>
<beam hostName="nvidia" color="0xffe20800" sensorType="integer" sensorName="mem_clock"/>
</display>
<display hScale="6" stacked="0" unit="" fontSize="8" manualRange="0" version="1" vLines="0" row="0" labels="1" autoRange="1" rowSpan="1" svgBackground="" hLines="1" showUnit="0" vScroll="0" column="2" class="FancyPlotter" columnSpan="1" vDistance="30" title="Memory">
<beam hostName="nvidia" color="0xff0057ae" sensorType="integer" sensorName="mem_used"/>
</display>
<display hScale="6" stacked="0" unit="" fontSize="8" manualRange="0" version="1" vLines="0" row="1" labels="1" autoRange="1" rowSpan="1" svgBackground="" hLines="1" showUnit="0" vScroll="0" column="0" class="FancyPlotter" columnSpan="1" vDistance="30" title="Temperature">
<beam hostName="nvidia" color="0xff0057ae" sensorType="integer" sensorName="gpu_temp"/>
</display>
<display hScale="6" stacked="0" unit="" fontSize="8" manualRange="0" version="1" vLines="0" row="1" labels="1" autoRange="1" rowSpan="1" svgBackground="" hLines="1" showUnit="0" vScroll="0" column="1" class="FancyPlotter" columnSpan="1" vDistance="30" title="Cooling">
<beam hostName="nvidia" color="0xff0057ae" sensorType="integer" sensorName="fan0_load"/>
<beam hostName="nvidia" color="0xffe20800" sensorType="integer" sensorName="fan1_load"/>
</display>
<display hScale="6" stacked="0" unit="" fontSize="8" manualRange="0" version="1" vLines="0" row="1" labels="1" autoRange="1" rowSpan="1" svgBackground="" hLines="1" showUnit="0" vScroll="0" column="2" class="FancyPlotter" columnSpan="1" vDistance="30" title="Cooling">
<beam hostName="nvidia" color="0xff0057ae" sensorType="integer" sensorName="fan0_rpm"/>
<beam hostName="nvidia" color="0xffe20800" sensorType="integer" sensorName="fan1_rpm"/>
</display>
</WorkSheet>
@fonic
Copy link
Author

fonic commented Dec 29, 2019

KSysGuard tab file for script KDE KSysGuard NVIDIA GPU Sensors.

Usage:

  1. Download and save file as nvidia.sgrd
  2. Edit saved file and replace <user> with your username
  3. Open KSysGuard
  4. Select File -> Import Tab From File...
  5. Browse to and select saved file, click Open
  6. New tab NVIDIA should now appear

Screenshot_20210629_213109

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment