You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wanna let you know, when the language other than English is set by example de_CH or whaterever. The memory infos are not get. Its arround Line 321. An easy & very dirty fix could be, to set the language in the os_cmd a few lines before. Of course there are many other better ways to do it.
$os_mem=os_cmd("LANGUAGE=en && free -b");
}
($os->{mem_total},$os->{mem_used},$os->{mem_free},$os->{mem_shared},$os->{mem_buffers},$os->{mem_cached})=($os_mem =~ /Mem:\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)/);
($os->{swap_total},$os->{swap_used},$os->{swap_free})=($os_mem =~ /Swap:\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)/);
regards
The text was updated successfully, but these errors were encountered:
Hi
I just wanna let you know, when the language other than English is set by example de_CH or whaterever. The memory infos are not get. Its arround Line 321. An easy & very dirty fix could be, to set the language in the os_cmd a few lines before. Of course there are many other better ways to do it.
$os_mem=os_cmd("LANGUAGE=en && free -b");
}
($os->{mem_total},$os->{mem_used},$os->{mem_free},$os->{mem_shared},$os->{mem_buffers},$os->{mem_cached})=($os_mem =~ /Mem:\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)/);
($os->{swap_total},$os->{swap_used},$os->{swap_free})=($os_mem =~ /Swap:\s+([0-9]+)\s+([0-9]+)\s+([0-9]+)/);
regards
The text was updated successfully, but these errors were encountered: