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
F170116111: D26056.diff
Thu, Sep 3, 1:39 PM
F169987689: D26056.id75789.diff
Thu, Sep 3, 4:54 AM
F169980558: D26056.id76145.diff
Thu, Sep 3, 4:21 AM
Unknown Object (File)
Wed, Sep 2, 1:16 AM
Unknown Object (File)
Tue, Sep 1, 1:00 PM
Unknown Object (File)
Tue, Sep 1, 4:34 AM
Unknown Object (File)
Tue, Sep 1, 2:38 AM
Unknown Object (File)
Sun, Aug 30, 11:08 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.