command for listing cores using threads

Discussion in 'General Linux' started by otto33, Feb 9, 2012.

  1. otto33

    otto33 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    hi all,
    How can i know which core use which thread? Is there and command for linux?

  2. carbon333

    carbon333 New Member

    Messages:
    87
    Likes Received:
    4
    Trophy Points:
    0
    Yes, htop has this (and many more) options. With htop there's not reason to use top anymore.
  3. otto33

    otto33 New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    thanks carbon333 but it is not working, are u sure 'htop'?
    > htop: command not found
  4. carbon333

    carbon333 New Member

    Messages:
    87
    Likes Received:
    4
    Trophy Points:
    0
    Of course. But you need to install it first. In ubuntu:

    apt-get install htop

Share This Page