Giuseppe Scrivano wrote: > Jim Meyering <j...@meyering.net> writes: > >>> Hmm, I could see it being useful to specify NCPUs-1 also. >>> I wonder is there a general external method to determine >>> the number of CPUs. >> >> As far as I know, there is nothing portable. >> Want to add another program to coreutils? >> With what Bruno has just added to gnulib's nproc module, >> we should have most platforms covered. > > What about a new switch to `arch'?
Sorry, no. arch is not installed by default, for portability reasons.