Get Rid of Duplicated Entries/Processes in htop Display

Submitted by kai on Thu, 2009-02-19 00:28. ::

htop is a "top" on steroid Linux utility for interactively viewing processes.

What puzzled me was that some of the process counts seem to be doubled.

I know for a fact that I run two Thin servers(BTW, Thin seems to use less memory than Mongrel). But htop shows 4 processes


3895 root      20   0  187M 95484  3732 S  0.0  9.1  0:55.42 thin server (/tmp/site.1.sock)                                                                               
3899 root      20   0  187M 95484  3732 S  0.0  9.1  0:03.26 thin server (/tmp/site.1.sock)
3891 root      20   0  186M 95016  3732 S  0.0  9.1  0:53.30 thin server (/tmp/site.0.sock)
3898 root      20   0  186M 95016  3732 S  0.0  9.1  0:03.18 thin server (/tmp/site.0.sock)

It turns out that htop shows userland thread by default. I just need to turn it off through F2 --> Display options --> Hide userland threads. I wish this is the default behavior.


3895 root      20   0  187M 95484  3732 S  2.0  9.1  0:54.71 thin server (/tmp/site.0.sock)                                                              
3891 root      20   0  186M 95016  3732 S  1.3  9.1  0:52.59 thin server (/tmp/site.1.sock)

Post new comment



The content of this field is kept private and will not be shown publicly.


*

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • WikiText is converted to HTML (supported WikiText formatting will show in the long tip format).
Verify comment authorship
Captcha Image: you will need to recognize the text in it.
*
Please type in the letters/numbers that are shown in the image above.