Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #9399

Re: cpu temperature

From "Duga Chernobyl" <duga_c3@gmx.com>
Newsgroups comp.lang.c++, alt.comp.lang.c++.help
Subject Re: cpu temperature
Date 2011-08-28 15:24 +0200
Organization ATMAN - ATM S.A.
Message-ID <op.v0xd7hl242vrml@debian> (permalink)
References <%05Hp.42497$5f.3444@newsfe19.iad> <zMmdnWfJ_6YWosfTnZ2dnUVZ8oqdnZ2d@edpnet.net>

Cross-posted to 2 groups.

Show all headers | 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


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