top – looks better and is more useful with a rc file…

top is a very useful command to find out who is eating up the CPU or the memory. But sometimes the plain and simple look simply would be boring so how about some fun. Copy the below code to file : ~/.toprc

RCfile for \”top\”
Id:a, Mode_altscr=1, Mode_irixps=0, Delay_time=5.000, Curwin=0
Def    fieldscur=mfcAbdEgHIursOpQTvyzWjKNLX
winflags=32184, sortindx=10, maxtasks=0
summclr=4, msgsclr=5, headclr=5, taskclr=4
Job    fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
winflags=62777, sortindx=0, maxtasks=0
summclr=6, msgsclr=6, headclr=7, taskclr=6
Mem    fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
winflags=62777, sortindx=13, maxtasks=0
summclr=5, msgsclr=5, headclr=4, taskclr=5
Usr    fieldscur=ABDECGfhijlopqrstuvyzMKNWX
winflags=62777, sortindx=4, maxtasks=0
summclr=3, msgsclr=3, headclr=2, taskclr=3

See the changes in the top window.

You can learn about these in the man page for top. But you actually don\’t need to :).

If you want to make changes, simply press \”Z\” or \”h\” for help.

Once you press \’Z\’ you will be able to make changes from within the top command and then you can write the toprc with your changes with \’w\’. Simple 🙂

\"Reblog

4 thoughts on “top – looks better and is more useful with a rc file…”