ps not showing CPU# correctly

Nikola Knežević laladelausanne at gmail.com
Fri Dec 26 11:21:00 PST 2008


Hi,

on my system, I noticed that ps(1) is not showing the CPU# correctly  
(it always displays 0). There was a bug in it, and it was fetching  
ki_estcpu instead of ki_lastcpu.

The attached patch fixes this issue.

Cheers,
Nikola

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ps.patch
Type: application/octet-stream
Size: 571 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20081226/f1cbc0e6/ps.obj
-------------- next part --------------



More information about the freebsd-hackers mailing list