mirror of https://github.com/mikaku/Monitorix.git
entropy disabled while waiting for a solution
This commit is contained in:
parent
f260e1cdf1
commit
639e412e59
|
@ -296,10 +296,10 @@ sub system_update {
|
||||||
$macti = ($page_size * $macti) / 1024;
|
$macti = ($page_size * $macti) / 1024;
|
||||||
$minac = ($page_size * $minac) / 1024;
|
$minac = ($page_size * $minac) / 1024;
|
||||||
|
|
||||||
open(IN, "/sbin/sysctl -n kern.random.sys.seeded |");
|
# open(IN, "/sbin/sysctl -n kern.random.sys.seeded |");
|
||||||
$entropy = <IN>;
|
# $entropy = <IN>;
|
||||||
close(IN);
|
# close(IN);
|
||||||
chomp($entropy);
|
# chomp($entropy);
|
||||||
|
|
||||||
open(IN, "/sbin/sysctl -n kern.boottime |");
|
open(IN, "/sbin/sysctl -n kern.boottime |");
|
||||||
(undef, undef, undef, $uptime) = split(' ', <IN>);
|
(undef, undef, undef, $uptime) = split(' ', <IN>);
|
||||||
|
|
Loading…
Reference in New Issue