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


Groups > comp.lang.c++ > #6288 > unrolled thread

cpu temperature

Started bygope@gope.com
First post2011-06-06 13:57 +0000
Last post2011-08-28 15:19 +0100
Articles 5 — 5 participants

Back to article view | Back to comp.lang.c++


Contents

  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

#6288 — cpu temperature

Fromgope@gope.com
Date2011-06-06 13:57 +0000
Subjectcpu temperature
Message-ID<%05Hp.42497$5f.3444@newsfe19.iad>
I'm looking for a exemple off c++ reading temperature

[toc] | [next] | [standalone]


#6291

FromVictor Bazarov <v.bazarov@comcast.invalid>
Date2011-06-06 10:31 -0400
Message-ID<isiocg$j91$1@dont-email.me>
In reply to#6288
On 6/6/2011 9:57 AM, gope@gope.com wrote:
> I'm looking for a exemple off c++ reading temperature

Try www.google.com

V
-- 
I do not respond to top-posted replies, please don't ask

[toc] | [prev] | [next] | [standalone]


#9398

FromWouter Snels <nospam@ofloo.net>
Date2011-08-28 15:15 +0200
Message-ID<zMmdnWfJ_6YWosfTnZ2dnUVZ8oqdnZ2d@edpnet.net>
In reply to#6288
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, ..

[toc] | [prev] | [next] | [standalone]


#9399

From"Duga Chernobyl" <duga_c3@gmx.com>
Date2011-08-28 15:24 +0200
Message-ID<op.v0xd7hl242vrml@debian>
In reply to#9398
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

[toc] | [prev] | [next] | [standalone]


#9400

FromRui Maciel <rui.maciel@gmail.com>
Date2011-08-28 15:19 +0100
Message-ID<4e5a4e79$0$13786$a729d347@news.telepac.pt>
In reply to#9398
Wouter Snels wrote:

> 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.

It is important to state that ACPI support in any random platform isn't a 
given.  So, even when relying on official, de-facto standard interfaces for 
a platform, there is no guarantee that they provide this sort of 
information.  I don't know about *bsd, but this rings particularly true in 
linux.


Rui Maciel

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web