Friday, January 17, 2014

NVIDIA GPU Temp

On my old TV setup I used nvclock to get the NVIDIA GPU temperature and graph it using rrdtool (along with other temperatures and fan speeds).

nvclock was always a bit of a hack and does not work any more (at least, it won't do anything useful for me).

I know the nvidia-settings tool can display the temperature (and much more information) so there must be a modern way to access this data. A quick google showed up the nvidia-smi tool.

Quick and dirty,
nvidia-smi -q | grep Temperature -A 1
will show the current temperature.
    Temperature
        Gpu                     : 72 C


Interestingly, the output can also be in XML format. Combined with some xslt magic, it is possible to get the temperature in a more structured way.
echo '<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output method='text'/>
<xsl:template match="/">
<xsl:for-each select="//gpu_temp">
<xsl:value-of select="."/>

<xsl:text>&#xa;</xsl:text>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>

' > nvidia-temp.xml
nvidia-smi --dtd > nvsmi_device_v6.dtd
nvidia-smi -q -x | xsltproc nvidia-temp.xml -

Note: Your driver might be using a different dtd version. Adjust as required. (nvidia-smi --dtd | head -1 | cut -d ' ' -f 2 will give the correct name)

If you have multiple cards and want to know which card has which temperature then you can alter the xsl to format it as you require with something like
<xsl:value-of select="ancestor::gpu/@id"/> or <xsl:value-of select="ancestor::gpu/uuid"/>
eg
0000:04:00.0 Quadro K2000 31 C
0000:05:00.0 Quadro K2000 32 C



79 comments:

  1. I am very happy to read this. Appreciate your sharing lulubox download

    ReplyDelete
  2. I don't understand about NVIDIA GPU Temp. Please at first give a brief introduction about it. And one thing if you need a guidance to install exodus kodi, just ping me.

    ReplyDelete
  3. Thanks for expaling about NVIDIA GPU Temp. Can you tell me how we can resolve high CPU usages issue? and Can I post your blog on QuickBooks support site?

    ReplyDelete
  4. There's no easy answer; it varies from GPU to GPU. Google is your friend. Most modern chips can run at temperatures in the mid-90 degrees Celsius, though, and you'll often see them hit those temperatures in gaming laptops

    hotstar app

    ReplyDelete
  5. NVIDIA should do something to lower the temperature of their chipset while playing games. I have encountered this problem while working on Geek Squad Tech Support project.

    ReplyDelete
  6. This post is discussing in an outstanding way. I like your way yo discussed your valid points and facts about this. I really said you share more and more articles How To Remove Mildew From Clothes

    ReplyDelete
  7. Most of the toxic plants are irritants, causing localized tenderness of the mouth, stomach & skin. The toxic principle in the other plants have a systemic effect, damage the function of cat organs like the heart or kidney. Plants Poisonous To Cats

    ReplyDelete
  8. Hey, Excellent work. I must appreciate the way you manage your article’s content and the look & feel of your website. you are really doing a great work, carry on the hard work.
    Best SEO services in Delhi NCR

    ReplyDelete
  9. Choosing a high quality and well-paying casino may be hard. But Casinority comes to the rescue with its detailed and up to date casino reviews. Take advantages of our https://casinority.com/reviews/fair-go-casino/ listings of the best sites.

    ReplyDelete
  10. Impressive blog. I thought this was not really preferrable.

    click for truck listing

    ReplyDelete
  11. Wonderful article, thank you for sharing the info. It isn’t too often that you simply read articles where the poster understands what they’re blogging about.

    사설토토
    온라인카지노
    파워볼

    ReplyDelete
  12. I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article.

    토토
    카지노사이트
    파워볼사이트

    ReplyDelete
  13. This is an excellent post I seen thanks to share it. It is really what I wanted to see hope in future you will continue for sharing such a excellent post.

    스포츠토토
    바카라사이트
    파워볼게임

    ReplyDelete
  14. It’s really a nice and useful piece of info. I am glad that you shared this helpful information with us. Please keep us up to date like this. Thank you for sharing. 배트맨토토

    ReplyDelete
  15. Really appreciate you sharing this blog post. Really looking forward to read more. Really Great 토토

    ReplyDelete
  16. This article is an appealing wealth of useful informative that is interesting and well-written. I commend your hard work on this and thank you for this information. I know it very well that if anyone visits your blog, then he/she will surely revisit it again. 온라인카지노사이트

    ReplyDelete
  17. I have read it, but the information is still less than mine, i am wanting to learn more
    바카라사이트인포

    ReplyDelete
  18. Useful information. Lucky me I found your web site by chance, and I’m shocked
    why this coincidence did not took place earlier! I bookmarked it.
    파워볼사이트닷컴

    ReplyDelete
  19. Very good article! We will be linking to this great
    content on our site. Keep up the good writing.
    온라인카지노사이트

    ReplyDelete
  20. I needed to thank you for this phenomenal read!! I unquestionably adored each and every piece of it. I have you bookmarked your site to look at the new stuff you post.
    사설토토

    ReplyDelete
  21. I enjoy the subject you are talking about. It very interesting! 토토사이트웹

    ReplyDelete
  22. Nice post. I learn something much more difficult on different article sites everyday. 고스톱

    ReplyDelete
  23. It seems too complicated and very general for me to understand. 메이저토토사이트

    ReplyDelete
  24. This comment has been removed by the author.

    ReplyDelete
  25. Nic. I learn something much more difficult on different article sites everyday . 꽁머니

    ReplyDelete
  26. I like the way you write this article, Very interesting to read.I would like to thank you for the efforts you had made for writing this awesome article.

    토토사이트
    온라인카지노사이트
    파워볼사이트
    바카라사이트

    ReplyDelete
  27. I just want to say I’m all new to blogging and honestly loved your web blog. More than likely I’m want to bookmark your blog .

    사설토토
    카지노사이트
    파워볼
    온라인카지노

    ReplyDelete
  28. I’m impressed, I have to admit. Genuinely rarely must i encounter a weblog that’s both educative and entertaining, and without a doubt, you may have hit the nail about the head.

    스포츠토토
    바카라
    파워볼게임
    온라인바카라

    ReplyDelete
  29. Your article looks really adorable, here's a site link i dropped for you which you may like. 온라인바둑이

    ReplyDelete
  30. Very good. I love to read your page dear continue. Also play our game:온라인카지노

    ReplyDelete
  31. Pretty! This was an extremely wonderful post. Thanks for supplying this info.온라인카지노

    ReplyDelete
  32. Thanks for sharing such a nice opinion, piece of writing is good,
    thats why i have read it fully,Feel free to surf to my web-site온라인카지노

    ReplyDelete
  33. 샌즈카지노 Whether you think you have what it takes to rub elbows with the pros, or you’re a new player looking for a good place to go from free ***** games to playing some real ***** online, then you’ve come to the right place.

    ReplyDelete
  34. 카지노게임사이트 If you thought you’d seen some heavy mind-gaming and cheeky banter in online ***** rooms or at online ***** tournaments, you’ll love Sebastian Malec’s line he fed Uri Reichenstein before he took first prize at the final table of the EPT (European ***** Tour)

    ReplyDelete
  35. Yes i am totally agreed with this article and i just want to say that this article is very nice and very informative. More blogs please. 야한동영상

    ReplyDelete
  36. Very comprehensive and informative explanation. Thank you for this amazing post. Love your work 야동

    ReplyDelete
  37. I have loved the micro-story, it is very short and changes the story radically 한국야동닷컴

    ReplyDelete
  38. I was very pleasantly surprised by the short story, the truth is that it reflects a lot in very few words. 일본야동닷컴

    ReplyDelete
  39. I¦ve learn a few excellent stuff here. Certainly worth bookmarking for revisiting. I wonder how so much attempt you place to create this type of fantastic informative web site.
    바카라사이트

    ReplyDelete
  40. The concept of outsourcing a few exercises relating to the company’s day-to-day operations has demonstrated to be an viable strategy of progressing execution in numerous nations. Numerous companies have found it advantageous to kill all divisions that are not straightforwardly related to their essential line of trade: deals, generation, or services. https://www.baltic-legal.com/accountancy-services-eng.htm

    ReplyDelete
  41. When your website or blog goes live for the first time, it is exciting. That is until you realize no one but you and your. Anthony Dietrich Gainesville VA

    ReplyDelete
  42. Were required to give you that almost no remark in order to thanks a lot yet again of these spectacular techniques you might have provided in this posting. It’s so particularly generous with folks such as you to generate unreservedly what the majority of us might have marketed for an book to earn some dough in their own business, primarily since you may have tried it in the event you wanted. The tactics also acted to be good way to know that everyone’s similar desire just as my own, personal to figure out completely more regarding this condition. I’m sure there are thousands of more pleasant opportunities up front for many who go through your website post. buying a home

    ReplyDelete
  43. this type of article that enlighted me all thoughout and thanks for this.
    카지노사이트

    ReplyDelete
  44. we must be more passionate about everything especially when it comes in our nature and environment check this out also >>
    카지노사이트

    ReplyDelete
  45. Excellent information Providing by your Article thank you for taking the time to share with us such a nice article. 한국야동

    ReplyDelete
  46. Excellent read, I just passed this onto a friend who was doing a little research on that. And he actually bought me lunch as I found it for him smile Therefore let me rephrase that: Thank you for lunch.사설토토

    ReplyDelete
  47. I accidentally searched and visited your site. I still saw several posts during my visit, but the text was neat and readable. 토토사이트

    ReplyDelete
  48. I was looking it for so long , and i found it finally that i know it will help me . 토토사이트

    ReplyDelete
  49. Wow, incredible blog format! How lengthy have you been blogging for? you make running a blog glance easy. The full glance of your site is fantastic, as smartly the content material. Feel free to visit my website; 야설

    ReplyDelete
  50. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man and Thanks for the post,Interesting stuff to read. Keep it up. Feel free to visit my website; 일본야동

    ReplyDelete

  51. Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a little bit, but other than that, this is magnificent blog. A great read. I’ll certainly be back. Feel free to visit my website;
    국산야동

    ReplyDelete
  52. Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates Feel free to visit my website; 일본야동


    ReplyDelete
  53. Great post ! I am pretty much pleased with your good post.You put really very helpful information. Feel free to visit my website;

    한국야동

    ReplyDelete
  54. Hello, I read the post well. casino online It's a really interesting topic and it has helped me a lot. In fact, I also run a website with similar content to your posting. Please visit once


    ReplyDelete
  55. Woori Casino | Slot Machines, Table Games - Choegocasino
    In Woori happyluke Casino, the thrill カジノ シークレット and excitement of a lucky reel is not just welcomed. Play slots and table games, 우리카지노 and enjoy the excitement of live casino gaming

    ReplyDelete
  56. Trump Plaza implosion: The Atlantic City 인터넷바둑이사이트 온라인현금맞고 모바일현금섯다 came down this morning

    ReplyDelete
  57. It has a good meaning. If you always live positively, someday good things will happen. 메이저사이트Let's believe in the power of positivity. Have a nice day.


    ReplyDelete
  58. This is a very interesting article. Please, share more like this! Great blog! Thanks for the info, it is much appreciated. 사설토토

    ReplyDelete

  59. This article is informative. thanks for sharing.
    Downlaod Here

    ReplyDelete
  60. Nice effort
    https://crackcut.com/aact-x64-crack/

    ReplyDelete
  61. I can't imagine what you said. Your favorite reason seems to be the easiest factor to notice. I'm certainly annoyed at the same time that people just think about problems they don't recognize. You can control it to hit the nail on the head and define the whole without any side effects, so that others can receive signals. You'll get a lot more. Thank you.

    카지노사이트
    토토사이트
    스포츠토토
    토토사이트링크
    토토
    카지노

    ReplyDelete
  62. The great destinations information is truly educated. The pleasant destinations alluded was acceptable information

    해외토토 E스포츠토토 토토사이트추천 모바일토토

    ReplyDelete
  63. Football lovers can find daily matches and instant match scores in the Super League, which they follow, in live koora

    ReplyDelete
  64. Very nice blog. This site provides a very helpful ideas. Pool Removal Peoria, IL

    ReplyDelete