help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read the number of cpus on Linux


From: Jordi Gutiérrez Hermoso
Subject: Re: Read the number of cpus on Linux
Date: Tue, 20 Jul 2010 12:16:15 -0500

On 20 July 2010 03:37, Francesco Potortì <address@hidden> wrote:
> When using parcellfun, I want to know the number of processors
> beforehand.
>
> This is the simplest way I have come up with on Linux:

If you have GNU coreutils 8.1 or later, you can do

     [err,numprocs] = system("nproc")

Does coreutils also get installed on those Windows distributions of Octave?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]