Top -l returning always 0.0 CPU usage when requesting single PID

1

On Mac OS X 10.9 (Mavericks) & 10.10 Yosemite Iā€™m unable to get the correct CPU usage for a single process using the top -l command for example

top -l 1 -ncols 3 -pid <pid>

Even though I found a workaround using the ps command I was still wondering why it always returns ā€œ0.0ā€?

Roy

Posted 2015-01-21T14:49:49.630

Reputation: 113

No answers