forked from Lainports/freebsd-ports
time now [1] - fix http_loadtime plugin [2] - fix coretemp and dev_cpu plugins [3] PR: ports/151182 [1], ports/154688 [2], ports/154584 [3] Submitted by: Detlef Peeters <dp@heringa.de> [1] Oliver Brandmueler <ob@e-gitt.net> [2] Hiroki (REO) Kashiwazaki <reo@iic.hokudai.ac.jp> [3]
11 lines
339 B
Diff
11 lines
339 B
Diff
--- ./plugins/node.d.freebsd/coretemp.in.orig 2011-02-14 23:51:14.000000000 +0100
|
|
+++ ./plugins/node.d.freebsd/coretemp.in 2011-02-14 23:52:10.000000000 +0100
|
|
@@ -75,7 +75,7 @@
|
|
reqcpus
|
|
for cpu in $cpus ; do
|
|
echo -n "CPU$cpu.value "
|
|
- sysctl -n dev.cpu.$cpu.temperature
|
|
+ sysctl -n dev.cpu.$cpu.temperature | tr -d 'C'
|
|
done
|
|
}
|
|
|