Soft'N'Design Software
/
projects
/
debian6500.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
minimize swap usage
[debian6500.git]
/
master
/
root
/
bin
/
extract_thermal_info
1
#!/usr/bin/awk -f
2
3
/
sensord
/ && /
Phy
/ {
4
printf
"%s %s;%s;%s;%d;%g
\n
"
,
$
1
,
$
2
,
$
3
,
$
4
,
$
8
,
$
9
5
if
(
max
<
$
9
) {
6
max=$
9
7
host=$
4
8
}
9
}
10
11
END
{
12
printf
"%s: %g
\n
"
,
host
,
max
13
}