Find the answer to your Linux question:
Results 1 to 3 of 3
With command "top", I can get the current running processes info. The problem is it doesn't give me the information on which core the process is running, in a multi-core ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    10

    Get process ID?

    With command "top", I can get the current running processes info.
    The problem is it doesn't give me the information on which core the process is running, in a multi-core system.

    In Redhat, how to get the PID info of each core?

    Thanks

  2. #2
    Just Joined!
    Join Date
    Aug 2009
    Posts
    9
    In Redhat inside /proc directory, you will find the numbes, these numbers are one one pid and seacrh for the pid that you wish to have. After getting that PID, move to that directory and you will find the entire information regarding that process.

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    10
    Thanks for your reply.

    As far as I know, the thread on each core should be dynamically changing all the time, controlled by scheduler(swapped in/out).
    How can I get that real time information on each core in Redhat?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...