How to NOT show kernel threads in 'top' - Ubuntu

This is a discussion on How to NOT show kernel threads in 'top' - Ubuntu ; I think that 'top' is a very useful command, but there is one thing in it that I do not want to see, which is "kernel threads", e.g.: 2 root 12 -5 0 0 0 S 0 0.0 0:00.00 [kthreadd] ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: How to NOT show kernel threads in 'top'

  1. How to NOT show kernel threads in 'top'

    I think that 'top' is a very useful command, but there is one thing in
    it that I do not want to see, which is "kernel threads", e.g.:

    2 root 12 -5 0 0 0 S 0 0.0 0:00.00 [kthreadd]
    3 root RT -5 0 0 0 S 0 0.0 0:00.05 [migration/0]
    4 root 34 19 0 0 0 S 0 0.0 0:00.01 [ksoftirqd/0]
    5 root RT -5 0 0 0 S 0 0.0 0:00.00 [watchdog/0]
    6 root RT -5 0 0 0 S 0 0.0 0:00.27 [migration/1]
    7 root 34 19 0 0 0 S 0 0.0 0:00.01 [ksoftirqd/1]
    8 root RT -5 0 0 0 S 0 0.0 0:00.00 [watchdog/1]
    9 root RT -5 0 0 0 S 0 0.0 0:00.03 [migration/2]
    10 root 34 19 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/2]
    11 root RT -5 0 0 0 S 0 0.0 0:00.00 [watchdog/2]
    12 root RT -5 0 0 0 S 0 0.0 0:00.21 [migration/3]

    I could not find out if I can disable them, any idea?
    --
    Due to extreme spam originating from Google Groups, and their inattention
    to spammers, I and many others block all articles originating
    from Google Groups. If you want your postings to be seen by
    more readers you will need to find a different means of
    posting on Usenet.
    http://improve-usenet.org/

  2. Re: How to NOT show kernel threads in 'top'

    Ignoramus19502 wrote:

    > I think that 'top' is a very useful command, but there is one thing in
    > it that I do not want to see, which is "kernel threads", e.g.:
    >
    > 2 root 12 -5 0 0 0 S 0 0.0 0:00.00 [kthreadd]
    > 3 root RT -5 0 0 0 S 0 0.0 0:00.05 [migration/0]
    > 4 root 34 19 0 0 0 S 0 0.0 0:00.01 [ksoftirqd/0]
    > 5 root RT -5 0 0 0 S 0 0.0 0:00.00 [watchdog/0]
    > 6 root RT -5 0 0 0 S 0 0.0 0:00.27 [migration/1]
    > 7 root 34 19 0 0 0 S 0 0.0 0:00.01 [ksoftirqd/1]
    > 8 root RT -5 0 0 0 S 0 0.0 0:00.00 [watchdog/1]
    > 9 root RT -5 0 0 0 S 0 0.0 0:00.03 [migration/2]
    > 10 root 34 19 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/2]
    > 11 root RT -5 0 0 0 S 0 0.0 0:00.00 [watchdog/2]
    > 12 root RT -5 0 0 0 S 0 0.0 0:00.21 [migration/3]
    >
    > I could not find out if I can disable them, any idea?


    You can't.

    Florian
    --

    -----------------------------------------------------------------------
    ** Hi! I'm a signature virus! Copy me into your signature, please! **
    -----------------------------------------------------------------------

  3. Re: How to NOT show kernel threads in 'top'

    * Florian Diesch wrote in alt.os.linux.ubuntu:
    > Ignoramus19502 wrote:


    >> I think that 'top' is a very useful command, but there is one thing in
    >> it that I do not want to see, which is "kernel threads", e.g.:


    >> 2 root 12 -5 0 0 0 S 0 0.0 0:00.00 [kthreadd]
    >> 3 root RT -5 0 0 0 S 0 0.0 0:00.05 [migration/0]
    >> 4 root 34 19 0 0 0 S 0 0.0 0:00.01 [ksoftirqd/0]
    >> 5 root RT -5 0 0 0 S 0 0.0 0:00.00 [watchdog/0]
    >> 6 root RT -5 0 0 0 S 0 0.0 0:00.27 [migration/1]
    >> 7 root 34 19 0 0 0 S 0 0.0 0:00.01 [ksoftirqd/1]
    >> 8 root RT -5 0 0 0 S 0 0.0 0:00.00 [watchdog/1]
    >> 9 root RT -5 0 0 0 S 0 0.0 0:00.03 [migration/2]
    >> 10 root 34 19 0 0 0 S 0 0.0 0:00.00 [ksoftirqd/2]
    >> 11 root RT -5 0 0 0 S 0 0.0 0:00.00 [watchdog/2]
    >> 12 root RT -5 0 0 0 S 0 0.0 0:00.21 [migration/3]


    >> I could not find out if I can disable them, any idea?


    > You can't.


    Then use htop.

    --
    David
    Paralysis through analysis.

+ Reply to Thread