This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
top [2012/03/21 10:59] k2patel [Columns] |
top [2020/08/10 02:35] (current) |
||
---|---|---|---|
Line 12: | Line 12: | ||
id = idle | id = idle | ||
hi = hardware interrupts | hi = hardware interrupts | ||
- | si = software interrupts | + | si = software interrupts |
+ | st = steal time (time in involuntary wait by virtual cpu while hypervisor is servicing another processor) | ||
</code> | </code> | ||
Line 121: | Line 122: | ||
Less formal documentation can also be found on the 'Fields select' and 'Order fields' screens. | Less formal documentation can also be found on the 'Fields select' and 'Order fields' screens. | ||
</code> | </code> | ||
+ | |||
+ | |||
+ | ==== .toprc ==== | ||
+ | .toprc is the file you do not need to play with it all the time.\\ | ||
+ | Here is my .toprc file.\\ | ||
+ | |||
+ | |||
+ | <code bash | ~/.toprc> | ||
+ | |||
+ | RCfile for "top with windows" # shameless braggin' | ||
+ | Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0 | ||
+ | Def fieldscur=OQNTKPMehaiWbcdfgJlrsuvyzX | ||
+ | winflags=130489, sortindx=13, maxtasks=0 | ||
+ | summclr=6, msgsclr=1, headclr=3, taskclr=2 | ||
+ | Job fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX | ||
+ | winflags=64825, sortindx=0, maxtasks=0 | ||
+ | summclr=6, msgsclr=6, headclr=7, taskclr=6 | ||
+ | Mem fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX | ||
+ | winflags=64825, sortindx=13, maxtasks=0 | ||
+ | summclr=5, msgsclr=5, headclr=4, taskclr=5 | ||
+ | Usr fieldscur=ABDECGfhijlopqrstuvyzMKNWX | ||
+ | winflags=64825, sortindx=4, maxtasks=0 | ||
+ | summclr=3, msgsclr=3, headclr=2, taskclr=3 | ||
+ | |||
+ | </code> | ||
+ | |||
+ | |||
+ | Playing with color is not advised from interface as it was hard for me :) still you can try using "Z"\\ | ||
+ | Here is how i played. | ||
+ | |||
+ | <code text> | ||
+ | |||
+ | Select target as upper case letter: | ||
+ | S = Summary Data, M = Messages/Prompts, | ||
+ | H = Column Heads, T = Task Information | ||
+ | Select color as number: | ||
+ | 0 = black, 1 = red, 2 = green, 3 = yellow, | ||
+ | 4 = blue, 5 = magenta, 6 = cyan, 7 = white | ||
+ | |||
+ | </code> | ||
+ | |||
+ | **Curwin=0** Which define which block you are using start the first one as "0". | ||
+ | |||
+ | **summclr=6, msgsclr=1, headclr=3, taskclr=2** this is the value you can play with with above list of colors. |