How to see the Video Card Temperature (Nvidia, ATI, Intel…) The Next CEO of Stack...

How do scammers retract money, while you can’t?

Why did we only see the N-1 starfighters in one film?

Why do professional authors make "consistency" mistakes? And how to avoid them?

Removing read access from a file

What is the point of a new vote on May's deal when the indicative votes suggest she will not win?

Why does GHC infer a monomorphic type here, even with MonomorphismRestriction disabled?

How to write papers efficiently when English isn't my first language?

WOW air has ceased operation, can I get my tickets refunded?

The King's new dress

Should I tutor a student who I know has cheated on their homework?

Return the Closest Prime Number

When did Lisp start using symbols for arithmetic?

Rotate a column

Why is there a PLL in CPU?

Apart from "berlinern", do any other German dialects have a corresponding verb?

Describing a person. What needs to be mentioned?

Whats the best way to handle refactoring a big file?

Return of the Riley Riddles in Reverse

Are there languages with no euphemisms?

How should I support this large drywall patch?

Why doesn't a table tennis ball float on the surface? How do we calculate buoyancy here?

Any way to transfer all permissions from one role to another?

How can I open an app using Terminal?

Why here is plural "We went to the movies last night."



How to see the Video Card Temperature (Nvidia, ATI, Intel…)



The Next CEO of Stack OverflowHow can I see the temperature of a video card?Is there a CPU temperature monitor for Natty?Ubuntu 12.04 and KDE, graphical temperature monitor for GPUUbuntu 18.04 LTS random hard shutdown with Nvidia RTX 2080How can I see the temperature of a video card?Psensor only shows HDD and CPU usage, not temperatureCan't detect GPU ATI temperature sensorHow to lower the HDD temperatureAMD proprietary driver doesn't let me see the temperatureVideo glitch NVIDIA (card: unknown)How can I find out the temperature components are running at in 14.04?What is the best way of monitoring GPU temperature in Xubuntu 14.04 when using the OpenSource driver?Is there a system setting to reduce nvidia-331 overheats when playing video (14.04)Fan speed and control












60















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.










