Jim Meyering <j...@meyering.net> writes: > 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.
If nobody is already working on it, I can start doing it. What about the name? "ncores" or "ncpus" are fine? Cheers, Giuseppe