diff options
author | ShevAbam <shevabam@gmail.com> | 2015-01-16 18:14:07 +0100 |
---|---|---|
committer | ShevAbam <shevabam@gmail.com> | 2015-01-16 18:14:07 +0100 |
commit | 3ed4c1d633f3ddfc50d921c5d5c19ebf7cf640c4 (patch) | |
tree | fe135c5868a41cecfae98294facb61accea76912 /libs/system.php | |
parent | c3ec82dd6f60ac8057cc50d9bf6274738db9c02e (diff) |
CPU : changes on retrieving CPU information
Load Average and CPU : fix on recovery the number of CPU cores
Last login : the datas are retrieved differently
Diffstat (limited to 'libs/system.php')
-rw-r--r-- | libs/system.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/system.php b/libs/system.php index 49232ef..7e40e3b 100644 --- a/libs/system.php +++ b/libs/system.php @@ -15,6 +15,7 @@ if (!($os = shell_exec('/usr/bin/lsb_release -ds'))) } } } +$os = trim($os, '"'); // Kernel if (!($kernel = shell_exec('/bin/uname -r'))) |