16

I'd like to stop refreshing the list of processes. My problem is it refreshes itself too often.

How can I do it? I use htop.

12

Most easy way is suspending the terminal with CTRLS, and unfreezing with CTRLQ while htop or any other flowing display is running. (Thanks to Keith for this reminder of easy tip)

Also, you can change refresh interval with putting -d key before running the htop for example:

# htop -d 100

The number 100 indicates the delay between updates, in tenths of seconds. You can change the refresh interval as you like. But there is no pausing support for now.

Alternatively, you can use screen capture tools for freezing the moment in graphical interface if you are on any desktop environment. In the short hand you can press PrtScr key at any time. Or you can install and use any kind of screenshot or screen recorder applications.

  • Thank you. What if I set too many seconds and after I want refresh - exists any options how do it? – user1871996 Feb 8 '16 at 14:14
  • I have no idea if there is an option exist. But if you use top instead of htop you can change refresh interval inside the app by typing d key. – Sencer H. Feb 9 '16 at 8:28
  • 1
    My man says: -d --delay=DELAY Delay between updates, in tenths of seconds – cubuspl42 May 1 '16 at 14:51
  • 4
    I'm surprised nobody said just press CTRL-S – Keith Mar 9 '18 at 12:11
  • I hate CTRL-S(uspend) short cut. It freezing terminal when I push that combination accidentally. I hate it so much, that's why I never remember existence of that :D Thank you for your reminder. – Sencer H. Sep 14 '18 at 7:25
7

As Keith said:

CtrlS Freezes the terminal (you cannot interact with htop afterwards)

... and:

CtrlQ Unfreezes the terminal again.

  • This works and something I always forget about until I am in VIM and try to use the IDE save shortcuts ;) – Tyler Christian Aug 17 '18 at 14:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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