Skip to content
Snippets Groups Projects
Commit ac68cb85 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

check_memory: fix sortorder

parent 561d16b8
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ cat /proc/meminfo | egrep "^(Mem|Cache|Buffers|Swap|Slab|SReclaimable)"
if [ $ramUsage -gt $iMinRamUsageToShowProcesses ]; then
echo
echo "RAM usage is higher $iMinRamUsageToShowProcesses percent ... showing most consuming processes:"
ps aux | head -1; ps aux | sort -nrk 3,3 | head -n 5
ps aux | head -1; ps aux | sort -nrk 4 | head -n 5
fi
# --- performance data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment