Page MenuHomeFreeBSD

Also print number of available CPUs on Linux
ClosedPublic

Authored by arichardson on Aug 13 2020, 2:55 PM.
Tags
None
Referenced Files
F83094965: D26056.id76145.diff
Mon, May 6, 4:42 AM
Unknown Object (File)
Wed, May 1, 9:20 PM
Unknown Object (File)
Tue, Apr 30, 6:54 PM
Unknown Object (File)
Thu, Apr 25, 7:11 PM
Unknown Object (File)
Tue, Apr 23, 10:24 AM
Unknown Object (File)
Thu, Apr 18, 5:13 PM
Unknown Object (File)
Thu, Apr 11, 11:45 PM
Unknown Object (File)
Thu, Apr 11, 7:00 PM
Subscribers

Details

Summary

Without this change the buildworld/buildkernel epilogue looks like this:

World built in 249 seconds, sysctl: cannot stat /proc/sys/hw/ncpu: No such file or directory

ncpu: , make -j72.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32974
Build 30366: arc lint + arc unit

Event Timeline

arichardson created this revision.

Side note but I find the current message to be quite lackluster as it does not include user nor system time.

Is there an easy way to include time-like output instead? If time-prefixed execution is a problem then as a hack this perhaps can run "procstat rusage" on itself before and after.

This revision is now accepted and ready to land.Aug 19 2020, 5:30 PM
This revision was automatically updated to reflect the committed changes.