add note that memory is 1024 based
This commit is contained in:
@@ -17,6 +17,7 @@ angular.module('Application').controller('GraphsController', ['$scope', '$locati
|
||||
|
||||
$scope.installedApps = Client.getInstalledApps();
|
||||
|
||||
// we use 1024 to match free -m output (which is not si units)
|
||||
function bytesToMegaBytes(value) {
|
||||
return (value/1024/1024).toFixed(2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user