[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] core-count: A new program to count the number of cpu cores
From: |
Giuseppe Scrivano |
Subject: |
Re: [PATCH] core-count: A new program to count the number of cpu cores |
Date: |
Thu, 05 Nov 2009 23:55:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hello,
Erik Auerswald <address@hidden> writes:
> Why have an option for the default operation at all? If --available is
> the same as specifying no option and the only other mode of operation is
> --all, only the --all option should be recognised. There is no need for
> --available.
it is not very common case but it may be useful to override an alias:
$ OMP_NUM_THREADS=1 nproc
1
$ alias nproc="nproc --all"
$ OMP_NUM_THREADS=1 nproc
2
$ OMP_NUM_THREADS=1 nproc --available
1
Beside this one, I don't see other cases.
Cheers,
Giuseppe
- Re: [PATCH] core-count: A new program to count the number of cpu cores, (continued)
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Paolo Bonzini, 2009/11/04
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Pádraig Brady, 2009/11/04
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Giuseppe Scrivano, 2009/11/04
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Pádraig Brady, 2009/11/05
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Giuseppe Scrivano, 2009/11/05
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Pádraig Brady, 2009/11/05
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Giuseppe Scrivano, 2009/11/05
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Pádraig Brady, 2009/11/06
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Jim Meyering, 2009/11/06
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Erik Auerswald, 2009/11/06
- Re: [PATCH] core-count: A new program to count the number of cpu cores,
Giuseppe Scrivano <=
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Bruno Haible, 2009/11/04
- Re: [PATCH] core-count: A new program to count the number of cpu cores, Paolo Bonzini, 2009/11/05
Re: [PATCH] core-count: A new program to count the number of cpu cores, Pádraig Brady, 2009/11/03
Re: [PATCH] core-count: A new program to count the number of cpu cores, Pádraig Brady, 2009/11/03