You are not logged in.
I am hoping to create a script/alias that will display my sensors info but with only certain
options. My scripting strength is very weak. I would prefer bash, but not required.
Here is what i get when I run "sensors -f"
f71882fg-isa-0a00
Adapter: ISA adapter
+3.3V: +3.46 V
in1: +1.26 V (max = +2.04 V)
in2: +0.28 V
in3: +0.98 V
in4: +0.97 V
in5: +1.10 V
in6: +0.20 V
3VSB: +3.44 V
Vbat: +3.25 V
fan1: 2431 RPM
fan2: 934 RPM
fan3: 1067 RPM
fan4: 0 RPM ALARM
temp1: +93.2°F (high = +212.0°F, hyst = +204.8°F)
(crit = +212.0°F, hyst = +204.8°F) sensor = thermistor
temp2: +77.0°F (high = +185.0°F, hyst = +177.8°F)
(crit = +212.0°F, hyst = +204.8°F) sensor = transistor
What I would like to get as output is as follows:
temp1: +93.2°F
temp2: +77.0°F
Is This possible?
Last edited by orphius1970 (2010-04-09 23:01:05)
AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64
Offline
here's an example from mine:
echo `sensors | grep "Core 0" | cut -c7-16`
Offline
thank you ssri !!!!!
With minor mod, it worked perfectly!
AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64
Offline