- System : fix to get the distro name

- Services : fix on service names with accent
- Services : ability to specify a host for each service
- Network usage : fix to retrieve the name of the network interfaces
- Memory : the cached and buffers memory are added to free memory now
- Load Average : taking into account the number of cores
- Disk usage : new option to hide tmpfs mountpoints
- General : remove all PHP short tags
This commit is contained in:
ShevAbam
2014-06-18 10:15:18 +02:00
parent 20705a550d
commit 3f6a49bae3
11 changed files with 50 additions and 27 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ require 'Utils/Misc.class.php';
$datas = array();
if (!(exec('/sbin/ifconfig | awk -F " " \'{print $1}\' | sed -e \'/^$/d\'', $getInterfaces)))
if (!(exec('/sbin/ifconfig |awk -F \'[/ |: ]\' \'{print $1}\' |sed -e \'/^$/d\'', $getInterfaces)))
{
$datas[] = array('interface' => 'N.A', 'ip' => 'N.A');
}