Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #9399
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed2.atman.pl!newsfeed.atman.pl!.POSTED!not-for-mail |
|---|---|
| From | "Duga Chernobyl" <duga_c3@gmx.com> |
| Newsgroups | comp.lang.c++, alt.comp.lang.c++.help |
| Subject | Re: cpu temperature |
| Date | Sun, 28 Aug 2011 15:24:43 +0200 |
| Organization | ATMAN - ATM S.A. |
| Lines | 20 |
| Message-ID | <op.v0xd7hl242vrml@debian> (permalink) |
| References | <%05Hp.42497$5f.3444@newsfe19.iad> <zMmdnWfJ_6YWosfTnZ2dnUVZ8oqdnZ2d@edpnet.net> |
| NNTP-Posting-Host | user-109-243-100-255.play-internet.pl |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed; delsp=yes |
| Content-Transfer-Encoding | Quoted-Printable |
| X-Trace | node2.news.atman.pl 1314537883 1860 109.243.100.255 (28 Aug 2011 13:24:43 GMT) |
| X-Complaints-To | usenet@atman.pl |
| NNTP-Posting-Date | Sun, 28 Aug 2011 13:24:43 +0000 (UTC) |
| User-Agent | Opera Mail/11.50 (Linux) |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.c++:9399 |
Cross-posted to 2 groups.
Show key headers only | View raw
Dnia 28-08-2011 o 15:15:55 Wouter Snels <nospam@ofloo.net> napisaĆ(a): > Op 06-06-11 15:57, gope@gope.com schreef: >> I'm looking for a exemple off c++ reading temperature > This should depend on which os you use, .. example for freebsd you might > look into sysctl, .. although can't seem to find any api for C/C++ > > check http://forums.freebsd.org/archive/index.php/t-882.html there are > some examples which the command shows the temperature. > > don't think there is a cross platform lib out there that does this. > > Regards, .. I think, you must get acpi api. F.e. in linux, conky can read the temperature of cpu, try read his source code
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
cpu temperature gope@gope.com - 2011-06-06 13:57 +0000
Re: cpu temperature Victor Bazarov <v.bazarov@comcast.invalid> - 2011-06-06 10:31 -0400
Re: cpu temperature Wouter Snels <nospam@ofloo.net> - 2011-08-28 15:15 +0200
Re: cpu temperature "Duga Chernobyl" <duga_c3@gmx.com> - 2011-08-28 15:24 +0200
Re: cpu temperature Rui Maciel <rui.maciel@gmail.com> - 2011-08-28 15:19 +0100
csiph-web