diff --git a/docs/aoa/ps.rst b/docs/aoa/ps.rst index c9daacb2..c9c6821b 100644 --- a/docs/aoa/ps.rst +++ b/docs/aoa/ps.rst @@ -23,12 +23,12 @@ The process view consists of 3 parts: The processes summary line displays: -- Tasks number (total number of processes) -- Threads number -- Running tasks number -- Sleeping tasks number -- Other tasks number (not running or sleeping) -- Sort key +- Total number of tasks/processes (aliases as total in the Glances API) +- Number of threads +- Number of running tasks/processes +- Number of sleeping tasks/processes +- Other number of tasks/processes (not in running or sleeping states) +- Sort key for the process list By default, or if you hit the ``a`` key, the processes list is automatically sorted by: @@ -129,7 +129,7 @@ The extended stats feature can be enabled using the (curses interface). In curses/standalone mode, you can select a process using ``UP`` and ``DOWN`` and press: -- ``k`` to kill the selected process +- ``k`` to kill the selected process .. note:: Limit for CPU and MEM percent values can be overwritten in the diff --git a/docs/man/glances.1 b/docs/man/glances.1 index 0245058a..6f8c30c8 100644 --- a/docs/man/glances.1 +++ b/docs/man/glances.1 @@ -1,6 +1,6 @@ .\" Man page generated from reStructuredText. . -.TH "GLANCES" "1" "Jul 10, 2021" "3.2.1" "Glances" +.TH "GLANCES" "1" "Jul 11, 2021" "3.2.2_beta0" "Glances" .SH NAME glances \- An eye on your system . diff --git a/glances/processes.py b/glances/processes.py index 3f00d2c0..84650588 100644 --- a/glances/processes.py +++ b/glances/processes.py @@ -264,8 +264,8 @@ class GlancesProcesses(object): # Grab standard stats ##################### - sorted_attrs = ['cpu_percent', 'cpu_times', - 'memory_percent', 'name', + sorted_attrs = ['cpu_percent', 'cpu_times', + 'memory_percent', 'name', 'status', 'status', 'num_threads'] displayed_attr = ['memory_info', 'nice', 'pid', 'ppid'] cached_attrs = ['cmdline', 'username']