Find the temperature of a graphics card via commandline in Linux(Ubuntu)

2

2

Question: How can I find the temperature of my hardware via command line on Ubuntu?


Info:

I have a simulation that I've pushed off on to my work horse's graphics card(GTX465). I currently am in the position that I can only SSH into the machine. But I want to monitor the computer to make sure it isn't over heating (this happened last year.) Is there a way that I can query my computer for the temperature of its hardware, specifically the graphics card.

Narcolapser

Posted 2011-11-18T03:14:12.767

Reputation: 708

Answers

3

For the graphics card try

nvidia-settings -q gpucoretemp

and/or

nvidia-smi -a

other sensors (cpu, chipset) may be accessible with lm-sensors

rmweiss

Posted 2011-11-18T03:14:12.767

Reputation: 624

4

To get just the numeric temperature in Celsius, try:

nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader

Ian Mackinnon

Posted 2011-11-18T03:14:12.767

Reputation: 3 919