now with g
This commit is contained in:
parent
edaff99307
commit
8f82fb9a22
@ -445,7 +445,7 @@ class System
|
||||
if (@is_readable('/proc/loadavg')) {
|
||||
$content = @file_get_contents('/proc/loadavg');
|
||||
if (empty($content)) {
|
||||
$content = shell_exec('uptime | sed "s/.*averages*: //" | sed "s/,//"');
|
||||
$content = shell_exec('uptime | sed "s/.*averages*: //" | sed "s/,//g"');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user