cpu:0 DISABLED - (message on librebooted MacBook2,1

4 respostas [Última entrada]
GNUbahn
Desconectado
Joined: 02/19/2016

On my librebooted MacBook2,1 I ran sudo lshw and got this:

*-cpu:0 DISABLED
description: CPU [empty]
product: Pentium Pro
vendor: GenuineIntel
physical id: 4
version: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
configuration: cores=2
*-memory
description: System memory
physical id: 1
size: 3196MiB
*-cpu:1
product: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
vendor: Intel Corp.
physical id: 2
bus info: cpu@0
size: 2GHz
capacity: 2GHz
width: 64 bits

Is this as it should be, or am I having a disabled cpu?

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

The following command returns the number of processors which are currently online (i.e., available):
$ getconf _NPROCESSORS_ONLN
https://www.gnu.org/software/libc/manual/html_node/Processor-Resources.html

GNUbahn
Desconectado
Joined: 02/19/2016

Thanks. I wonder what that message meant then?

By the way, the command you gave me is slightly different from the one in text you linked to. Is there a good reason/explanation for that?

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

'sysconf' is a function in the GNU C Library. You cannot call directly it from the terminal. 'getconf' is a command that calls 'sysconf'.

SuperTramp83

I am a translator!

Desconectado
Joined: 10/31/2014

'lscpu' shall also display the info for you