From c807fb56592b716b4bebc90d8d7e0b293cd6c8c1 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 11 Jul 2015 20:22:57 +0200 Subject: fix filter critera for Debian's top --- libLumina/LuminaOS-Debian.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libLumina') diff --git a/libLumina/LuminaOS-Debian.cpp b/libLumina/LuminaOS-Debian.cpp index aad0e456..85dd657e 100644 --- a/libLumina/LuminaOS-Debian.cpp +++ b/libLumina/LuminaOS-Debian.cpp @@ -262,7 +262,7 @@ int LOS::CPUUsagePercent(){ //Returns: Overall percentage of the amount of CPU c } int LOS::MemoryUsagePercent(){ - QStringList mem = LUtils::getCmdOutput("top -bn1").filter("Mem:"); + QStringList mem = LUtils::getCmdOutput("top -bn1").filter("Mem :"); if(mem.isEmpty()){ return -1; } double fB = 0; //Free Bytes double uB = 0; //Used Bytes -- cgit