summaryrefslogtreecommitdiffstats
path: root/docs/aoa/ps.rst
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2021-08-01 10:21:32 +0200
committernicolargo <nicolas@nicolargo.com>2021-08-01 10:21:32 +0200
commitbdeb414a4c790c10e9ba61089c427372aea9d2b7 (patch)
tree5f508401dad95ed6b51bf58112210290d35cdf81 /docs/aoa/ps.rst
parent348ee629c00ea51fee71946af820faa5cf8760d8 (diff)
Update process list doc
Diffstat (limited to 'docs/aoa/ps.rst')
-rw-r--r--docs/aoa/ps.rst46
1 files changed, 38 insertions, 8 deletions
diff --git a/docs/aoa/ps.rst b/docs/aoa/ps.rst
index 45af98c6..a546ec9e 100644
--- a/docs/aoa/ps.rst
+++ b/docs/aoa/ps.rst
@@ -43,20 +43,50 @@ 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
+.. list-table:: Title
+ :widths: 10 30 30
+ :header-rows: 1
+
+ * - Shortcut
+ - Command line option
+ - Description
+ * - a
+ - Automatic sort
+ - Default sort
+ * - c
+ - --sort-processes cpu_percent
+ - Sort by CPU
+ * - i
+ - --sort-processes io_counters
+ - Sort by DISK I/O
+ * - m
+ - --sort-processes memory_percent
+ - Sort by MEM
+ * - p
+ - --sort-processes name
+ - Sort by process name
+ * - t
+ - --sort-processes cpu_times
+ - Sort by CPU times
+ * - u
+ - --sort-processes username
+ - Sort by process username
The number of processes in the list is adapted to the screen size.
Columns display
---------------
+.. list-table:: Title
+ :widths: 10 60
+ :header-rows: 0
+
+ * - ``CPU%``
+ - Command line option
+ - % of CPU used by the process
+ If Irix/Solaris mode is off ('0' key), the value
+ is divided by logical core number
+
========================= ==============================================
``CPU%`` % of CPU used by the process