Soft'N'Design Software
/
projects
/
debian6500.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
almost every thing is ready
[debian6500.git]
/
master
/
root
/
bin
/
extract_thermal_info
diff --git a/master/root/bin/extract_thermal_info
b/master/root/bin/extract_thermal_info
new file mode 100755
(executable)
index 0000000..
3d49ce4
--- /dev/null
+++ b/
master/root/bin/extract_thermal_info
@@ -0,0
+1,13
@@
+#!/usr/bin/awk -f
+
+/sensord/ && /Phy/ {
+ printf "%s %s;%s;%s;%d;%g\n", $1, $2, $3, $4, $8, $9
+ if (max < $9) {
+ max=$9
+ host=$4
+ }
+}
+
+END {
+ printf "%s: %g\n", host, max
+}