aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Roy Bratusek <nano@jpberlin.de>2015-07-11 20:22:57 +0200
committerChristopher Roy Bratusek <nano@jpberlin.de>2015-07-11 20:22:57 +0200
commitc807fb56592b716b4bebc90d8d7e0b293cd6c8c1 (patch)
treeba75d47450edbd1f32cd76953d213076a5b3a76d
parenttypo fix (diff)
downloadlumina-c807fb56592b716b4bebc90d8d7e0b293cd6c8c1.tar.gz
lumina-c807fb56592b716b4bebc90d8d7e0b293cd6c8c1.tar.bz2
lumina-c807fb56592b716b4bebc90d8d7e0b293cd6c8c1.zip
fix filter critera for Debian's top
-rw-r--r--libLumina/LuminaOS-Debian.cpp2
1 files changed, 1 insertions, 1 deletions
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
bgstack15