mirror of https://github.com/mikaku/Monitorix.git
fixed a bug in the regexp of memory graph in OpenBSD
This commit is contained in:
parent
24422556a8
commit
06f8ec9e86
|
@ -265,7 +265,7 @@ sub system_update {
|
|||
}
|
||||
}
|
||||
if($config->{os} eq "OpenBSD") {
|
||||
if(/^Memory: Real: (\d+)\w\/\d+\w act\/tot Free: (\d+)\w /) {
|
||||
if(/^Memory:\s+Real:\s+(\d+)\w\/\d+\w\s+act\/tot\s+Free:\s+(\d+)\w\s+/) {
|
||||
$macti = $1;
|
||||
$mfree = $2;
|
||||
$macti = int($macti) * 1024;
|
||||
|
|
Loading…
Reference in New Issue