summaryrefslogtreecommitdiffstats
path: root/docs/aoa/ps.rst
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2021-08-01 10:05:47 +0200
committernicolargo <nicolas@nicolargo.com>2021-08-01 10:05:47 +0200
commita9ebdf185b950627d71e2d936ea661248c5312b9 (patch)
tree31e1192181530f813313de8be1bede991a3c9470 /docs/aoa/ps.rst
parentba1af75e080eb8e0785f76ec8007c2e8bb9d0f4d (diff)
Make the process sort list configurable through the command line #1903
Diffstat (limited to 'docs/aoa/ps.rst')
-rw-r--r--docs/aoa/ps.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/aoa/ps.rst b/docs/aoa/ps.rst
index c9c6821b..62d5d8b2 100644
--- a/docs/aoa/ps.rst
+++ b/docs/aoa/ps.rst
@@ -38,6 +38,19 @@ automatically sorted by:
- ``MEM``: if a memory alert is detected
- ``DISK I/O``: if a CPU iowait alert is detected
+You can also set the sort key in the UI:
+- by clicking on left and right arrows
+- by clicking on the following shortcuts or command line option:
+
+===== ==================== ===============================
+``a`` Automatic sort
+``c`` Sort by CPU --sort-processes cpu_percent
+``i`` Sort by DISK I/O --sort-processes io_counters
+``m`` Sort by MEM --sort-processes memory_percent
+``p`` Sort by process name --sort-processes name
+``t`` Sort by CPU times --sort-processes cpu_times
+``u`` Sort by username --sort-processes username
+
The number of processes in the list is adapted to the screen size.
Columns display