9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.6k stars 318 forks source link

Auxstat: Fixed ether, user, sys, and cpu outputs on Linux. #647

Open Jam1972 opened 3 months ago

Jam1972 commented 3 months ago

1) Ether output was not working at all due to expecting regexec() to return 1 (as in plan9) instead of 0 when successful. 2) Cpu/user/sys stats (as seen in the 9 program stats, for example) were often maxed out due to not scaling to number of logical cpu cores.