Browse Source

top: add sorting option (#4135)

Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>
mihainsto 4 years ago
parent
commit
b697be87f3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/linux/top.md

+ 4 - 0
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}}`