device::usb::pcsensor::hidtemper::sensor(3pm) [debian man page]
Device::USB::PCSensor::HidTEMPer::Sensor(3pm) User Contributed Perl Documentation Device::USB::PCSensor::HidTEMPer::Sensor(3pm)
Device::USB::PCSensor::HidTEMPer::Sensor - Generic sensor class
VERSION
Version 0.02
SYNOPSIS
None
DESCRIPTION
This module contains a generic class that all HidTEMPer sensors should inherit from keeping the implemented methods consistent, and making
it possible to use the same code to contact every supported device.
CONSTANTS
o MAX_TEMPERATURE
The highest temperature(Celsius) this sensor can detect.
o MIN_TEMPERATURE
The lowest temperature(Celsius) this sensor can detect.
METHODS
o new( $device )
Generic initializing method, creating a sensor object.
Input parameter
$device = A pre-initialized Device::USB::PCSensor::HidTEMPer::Device that the sensor is connected to. This device will be used to handle
communication.
o fahrenheit()
Reads the current temperature and returns the corresponding value in fahrenheit degrees.
o max()
Returns the highest temperature(Celsius) the sensor can detect.
o min()
Returns the lowest temperature(Celsius) the sensor can detect.
o celsius()
Empty method that should be implemented in each sensor, returing the current degrees in celsius.
DEPENDENCIES
This module internally includes and takes use of the following packages:
use Scalar::Util qw/ weaken /;
This module uses the strict and warning pragmas.
BUGS
Please report any bugs or missing features using the CPAN RT tool.
FOR MORE INFORMATION
None
AUTHOR
Magnus Sulland < msulland@cpan.org >
ACKNOWLEDGEMENTS
None
COPYRIGHT & LICENSE
Copyright (c) 2010 Magnus Sulland
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-07-24 Device::USB::PCSensor::HidTEMPer::Sensor(3pm)
Check Out this Related Man Page
AMDTEMP(4) BSD Kernel Interfaces Manual AMDTEMP(4)NAME
amdtemp -- device driver for AMD K8, K10 and K11 on-die digital thermal sensor
SYNOPSIS
To compile this driver into the kernel, place the following line in your kernel configuration file:
device amdtemp
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
amdtemp_load="YES"
DESCRIPTION
The amdtemp driver provides support for the on-die digital thermal sensor present in AMD K8, K10 and K11 processors.
For the K8 family, the amdtemp driver reports each cores' temperature through a sysctl node in the corresponding CPU devices's sysctl tree,
named dev.amdtemp.%d.sensor{0,1}.core{0,1}. The driver also creates dev.cpu.%d.temperature displaying the maximum temperature of the two
sensors located in each CPU core.
For the K10 and K11 families, the driver creates dev.cpu.%d.temperature with the temperature of each core.
BUGS
AMD K9 is not supported because temperature reporting has been replaced by Maltese.
SEE ALSO sysctl(8)HISTORY
The amdtemp driver first appeared in FreeBSD 7.1.
AUTHORS
Rui Paulo <rpaulo@FreeBSD.org>
Norikatsu Shigemura <nork@FreeBSD.org>
BSD April 8, 2008 BSD
I think I should be able to do this with sed..
I'm taking the QUERY_STRING from a HTML form so it will come out like
sensor=1&status=ON
The number will only go 1 - 4 and the On or Off will be the only options...
Can I simply use sed to put it into a more acceptable format....
... (1 Reply)
Hi all
I have a SUN V480 server with 4 processores and I've noticed that the temperature for 2 of the 4 processers are quite high (63 degrees Celsius).
Does anyone know what the operating temperatures of the Sparc CPU's are? I'm not getting any warning messages yet, but I want to resolve the... (3 Replies)
Hi
I installed on a room a Netbotz device, that among other things, shows the temperature. I use Ubuntu to access the web interface of the product, and the temperature is shown in Fahrenheit but I wanted in Celsius.
Netbotz manual says the temp format is taken from the computer running the... (0 Replies)
Please I need to rearrange data acquired by USB port from a sensor network. The information is mixed and I need to convert it into a kind of table. This is my input file:
Node 4D5A joined
Temperature: 27,5
Humidity: 40
Dew Point: 23
No motion detected
LUX: 389
Temperature: 28
Humidity: 41... (5 Replies)
Hi,
I have a NETRA 240 server wich should work on high temperature environment (up to 50 deg celsius). After reaching ~48 deg, the system is shuting down.
The HighShutDownThreshold of the CPU is set to 89 deg
The PowerOffThreshold of the CPU is set to 96 deg
Please help me to change these... (2 Replies)
Hi folks;
I have a temperature sensor that configured with an IP address so we can open a browser to see the temperatures in our 3 labs all showing in one screen.
I'm trying to write a script to call this link then email me the results/output so i don't have to open a browser manually every... (3 Replies)
I came across a bash script that outputs the forecast for the day and the max temperature but at the end of the day the max temperature disappears ($6) and I am left with "°C" after the forecast.
Here is the script:
#! /bin/bash
curl -s --connect-timeout 30... (7 Replies)
Dear all,
there are some linux servers in our DC ....But it is generating a lot of heat.
I want to measure the temperature of the server ...thru commands or any
software packages. IN some other servers ipmitool is installed where they have the censor devices also installed. But in... (2 Replies)
Hello,
Im trying to work on a small script for a formula converting temperatures, Celsius to fahrenheit.
I have a formula, and it works.... it works every way I try it. But it keeps giving me the wrong results every time with expr.
The formula for C to F would be:
divide by 5, multiply by... (12 Replies)
Dear All,
I have table files with different measurements for the same sensors. The first column indicate the sensor (7 different sensors and 16 measurements in the example below). I would like to find the best measurement for each sensor. The best measurement is determined by the higher value of... (10 Replies)
Hello
I'm making script for Dallas temperature sensors (DS1820).
When a sensor is connected, it shows up as a directory in /sys/bus/w1/devices
in format 10-xxxxxxx. Inside the directory is a file called w1_slave which holds the temperature in format t=xxxxx.
Each sensor has unique... (2 Replies)
When inserting a temperature logger into a Centos 7.0 machine, the relevant dmesg lines read:
usb 2-1.4: new full-speed USB device number 4 using ehci-pci
usb 2-1.4: New USB device found, idVendor=10c4, idProduct=82cd
usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb... (5 Replies)
i have this script which result is cpu temp in celsius
first install:
apt-get install lm-sensors
YES |sensors-detect --auto
#!/bin/bash
# 1. get temperature
## a. split response
## Core 0: +143.6°F (high = +186.8°F, crit = +212.0°F)
IFS=')' read -ra core_temp_arr <<<... (11 Replies)