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 <a class="zem_slink freebase/en/central_processing_unit" title="Central processing unit" rel="wikipedia" href="http://en.wikipedia.org/wiki/Central_processing_unit">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 <a class="zem_slink freebase/en/manual_page" title="Man page" rel="wikipedia" href="http://en.wikipedia.org/wiki/Man_page">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 🙂<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://almirkaric.com/2010/5/2/bash-builtins/">bash builtins (almirkaric.com) <li class="zemanta-article-ul-li"><a href="http://maketecheasier.com/8-of-the-best-linux-dockapps/2010/02/16">8 Of The Best Linux Dockapps (maketecheasier.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/4d28c581-3211-4b68-b4d4-1afeedaabef3/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b82.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">
Related Articles:
- 2010/03/16 Linux find command – Find file and directories faster and easier
- 2010/01/19 Perl script to create csv files with a pattern – Generic script.
- 2010/05/05 Find out why a program can’t seem to access to a file
- 2010/04/28 String and Array Creation
- 2010/04/11 In (any) vi, add a keystroke to format the current paragraph.