Giuseppe Scrivano wrote: > 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?
Here are some longer candidates: count-cores count-cpus cpu-count core-count