Is there a command (Via terminal) to see the temperature of any video card.
Already Tried sensors
with the sensors-detect
applied. Does not detect for example, Nvidia and ATI video card temperatures.
Is there a command (Via terminal) to see the temperature of any video card.
Already Tried sensors
with the sensors-detect
applied. Does not detect for example, Nvidia and ATI video card temperatures.
An alternative for nvidia cards is to use nvidia-smi: the "NVIDIA System Management Interface program".
Or to output just the numeric value in Celsius:
Yes, there is a command.
Detecting sensors
First of all, you have to search for sensors:
Since lucid lynx, you have to type:
If you're running another Ubuntu version type:
To save the detection results.
Displaying sensor data
Now, to show the temperatures, type:
Now you should see something like that:
I don't have many sensors, btw :)
Displaying temperature of NVIDIA GPU
If you are using a NVIDIA GPU type:
After installing it, type
nvclock -T
to display the temperature.You can also type
nvidia-settings -q gpucoretemp
.I hope this helped you,
The already mentioned command for nvidia (on my OpenElec installation):
also gave additional information:
If you want to watch the temperature in your terminal for monitoring, you can use
watch
with the commands that were given in the other answers (e.g. @drgrog's). For instance, to refresh the temperature every 5 seconds:For nvidia there is an
nvidia-settings
package, which includes a gui to see the temperature. I don't recall if there is a text-mode tool in there.Some Intel graphics adapters report their temperature through acpi and you can read it through the
sensors
command from the package of the same name.I have recently found a cool extension for Gnome 3. So if you are using it - you can install this and see the temperature in the tray:
https://extensions.gnome.org/extension/541/nvidia-gpu-temperature-indicator/
This indicator also includes GPU temp (as well as CPU and HDD temps.)
https://launchpad.net/indicator-sensors
After installing nvclock, just running:
nvidia-settings
On a terminal worked well on GeForce 210 card on top of Ubuntu 14lts. You get a very nice GUI and can check the celsius temperature at GPU 0 > Thermal Settings.
GPU Temperature with Conky
Conky is a light weight (on resources, not features) system monitor popular in Linux. You can use it to constantly display GPU temperature along with other system elements you like to follow.
Most laptops with nVidia GPUs also include an Intel Integrated GPU (iGPU) for use when on battery power.
My Conky display changes depending on whether Intel or nVidia is selected.
Below are GIFs for nVidia and Intel before and running
glxgears
to tax the GPU. I'll try to find a more demanding graphics test thanglxgears
in the future.Display for Laptop with NVIDIA active
Here's what my Conky looks like when
prime-select nvidia
is active:Initially there is low load on nVidia GPU and it's running at 746 MHz and is 55 degrees Celsius. After running
glxgears
GPU speed spikes to max speed of 1037 MHz and temperature climbs to 58 degrees Celsius.Display for Laptop with Intel Integrated GPU active
Here's what my Conky looks like when
prime-select intel
is active:Initially there is low load on Intel Integrated GPU (iGPU) and temperature (of CPU) is 49 degrees Celsius. After running
glxgears
CPU temperature climbs to 73 degrees Celsius!Conky code
Here is the relevant conky code for above:
I wanted a quick simple way to see the GPU and CPU temps on my computer. I also wanted to see the NVidia temp in fahrenheit. Assuming you already have the
nvidia-smi
andsensors
utilities installed, configured and working already (see above for how), you can use the following script to display everything together:NOTE: you may need to change
coretemp-isa-0000
to the identifier if your computer uses a different architecture than mine.The output will look something like: