From b697be87f3fdeda1a5f95307cae08514118735b0 Mon Sep 17 00:00:00 2001 From: mihainsto <44275480+mihainsto@users.noreply.github.com> Date: Mon, 29 Jun 2020 22:09:16 +0300 Subject: [PATCH] top: add sorting option (#4135) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Zlatan Vasović --- pages/linux/top.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/top.md b/pages/linux/top.md index 52981eb5e6..78fc8943ff 100644 --- a/pages/linux/top.md +++ b/pages/linux/top.md @@ -14,6 +14,10 @@ `top -u {{username}}` +- Sort processes by a field: + +`top -o {{field_name}}` + - Show the individual threads of a given process: `top -Hp {{process_id}}`