Gnu top

From wikinotes
Revision as of 14:11, 24 January 2021 by Will (talk | contribs) (→‎Interactive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Gnu variant of top command that displays live system resource usage.
See also bsd top.

Locations

~/.config/procps/toprc config

Usage

Commandline

Interactive

f    # configure sort/filters
  d  # toggle display
  s  # sort by this column
x    # colourize sort-column

L    # search for string
  &  # next-match

V    # toggle process-tree (sorts alphabetically by name)

W    # saves current top config

z    # enable colours
m    # toggle mem stats/bars
t    # toggle cpu stats/bars
1    # show indv. cpus

Columns

Some key columns, and their descriptions.

VIRT  # (kb) process's heap-size (reserved, and/or actively used) (important!)
USED  # (kb) actual used memory (ram/swap)
RES   # (kb) memory used (ram)
SWAP  # (kb) memory used (swap)