title: How do I measure separate CPU core usage for a process?
body: <p>Is there any way to measure a specific process CPU usage by cores?</p>
  
  <p>I know <a href="http://en.wikipedia.org/wiki/Top_%28software%29" rel="noreferrer">top</a> is good for measuring the whole system's CPU usage by cores and <a href="http://linux.die.net/man/1/taskset" rel="noreferrer">taskset</a> can provide information about which CPU core is allowed for the process to run on.</p>
  
  <p>But how do I measure a specific process' CPU usage by CPU cores?</p>