aboutsummaryrefslogtreecommitdiffstats
path: root/examples/scripts.v2/pmtop
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scripts.v2/pmtop')
-rw-r--r--examples/scripts.v2/pmtop2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scripts.v2/pmtop b/examples/scripts.v2/pmtop
index 9344d90..cc419ac 100644
--- a/examples/scripts.v2/pmtop
+++ b/examples/scripts.v2/pmtop
@@ -16,7 +16,7 @@ while :
do
$CLEAR
echo "$HEADER"
- ps -aux | sort -nr +2 | sed ${SS}q
+ ps -aux | sort -nr -k 3 | sed ${SS}q
sleep 5
done