Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've created the personal config file for top and I would like to change the update rate (the rate at which top updates data about the current processes). How do I do that?

share|improve this question
up vote 2 down vote accepted

Your personal config file will probably be stored in your home directory and called .toprc (in the Nautilus file browser, you can press Ctrl+H or click View > Show Hidden Files to show files that start with .). Assuming you have created it in the usual way (by pressing Shift+W while top is running), its contents will look something like this:

RCfile for "top with windows"       # shameless braggin'
Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=0
Def    fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX
       winflags=62777, sortindx=10, maxtasks=0
       summclr=1, msgsclr=1, headclr=3, taskclr=1
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

On the second line change the number (of seconds) in Delay_time=3.000 to whatever you want it to be. For example, for very fast updating (which you should be aware will make top itself take up considerably more system resources), you could change it to Delay_time=0.250. Then top would update four times per second.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.