share|improve this question





























    60















    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.










    share|improve this question



























      60












      60








      60


      23






      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.










      share|improve this question
















      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.







      video temperature






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 17 '14 at 18:07









      BuZZ-dEE

      9,335115270




      9,335115270










      asked Apr 11 '11 at 1:06









      Luis AlvaradoLuis Alvarado

      147k139486655




      147k139486655






















          9 Answers
          9






          active

          oldest

          votes


















          58














          Yes, there is a command.



          Detecting sensors



          First of all, you have to search for sensors:



          sudo apt-get install lm-sensors
          sudo sensors-detect


          Since lucid lynx, you have to type:



          sudo service module-init-tools start


          If you're running another Ubuntu version type:



          sudo /etc/init.d/module-init-tools start


          To save the detection results.



          Displaying sensor data



          Now, to show the temperatures, type:



          sensors


          Now you should see something like that:



          My sensors result



          I don't have many sensors, btw :)



          Displaying temperature of NVIDIA GPU



          If you are using a NVIDIA GPU type:



          sudo apt-get install nvclock


          After installing it, type nvclock -T to display the temperature.



          You can also type nvidia-settings -q gpucoretemp.



          I hope this helped you,






          share|improve this answer





















          • 5





            Thank you Daniel but sensors does not detect the video temp for cases like ati and nvidia. i should have put it in the question but forgot. +1 for complete example.

            – Luis Alvarado
            Apr 11 '11 at 11:42






          • 1





            @CYREX After some researches I found out that it also shows GPU temp if you install libsensors3 BEFORE detecting sensors. Try: sudo apt-get install libsensors3 and then follow my steps again.

            – omnidan
            Apr 11 '11 at 13:10











          • Nope no luck either. Only shows the CPU temp.

            – Luis Alvarado
            Apr 11 '11 at 13:27











          • Some programs made by nvidia/ati display the GPU temp.

            – omnidan
            Apr 11 '11 at 13:35











          • @CYREX I added instructions to display the temperature of a nvidia gpu, look at my edited answer.

            – omnidan
            Apr 11 '11 at 13:40



















          70














          An alternative for nvidia cards is to use nvidia-smi: the "NVIDIA System Management Interface program".



          user@box:~$ nvidia-smi -q -d temperature
          GPU 0:
          Product Name : GeForce 210
          PCI ID : a6510de
          Temperature : 39 C


          Or to output just the numeric value in Celsius:



          user@box:~$ nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader
          39





          share|improve this answer


























          • optirun nvidia-smi -q -d temperature

            – Dawid Drozd
            Jun 17 '16 at 18:25











          • In case anyone missed it, nvidia-settings -q gpucoretemp is another method.

            – Mateen Ulhaq
            Apr 1 '18 at 12:15



















          17














          The already mentioned command for nvidia (on my OpenElec installation):



          nvidia-smi


          also gave additional information:



          +------------------------------------------------------+                       
          | NVIDIA-SMI 3.295.71 Driver Version: 295.71 |
          |-------------------------------+----------------------+----------------------+
          | Nb. Name | Bus Id Disp. | Volatile ECC SB / DB |
          | Fan Temp Power Usage /Cap | Memory Usage | GPU Util. Compute M. |
          |===============================+======================+======================|
          | 0. GeForce GT 520 | 0000:01:00.0 N/A | N/A N/A |
          | N/A 52 C N/A N/A / N/A | 17% 169MB / 1023MB | N/A Default |
          |-------------------------------+----------------------+----------------------|
          | Compute processes: GPU Memory |
          | GPU PID Process name Usage |
          |=============================================================================|
          | 0. Not Supported |
          +-----------------------------------------------------------------------------+





          share|improve this answer

































            9














            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:



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





            share|improve this answer

































              4














              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.






              share|improve this answer































                2














                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/






                share|improve this answer































                  0














                  This indicator also includes GPU temp (as well as CPU and HDD temps.)



                  https://launchpad.net/indicator-sensors






                  share|improve this answer































                    0














                    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.






                    share|improve this answer































                      0














                      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 than glxgears in the future.



                      Display for Laptop with NVIDIA active



                      Here's what my Conky looks like when prime-select nvidia is active:



                      gpu temp nvidia



                      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:



                      intel GPU



                      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:



                      #------------+
                      # Temperature|
                      #------------+
                      #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${execpi .001 cat /sys/class/thermal/thermal_zone7/temp | cut -c1-2}°C ${alignr}${color1}Up: ${color green}$uptime
                      # Next line is for kernel >= 4.13.0-36-generic
                      ${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 1 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                      # Next line is for temperature with Kerenel 4.4
                      #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 0 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                      ${color green}$running_processes ${color1}running of ${color green}$processes ${color1}loaded processes.
                      ${color1}Load Average 1-5-15 minutes: ${alignr}${color green}${execpi .001 (awk '{printf "%s/", $1}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $2}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $3}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4}
                      #------------+
                      # Intel iGPU |
                      #------------+
                      ${color orange}${hr 1}${if_match "intel" == "${execpi 99999 prime-select query}"}
                      ${color2}${voffset 5}Intel® Skylake GT2 HD 530 iGPU @${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz)} MHz
                      ${color}${goto 13}Min. Freq:${goto 120}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz)} MHz${color}${goto 210}Max. Freq:${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz)} MHz
                      ${color orange}${hr 1}${else}
                      #------------+
                      # Nvidia GPU |
                      #------------+
                      ${color2}${voffset 5}${execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader)} ${color1}@ ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader)} ${alignr}${color1}Temp: ${color green}${execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)}°C
                      ${color1}${voffset 5}Ver: ${color green}${execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader)} ${color1} P-State: ${color green}${execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader)} ${alignr}${color1}BIOS: ${color green}${execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)}
                      ${color1}${voffset 5}GPU:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader)} ${color1}Ram:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader)} ${color1}Pwr:${color green}${execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader)} ${alignr}${color1}Freq: ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)}
                      ${color orange}${hr 1}${endif}





                      share|improve this answer
























                        Your Answer








                        StackExchange.ready(function() {
                        var channelOptions = {
                        tags: "".split(" "),
                        id: "89"
                        };
                        initTagRenderer("".split(" "), "".split(" "), channelOptions);

                        StackExchange.using("externalEditor", function() {
                        // Have to fire editor after snippets, if snippets enabled
                        if (StackExchange.settings.snippets.snippetsEnabled) {
                        StackExchange.using("snippets", function() {
                        createEditor();
                        });
                        }
                        else {
                        createEditor();
                        }
                        });

                        function createEditor() {
                        StackExchange.prepareEditor({
                        heartbeatType: 'answer',
                        autoActivateHeartbeat: false,
                        convertImagesToLinks: true,
                        noModals: true,
                        showLowRepImageUploadWarning: true,
                        reputationToPostImages: 10,
                        bindNavPrevention: true,
                        postfix: "",
                        imageUploader: {
                        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                        allowUrls: true
                        },
                        onDemand: true,
                        discardSelector: ".discard-answer"
                        ,immediatelyShowMarkdownHelp:true
                        });


                        }
                        });














                        draft saved

                        draft discarded


















                        StackExchange.ready(
                        function () {
                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f34449%2fhow-to-see-the-video-card-temperature-nvidia-ati-intel%23new-answer', 'question_page');
                        }
                        );

                        Post as a guest















                        Required, but never shown

























                        9 Answers
                        9






                        active

                        oldest

                        votes








                        9 Answers
                        9






                        active

                        oldest

                        votes









                        active

                        oldest

                        votes






                        active

                        oldest

                        votes









                        58














                        Yes, there is a command.



                        Detecting sensors



                        First of all, you have to search for sensors:



                        sudo apt-get install lm-sensors
                        sudo sensors-detect


                        Since lucid lynx, you have to type:



                        sudo service module-init-tools start


                        If you're running another Ubuntu version type:



                        sudo /etc/init.d/module-init-tools start


                        To save the detection results.



                        Displaying sensor data



                        Now, to show the temperatures, type:



                        sensors


                        Now you should see something like that:



                        My sensors result



                        I don't have many sensors, btw :)



                        Displaying temperature of NVIDIA GPU



                        If you are using a NVIDIA GPU type:



                        sudo apt-get install nvclock


                        After installing it, type nvclock -T to display the temperature.



                        You can also type nvidia-settings -q gpucoretemp.



                        I hope this helped you,






                        share|improve this answer





















                        • 5





                          Thank you Daniel but sensors does not detect the video temp for cases like ati and nvidia. i should have put it in the question but forgot. +1 for complete example.

                          – Luis Alvarado
                          Apr 11 '11 at 11:42






                        • 1





                          @CYREX After some researches I found out that it also shows GPU temp if you install libsensors3 BEFORE detecting sensors. Try: sudo apt-get install libsensors3 and then follow my steps again.

                          – omnidan
                          Apr 11 '11 at 13:10











                        • Nope no luck either. Only shows the CPU temp.

                          – Luis Alvarado
                          Apr 11 '11 at 13:27











                        • Some programs made by nvidia/ati display the GPU temp.

                          – omnidan
                          Apr 11 '11 at 13:35











                        • @CYREX I added instructions to display the temperature of a nvidia gpu, look at my edited answer.

                          – omnidan
                          Apr 11 '11 at 13:40
















                        58














                        Yes, there is a command.



                        Detecting sensors



                        First of all, you have to search for sensors:



                        sudo apt-get install lm-sensors
                        sudo sensors-detect


                        Since lucid lynx, you have to type:



                        sudo service module-init-tools start


                        If you're running another Ubuntu version type:



                        sudo /etc/init.d/module-init-tools start


                        To save the detection results.



                        Displaying sensor data



                        Now, to show the temperatures, type:



                        sensors


                        Now you should see something like that:



                        My sensors result



                        I don't have many sensors, btw :)



                        Displaying temperature of NVIDIA GPU



                        If you are using a NVIDIA GPU type:



                        sudo apt-get install nvclock


                        After installing it, type nvclock -T to display the temperature.



                        You can also type nvidia-settings -q gpucoretemp.



                        I hope this helped you,






                        share|improve this answer





















                        • 5





                          Thank you Daniel but sensors does not detect the video temp for cases like ati and nvidia. i should have put it in the question but forgot. +1 for complete example.

                          – Luis Alvarado
                          Apr 11 '11 at 11:42






                        • 1





                          @CYREX After some researches I found out that it also shows GPU temp if you install libsensors3 BEFORE detecting sensors. Try: sudo apt-get install libsensors3 and then follow my steps again.

                          – omnidan
                          Apr 11 '11 at 13:10











                        • Nope no luck either. Only shows the CPU temp.

                          – Luis Alvarado
                          Apr 11 '11 at 13:27











                        • Some programs made by nvidia/ati display the GPU temp.

                          – omnidan
                          Apr 11 '11 at 13:35











                        • @CYREX I added instructions to display the temperature of a nvidia gpu, look at my edited answer.

                          – omnidan
                          Apr 11 '11 at 13:40














                        58












                        58








                        58







                        Yes, there is a command.



                        Detecting sensors



                        First of all, you have to search for sensors:



                        sudo apt-get install lm-sensors
                        sudo sensors-detect


                        Since lucid lynx, you have to type:



                        sudo service module-init-tools start


                        If you're running another Ubuntu version type:



                        sudo /etc/init.d/module-init-tools start


                        To save the detection results.



                        Displaying sensor data



                        Now, to show the temperatures, type:



                        sensors


                        Now you should see something like that:



                        My sensors result



                        I don't have many sensors, btw :)



                        Displaying temperature of NVIDIA GPU



                        If you are using a NVIDIA GPU type:



                        sudo apt-get install nvclock


                        After installing it, type nvclock -T to display the temperature.



                        You can also type nvidia-settings -q gpucoretemp.



                        I hope this helped you,






                        share|improve this answer















                        Yes, there is a command.



                        Detecting sensors



                        First of all, you have to search for sensors:



                        sudo apt-get install lm-sensors
                        sudo sensors-detect


                        Since lucid lynx, you have to type:



                        sudo service module-init-tools start


                        If you're running another Ubuntu version type:



                        sudo /etc/init.d/module-init-tools start


                        To save the detection results.



                        Displaying sensor data



                        Now, to show the temperatures, type:



                        sensors


                        Now you should see something like that:



                        My sensors result



                        I don't have many sensors, btw :)



                        Displaying temperature of NVIDIA GPU



                        If you are using a NVIDIA GPU type:



                        sudo apt-get install nvclock


                        After installing it, type nvclock -T to display the temperature.



                        You can also type nvidia-settings -q gpucoretemp.



                        I hope this helped you,







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Aug 9 '17 at 11:29









                        Tombart

                        705821




                        705821










                        answered Apr 11 '11 at 5:30









                        omnidanomnidan

                        1,81811622




                        1,81811622








                        • 5





                          Thank you Daniel but sensors does not detect the video temp for cases like ati and nvidia. i should have put it in the question but forgot. +1 for complete example.

                          – Luis Alvarado
                          Apr 11 '11 at 11:42






                        • 1





                          @CYREX After some researches I found out that it also shows GPU temp if you install libsensors3 BEFORE detecting sensors. Try: sudo apt-get install libsensors3 and then follow my steps again.

                          – omnidan
                          Apr 11 '11 at 13:10











                        • Nope no luck either. Only shows the CPU temp.

                          – Luis Alvarado
                          Apr 11 '11 at 13:27











                        • Some programs made by nvidia/ati display the GPU temp.

                          – omnidan
                          Apr 11 '11 at 13:35











                        • @CYREX I added instructions to display the temperature of a nvidia gpu, look at my edited answer.

                          – omnidan
                          Apr 11 '11 at 13:40














                        • 5





                          Thank you Daniel but sensors does not detect the video temp for cases like ati and nvidia. i should have put it in the question but forgot. +1 for complete example.

                          – Luis Alvarado
                          Apr 11 '11 at 11:42






                        • 1





                          @CYREX After some researches I found out that it also shows GPU temp if you install libsensors3 BEFORE detecting sensors. Try: sudo apt-get install libsensors3 and then follow my steps again.

                          – omnidan
                          Apr 11 '11 at 13:10











                        • Nope no luck either. Only shows the CPU temp.

                          – Luis Alvarado
                          Apr 11 '11 at 13:27











                        • Some programs made by nvidia/ati display the GPU temp.

                          – omnidan
                          Apr 11 '11 at 13:35











                        • @CYREX I added instructions to display the temperature of a nvidia gpu, look at my edited answer.

                          – omnidan
                          Apr 11 '11 at 13:40








                        5




                        5





                        Thank you Daniel but sensors does not detect the video temp for cases like ati and nvidia. i should have put it in the question but forgot. +1 for complete example.

                        – Luis Alvarado
                        Apr 11 '11 at 11:42





                        Thank you Daniel but sensors does not detect the video temp for cases like ati and nvidia. i should have put it in the question but forgot. +1 for complete example.

                        – Luis Alvarado
                        Apr 11 '11 at 11:42




                        1




                        1





                        @CYREX After some researches I found out that it also shows GPU temp if you install libsensors3 BEFORE detecting sensors. Try: sudo apt-get install libsensors3 and then follow my steps again.

                        – omnidan
                        Apr 11 '11 at 13:10





                        @CYREX After some researches I found out that it also shows GPU temp if you install libsensors3 BEFORE detecting sensors. Try: sudo apt-get install libsensors3 and then follow my steps again.

                        – omnidan
                        Apr 11 '11 at 13:10













                        Nope no luck either. Only shows the CPU temp.

                        – Luis Alvarado
                        Apr 11 '11 at 13:27





                        Nope no luck either. Only shows the CPU temp.

                        – Luis Alvarado
                        Apr 11 '11 at 13:27













                        Some programs made by nvidia/ati display the GPU temp.

                        – omnidan
                        Apr 11 '11 at 13:35





                        Some programs made by nvidia/ati display the GPU temp.

                        – omnidan
                        Apr 11 '11 at 13:35













                        @CYREX I added instructions to display the temperature of a nvidia gpu, look at my edited answer.

                        – omnidan
                        Apr 11 '11 at 13:40





                        @CYREX I added instructions to display the temperature of a nvidia gpu, look at my edited answer.

                        – omnidan
                        Apr 11 '11 at 13:40













                        70














                        An alternative for nvidia cards is to use nvidia-smi: the "NVIDIA System Management Interface program".



                        user@box:~$ nvidia-smi -q -d temperature
                        GPU 0:
                        Product Name : GeForce 210
                        PCI ID : a6510de
                        Temperature : 39 C


                        Or to output just the numeric value in Celsius:



                        user@box:~$ nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader
                        39





                        share|improve this answer


























                        • optirun nvidia-smi -q -d temperature

                          – Dawid Drozd
                          Jun 17 '16 at 18:25











                        • In case anyone missed it, nvidia-settings -q gpucoretemp is another method.

                          – Mateen Ulhaq
                          Apr 1 '18 at 12:15
















                        70














                        An alternative for nvidia cards is to use nvidia-smi: the "NVIDIA System Management Interface program".



                        user@box:~$ nvidia-smi -q -d temperature
                        GPU 0:
                        Product Name : GeForce 210
                        PCI ID : a6510de
                        Temperature : 39 C


                        Or to output just the numeric value in Celsius:



                        user@box:~$ nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader
                        39





                        share|improve this answer


























                        • optirun nvidia-smi -q -d temperature

                          – Dawid Drozd
                          Jun 17 '16 at 18:25











                        • In case anyone missed it, nvidia-settings -q gpucoretemp is another method.

                          – Mateen Ulhaq
                          Apr 1 '18 at 12:15














                        70












                        70








                        70







                        An alternative for nvidia cards is to use nvidia-smi: the "NVIDIA System Management Interface program".



                        user@box:~$ nvidia-smi -q -d temperature
                        GPU 0:
                        Product Name : GeForce 210
                        PCI ID : a6510de
                        Temperature : 39 C


                        Or to output just the numeric value in Celsius:



                        user@box:~$ nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader
                        39





                        share|improve this answer















                        An alternative for nvidia cards is to use nvidia-smi: the "NVIDIA System Management Interface program".



                        user@box:~$ nvidia-smi -q -d temperature
                        GPU 0:
                        Product Name : GeForce 210
                        PCI ID : a6510de
                        Temperature : 39 C


                        Or to output just the numeric value in Celsius:



                        user@box:~$ nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader
                        39






                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Dec 5 '13 at 16:12









                        Ian Mackinnon

                        62221436




                        62221436










                        answered Jun 7 '11 at 5:06









                        drgrogdrgrog

                        1,51721318




                        1,51721318













                        • optirun nvidia-smi -q -d temperature

                          – Dawid Drozd
                          Jun 17 '16 at 18:25











                        • In case anyone missed it, nvidia-settings -q gpucoretemp is another method.

                          – Mateen Ulhaq
                          Apr 1 '18 at 12:15



















                        • optirun nvidia-smi -q -d temperature

                          – Dawid Drozd
                          Jun 17 '16 at 18:25











                        • In case anyone missed it, nvidia-settings -q gpucoretemp is another method.

                          – Mateen Ulhaq
                          Apr 1 '18 at 12:15

















                        optirun nvidia-smi -q -d temperature

                        – Dawid Drozd
                        Jun 17 '16 at 18:25





                        optirun nvidia-smi -q -d temperature

                        – Dawid Drozd
                        Jun 17 '16 at 18:25













                        In case anyone missed it, nvidia-settings -q gpucoretemp is another method.

                        – Mateen Ulhaq
                        Apr 1 '18 at 12:15





                        In case anyone missed it, nvidia-settings -q gpucoretemp is another method.

                        – Mateen Ulhaq
                        Apr 1 '18 at 12:15











                        17














                        The already mentioned command for nvidia (on my OpenElec installation):



                        nvidia-smi


                        also gave additional information:



                        +------------------------------------------------------+                       
                        | NVIDIA-SMI 3.295.71 Driver Version: 295.71 |
                        |-------------------------------+----------------------+----------------------+
                        | Nb. Name | Bus Id Disp. | Volatile ECC SB / DB |
                        | Fan Temp Power Usage /Cap | Memory Usage | GPU Util. Compute M. |
                        |===============================+======================+======================|
                        | 0. GeForce GT 520 | 0000:01:00.0 N/A | N/A N/A |
                        | N/A 52 C N/A N/A / N/A | 17% 169MB / 1023MB | N/A Default |
                        |-------------------------------+----------------------+----------------------|
                        | Compute processes: GPU Memory |
                        | GPU PID Process name Usage |
                        |=============================================================================|
                        | 0. Not Supported |
                        +-----------------------------------------------------------------------------+





                        share|improve this answer






























                          17














                          The already mentioned command for nvidia (on my OpenElec installation):



                          nvidia-smi


                          also gave additional information:



                          +------------------------------------------------------+                       
                          | NVIDIA-SMI 3.295.71 Driver Version: 295.71 |
                          |-------------------------------+----------------------+----------------------+
                          | Nb. Name | Bus Id Disp. | Volatile ECC SB / DB |
                          | Fan Temp Power Usage /Cap | Memory Usage | GPU Util. Compute M. |
                          |===============================+======================+======================|
                          | 0. GeForce GT 520 | 0000:01:00.0 N/A | N/A N/A |
                          | N/A 52 C N/A N/A / N/A | 17% 169MB / 1023MB | N/A Default |
                          |-------------------------------+----------------------+----------------------|
                          | Compute processes: GPU Memory |
                          | GPU PID Process name Usage |
                          |=============================================================================|
                          | 0. Not Supported |
                          +-----------------------------------------------------------------------------+





                          share|improve this answer




























                            17












                            17








                            17







                            The already mentioned command for nvidia (on my OpenElec installation):



                            nvidia-smi


                            also gave additional information:



                            +------------------------------------------------------+                       
                            | NVIDIA-SMI 3.295.71 Driver Version: 295.71 |
                            |-------------------------------+----------------------+----------------------+
                            | Nb. Name | Bus Id Disp. | Volatile ECC SB / DB |
                            | Fan Temp Power Usage /Cap | Memory Usage | GPU Util. Compute M. |
                            |===============================+======================+======================|
                            | 0. GeForce GT 520 | 0000:01:00.0 N/A | N/A N/A |
                            | N/A 52 C N/A N/A / N/A | 17% 169MB / 1023MB | N/A Default |
                            |-------------------------------+----------------------+----------------------|
                            | Compute processes: GPU Memory |
                            | GPU PID Process name Usage |
                            |=============================================================================|
                            | 0. Not Supported |
                            +-----------------------------------------------------------------------------+





                            share|improve this answer















                            The already mentioned command for nvidia (on my OpenElec installation):



                            nvidia-smi


                            also gave additional information:



                            +------------------------------------------------------+                       
                            | NVIDIA-SMI 3.295.71 Driver Version: 295.71 |
                            |-------------------------------+----------------------+----------------------+
                            | Nb. Name | Bus Id Disp. | Volatile ECC SB / DB |
                            | Fan Temp Power Usage /Cap | Memory Usage | GPU Util. Compute M. |
                            |===============================+======================+======================|
                            | 0. GeForce GT 520 | 0000:01:00.0 N/A | N/A N/A |
                            | N/A 52 C N/A N/A / N/A | 17% 169MB / 1023MB | N/A Default |
                            |-------------------------------+----------------------+----------------------|
                            | Compute processes: GPU Memory |
                            | GPU PID Process name Usage |
                            |=============================================================================|
                            | 0. Not Supported |
                            +-----------------------------------------------------------------------------+






                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Sep 30 '12 at 12:18

























                            answered Sep 30 '12 at 11:59









                            DavidDavid

                            17113




                            17113























                                9














                                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:



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





                                share|improve this answer






























                                  9














                                  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:



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





                                  share|improve this answer




























                                    9












                                    9








                                    9







                                    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:



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





                                    share|improve this answer















                                    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:



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






                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Apr 15 '17 at 13:25









                                    MindSeeker

                                    206




                                    206










                                    answered Feb 17 '14 at 17:45









                                    BenCBenC

                                    42837




                                    42837























                                        4














                                        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.






                                        share|improve this answer




























                                          4














                                          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.






                                          share|improve this answer


























                                            4












                                            4








                                            4







                                            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.






                                            share|improve this answer













                                            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.







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Apr 11 '11 at 5:31









                                            pooliepoolie

                                            7,31823158




                                            7,31823158























                                                2














                                                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/






                                                share|improve this answer




























                                                  2














                                                  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/






                                                  share|improve this answer


























                                                    2












                                                    2








                                                    2







                                                    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/






                                                    share|improve this answer













                                                    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/







                                                    share|improve this answer












                                                    share|improve this answer



                                                    share|improve this answer










                                                    answered Oct 5 '13 at 10:48









                                                    niosusniosus

                                                    16117




                                                    16117























                                                        0














                                                        This indicator also includes GPU temp (as well as CPU and HDD temps.)



                                                        https://launchpad.net/indicator-sensors






                                                        share|improve this answer




























                                                          0














                                                          This indicator also includes GPU temp (as well as CPU and HDD temps.)



                                                          https://launchpad.net/indicator-sensors






                                                          share|improve this answer


























                                                            0












                                                            0








                                                            0







                                                            This indicator also includes GPU temp (as well as CPU and HDD temps.)



                                                            https://launchpad.net/indicator-sensors






                                                            share|improve this answer













                                                            This indicator also includes GPU temp (as well as CPU and HDD temps.)



                                                            https://launchpad.net/indicator-sensors







                                                            share|improve this answer












                                                            share|improve this answer



                                                            share|improve this answer










                                                            answered Jul 19 '15 at 1:31









                                                            Chris WulffChris Wulff

                                                            11




                                                            11























                                                                0














                                                                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.






                                                                share|improve this answer




























                                                                  0














                                                                  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.






                                                                  share|improve this answer


























                                                                    0












                                                                    0








                                                                    0







                                                                    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.






                                                                    share|improve this answer













                                                                    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.







                                                                    share|improve this answer












                                                                    share|improve this answer



                                                                    share|improve this answer










                                                                    answered Oct 9 '15 at 0:43









                                                                    keeper32keeper32

                                                                    1




                                                                    1























                                                                        0














                                                                        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 than glxgears in the future.



                                                                        Display for Laptop with NVIDIA active



                                                                        Here's what my Conky looks like when prime-select nvidia is active:



                                                                        gpu temp nvidia



                                                                        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:



                                                                        intel GPU



                                                                        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:



                                                                        #------------+
                                                                        # Temperature|
                                                                        #------------+
                                                                        #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${execpi .001 cat /sys/class/thermal/thermal_zone7/temp | cut -c1-2}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                        # Next line is for kernel >= 4.13.0-36-generic
                                                                        ${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 1 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                        # Next line is for temperature with Kerenel 4.4
                                                                        #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 0 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                        ${color green}$running_processes ${color1}running of ${color green}$processes ${color1}loaded processes.
                                                                        ${color1}Load Average 1-5-15 minutes: ${alignr}${color green}${execpi .001 (awk '{printf "%s/", $1}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $2}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $3}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4}
                                                                        #------------+
                                                                        # Intel iGPU |
                                                                        #------------+
                                                                        ${color orange}${hr 1}${if_match "intel" == "${execpi 99999 prime-select query}"}
                                                                        ${color2}${voffset 5}Intel® Skylake GT2 HD 530 iGPU @${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz)} MHz
                                                                        ${color}${goto 13}Min. Freq:${goto 120}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz)} MHz${color}${goto 210}Max. Freq:${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz)} MHz
                                                                        ${color orange}${hr 1}${else}
                                                                        #------------+
                                                                        # Nvidia GPU |
                                                                        #------------+
                                                                        ${color2}${voffset 5}${execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader)} ${color1}@ ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader)} ${alignr}${color1}Temp: ${color green}${execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)}°C
                                                                        ${color1}${voffset 5}Ver: ${color green}${execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader)} ${color1} P-State: ${color green}${execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader)} ${alignr}${color1}BIOS: ${color green}${execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)}
                                                                        ${color1}${voffset 5}GPU:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader)} ${color1}Ram:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader)} ${color1}Pwr:${color green}${execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader)} ${alignr}${color1}Freq: ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)}
                                                                        ${color orange}${hr 1}${endif}





                                                                        share|improve this answer




























                                                                          0














                                                                          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 than glxgears in the future.



                                                                          Display for Laptop with NVIDIA active



                                                                          Here's what my Conky looks like when prime-select nvidia is active:



                                                                          gpu temp nvidia



                                                                          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:



                                                                          intel GPU



                                                                          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:



                                                                          #------------+
                                                                          # Temperature|
                                                                          #------------+
                                                                          #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${execpi .001 cat /sys/class/thermal/thermal_zone7/temp | cut -c1-2}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                          # Next line is for kernel >= 4.13.0-36-generic
                                                                          ${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 1 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                          # Next line is for temperature with Kerenel 4.4
                                                                          #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 0 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                          ${color green}$running_processes ${color1}running of ${color green}$processes ${color1}loaded processes.
                                                                          ${color1}Load Average 1-5-15 minutes: ${alignr}${color green}${execpi .001 (awk '{printf "%s/", $1}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $2}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $3}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4}
                                                                          #------------+
                                                                          # Intel iGPU |
                                                                          #------------+
                                                                          ${color orange}${hr 1}${if_match "intel" == "${execpi 99999 prime-select query}"}
                                                                          ${color2}${voffset 5}Intel® Skylake GT2 HD 530 iGPU @${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz)} MHz
                                                                          ${color}${goto 13}Min. Freq:${goto 120}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz)} MHz${color}${goto 210}Max. Freq:${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz)} MHz
                                                                          ${color orange}${hr 1}${else}
                                                                          #------------+
                                                                          # Nvidia GPU |
                                                                          #------------+
                                                                          ${color2}${voffset 5}${execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader)} ${color1}@ ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader)} ${alignr}${color1}Temp: ${color green}${execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)}°C
                                                                          ${color1}${voffset 5}Ver: ${color green}${execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader)} ${color1} P-State: ${color green}${execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader)} ${alignr}${color1}BIOS: ${color green}${execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)}
                                                                          ${color1}${voffset 5}GPU:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader)} ${color1}Ram:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader)} ${color1}Pwr:${color green}${execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader)} ${alignr}${color1}Freq: ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)}
                                                                          ${color orange}${hr 1}${endif}





                                                                          share|improve this answer


























                                                                            0












                                                                            0








                                                                            0







                                                                            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 than glxgears in the future.



                                                                            Display for Laptop with NVIDIA active



                                                                            Here's what my Conky looks like when prime-select nvidia is active:



                                                                            gpu temp nvidia



                                                                            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:



                                                                            intel GPU



                                                                            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:



                                                                            #------------+
                                                                            # Temperature|
                                                                            #------------+
                                                                            #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${execpi .001 cat /sys/class/thermal/thermal_zone7/temp | cut -c1-2}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                            # Next line is for kernel >= 4.13.0-36-generic
                                                                            ${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 1 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                            # Next line is for temperature with Kerenel 4.4
                                                                            #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 0 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                            ${color green}$running_processes ${color1}running of ${color green}$processes ${color1}loaded processes.
                                                                            ${color1}Load Average 1-5-15 minutes: ${alignr}${color green}${execpi .001 (awk '{printf "%s/", $1}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $2}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $3}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4}
                                                                            #------------+
                                                                            # Intel iGPU |
                                                                            #------------+
                                                                            ${color orange}${hr 1}${if_match "intel" == "${execpi 99999 prime-select query}"}
                                                                            ${color2}${voffset 5}Intel® Skylake GT2 HD 530 iGPU @${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz)} MHz
                                                                            ${color}${goto 13}Min. Freq:${goto 120}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz)} MHz${color}${goto 210}Max. Freq:${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz)} MHz
                                                                            ${color orange}${hr 1}${else}
                                                                            #------------+
                                                                            # Nvidia GPU |
                                                                            #------------+
                                                                            ${color2}${voffset 5}${execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader)} ${color1}@ ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader)} ${alignr}${color1}Temp: ${color green}${execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)}°C
                                                                            ${color1}${voffset 5}Ver: ${color green}${execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader)} ${color1} P-State: ${color green}${execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader)} ${alignr}${color1}BIOS: ${color green}${execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)}
                                                                            ${color1}${voffset 5}GPU:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader)} ${color1}Ram:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader)} ${color1}Pwr:${color green}${execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader)} ${alignr}${color1}Freq: ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)}
                                                                            ${color orange}${hr 1}${endif}





                                                                            share|improve this answer













                                                                            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 than glxgears in the future.



                                                                            Display for Laptop with NVIDIA active



                                                                            Here's what my Conky looks like when prime-select nvidia is active:



                                                                            gpu temp nvidia



                                                                            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:



                                                                            intel GPU



                                                                            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:



                                                                            #------------+
                                                                            # Temperature|
                                                                            #------------+
                                                                            #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${execpi .001 cat /sys/class/thermal/thermal_zone7/temp | cut -c1-2}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                            # Next line is for kernel >= 4.13.0-36-generic
                                                                            ${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 1 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                            # Next line is for temperature with Kerenel 4.4
                                                                            #${color1}All CPUs ${color green}${cpu}% ${goto 131}${color1}Temp: ${color green}${hwmon 0 temp 1}°C ${alignr}${color1}Up: ${color green}$uptime
                                                                            ${color green}$running_processes ${color1}running of ${color green}$processes ${color1}loaded processes.
                                                                            ${color1}Load Average 1-5-15 minutes: ${alignr}${color green}${execpi .001 (awk '{printf "%s/", $1}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $2}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4} ${execpi .001 (awk '{printf "%s/", $3}' /proc/loadavg; grep -c processor /proc/cpuinfo;) | bc -l | cut -c1-4}
                                                                            #------------+
                                                                            # Intel iGPU |
                                                                            #------------+
                                                                            ${color orange}${hr 1}${if_match "intel" == "${execpi 99999 prime-select query}"}
                                                                            ${color2}${voffset 5}Intel® Skylake GT2 HD 530 iGPU @${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_cur_freq_mhz)} MHz
                                                                            ${color}${goto 13}Min. Freq:${goto 120}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_min_freq_mhz)} MHz${color}${goto 210}Max. Freq:${alignr}${color green}${execpi .001 (cat /sys/class/drm/card1/gt_max_freq_mhz)} MHz
                                                                            ${color orange}${hr 1}${else}
                                                                            #------------+
                                                                            # Nvidia GPU |
                                                                            #------------+
                                                                            ${color2}${voffset 5}${execpi .001 (nvidia-smi --query-gpu=gpu_name --format=csv,noheader)} ${color1}@ ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.sm --format=csv,noheader)} ${alignr}${color1}Temp: ${color green}${execpi .001 (nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader)}°C
                                                                            ${color1}${voffset 5}Ver: ${color green}${execpi .001 (nvidia-smi --query-gpu=driver_version --format=csv,noheader)} ${color1} P-State: ${color green}${execpi .001 (nvidia-smi --query-gpu=pstate --format=csv,noheader)} ${alignr}${color1}BIOS: ${color green}${execpi .001 (nvidia-smi --query-gpu=vbios_version --format=csv,noheader)}
                                                                            ${color1}${voffset 5}GPU:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader)} ${color1}Ram:${color green}${execpi .001 (nvidia-smi --query-gpu=utilization.memory --format=csv,noheader)} ${color1}Pwr:${color green}${execpi .001 (nvidia-smi --query-gpu=power.draw --format=csv,noheader)} ${alignr}${color1}Freq: ${color green}${execpi .001 (nvidia-smi --query-gpu=clocks.mem --format=csv,noheader)}
                                                                            ${color orange}${hr 1}${endif}






                                                                            share|improve this answer












                                                                            share|improve this answer



                                                                            share|improve this answer










                                                                            answered 24 mins ago









                                                                            WinEunuuchs2UnixWinEunuuchs2Unix

                                                                            47.1k1190183




                                                                            47.1k1190183






























                                                                                draft saved

                                                                                draft discarded




















































                                                                                Thanks for contributing an answer to Ask Ubuntu!


                                                                                • Please be sure to answer the question. Provide details and share your research!

                                                                                But avoid



                                                                                • Asking for help, clarification, or responding to other answers.

                                                                                • Making statements based on opinion; back them up with references or personal experience.


                                                                                To learn more, see our tips on writing great answers.




                                                                                draft saved


                                                                                draft discarded














                                                                                StackExchange.ready(
                                                                                function () {
                                                                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f34449%2fhow-to-see-the-video-card-temperature-nvidia-ati-intel%23new-answer', 'question_page');
                                                                                }
                                                                                );

                                                                                Post as a guest















                                                                                Required, but never shown





















































                                                                                Required, but never shown














                                                                                Required, but never shown












                                                                                Required, but never shown







                                                                                Required, but never shown

































                                                                                Required, but never shown














                                                                                Required, but never shown












                                                                                Required, but never shown







                                                                                Required, but never shown







                                                                                Popular posts from this blog

                                                                                List of shipwrecks in 1808...

                                                                                Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

                                                                                Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...