mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 15:29:15 -04:00
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
333 B
Diff
11 lines
333 B
Diff
--- ./plugins/node.d.freebsd/dev_cpu_.in.orig 2011-02-15 00:02:38.000000000 +0100
|
|
+++ ./plugins/node.d.freebsd/dev_cpu_.in 2011-02-15 00:03:19.000000000 +0100
|
|
@@ -109,7 +109,7 @@
|
|
reqcpus
|
|
for cpu in $cpus ; do
|
|
echo -n "CPU$cpu.value "
|
|
- sysctl -n "dev.cpu.$cpu.$func"
|
|
+ sysctl -n "dev.cpu.$cpu.$func" | tr -d 'C'
|
|
done
|
|
}
|
|
|