Gnu top: Difference between revisions
From wikinotes
No edit summary |
|||
Line 52: | Line 52: | ||
</source> | </source> | ||
</blockquote><!-- columns --> | </blockquote><!-- columns --> | ||
= Config = | |||
<blockquote> | |||
<syntaxhighlight lang="ini"> | |||
top's Config File (Linux processes with windows) | |||
Id:i, Mode_altscr=0, Mode_irixps=1, Delay_time=3.0, Curwin=1 | |||
Def fieldscur=ķ&')*+,-./012568<>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij | |||
winflags=195892, sortindx=18, maxtasks=0, graph_cpus=1, graph_mems=1 | |||
summclr=1, msgsclr=1, headclr=3, taskclr=254 | |||
Job fieldscur=(Ļ@<)*+,-./012568>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij | |||
winflags=163636, sortindx=18, maxtasks=0, graph_cpus=1, graph_mems=1 | |||
summclr=6, msgsclr=6, headclr=7, taskclr=4 | |||
Mem fieldscur=<MBND34&'()*+,-./0125689FGHIJKLOPQRSTUVWXYZ[\]^_`abcdefghij | |||
winflags=195892, sortindx=21, maxtasks=0, graph_cpus=0, graph_mems=0 | |||
summclr=5, msgsclr=5, headclr=4, taskclr=10 | |||
Usr fieldscur=)+,-./1234568;<=>?@ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij | |||
winflags=195892, sortindx=3, maxtasks=0, graph_cpus=0, graph_mems=0 | |||
summclr=3, msgsclr=3, headclr=2, taskclr=6 | |||
Fixed_widest=0, Summ_mscale=1, Task_mscale=0, Zero_suppress=0 | |||
</syntaxhighlight> | |||
</blockquote><!-- Config --> |
Latest revision as of 05:55, 27 August 2022
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)
Config
top's Config File (Linux processes with windows) Id:i, Mode_altscr=0, Mode_irixps=1, Delay_time=3.0, Curwin=1 Def fieldscur=ķ&')*+,-./012568<>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij winflags=195892, sortindx=18, maxtasks=0, graph_cpus=1, graph_mems=1 summclr=1, msgsclr=1, headclr=3, taskclr=254 Job fieldscur=(Ļ@<)*+,-./012568>?ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij winflags=163636, sortindx=18, maxtasks=0, graph_cpus=1, graph_mems=1 summclr=6, msgsclr=6, headclr=7, taskclr=4 Mem fieldscur=<MBND34&'()*+,-./0125689FGHIJKLOPQRSTUVWXYZ[\]^_`abcdefghij winflags=195892, sortindx=21, maxtasks=0, graph_cpus=0, graph_mems=0 summclr=5, msgsclr=5, headclr=4, taskclr=10 Usr fieldscur=)+,-./1234568;<=>?@ABCFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghij winflags=195892, sortindx=3, maxtasks=0, graph_cpus=0, graph_mems=0 summclr=3, msgsclr=3, headclr=2, taskclr=6 Fixed_widest=0, Summ_mscale=1, Task_mscale=0, Zero_suppress=0