Hi David,
devIocStats is meant for things that are common across BSPs (for RTEMS and VxWorks) and OS types (for linux, solaris, and darwin). I think something like CPU temperature, which is monitored differently on different BSPs or flavors of OSs, should be in a different module. But feel free to look at the devIocStats (especially devIocStats/os/Linux) for ideas of how to read the /proc files and stuff information from them into PVs. Other people probably have better examples.
Stephanie Allison
SPEAR Controls
[email protected]
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of
> David Morris
> Sent: Monday, November 29, 2010 5:21 PM
> To: [email protected]
> Subject: Monitoring CPU temperature for small IOC
>
> Hello all
> I have a Linux based IOC running on a dedicated small hardware
> platform (Atom CPU in Mini-ITX form factor) We would like this to have
> no moving parts, which means monitoring the CPU state becomes critical
> on hot summer days. Is there support for monitoring CPU temperatures
> using the /proc/acpi service? It seems like this would be something that
> devIocStats could provide, but perhaps it is too system dependent.
>
> Is there an easy way to collect information from the IOC host system
> and place it into PVs? Regular reading of /proc/acpi/thermal_zone/THRM
> will give an updated CPU core temperature, but it is not clear to me how
> to place this into a PV.
>
> Thanks in advance.
>
> David
>
> --
>
> David Morris TRIUMF
> Systems Designer 4004 Wesbrook Mall
> Ph 604-222-7450 Vancouver, B.C.
> Fax 604-222-7307 V6T 2A3, Canada
>
>
- References:
- Monitoring CPU temperature for small IOC David Morris
- Navigate by Date:
- Prev:
RE: Monitoring CPU temperature for small IOC Mark Rivers
- Next:
Re: makeBaseApp.pl in 3.14.12 with custom INSTALL_LOCATION Hinko Kocevar
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Monitoring CPU temperature for small IOC Mark Rivers
- Next:
Long out record PV Monitoring error in client using CaChannel-1.5 python interface Ritesh Sugandhi
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
<2010>
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|