Print Download PDF Send Feedback

Previous

Next

fwboot cpuid

Description

Shows the number of available CPUs and CPU cores on this Security Gateway.

Syntax

[Expert@HostName:0]# $FWDIR/boot/fwboot cpuid

{-h | -help | --help}

-c

--full

ht_aware

-n

--possible

Parameters

Parameter

Description

No Parameters

Shows the IDs of the available CPU cores on this Security Gateway.

Example:

[Expert@MyGW:0]# $FWDIR/boot/fwboot cpuid

3 2 1 0

[Expert@MyGW:0]#

-c

Counts the number of available CPU cores on this Security Gateway.

The command stores the returned number as its exit code.

Example:

[Expert@MyGW:0]# $FWDIR/boot/fwboot cpuid -c

[Expert@MyGW:0]# echo $?

4

[Expert@MyGW:0]#

--full

Shows a full map of the available CPUs and CPU cores on this Security Gateway.

Example:

[Expert@MyGW:0]# $FWDIR/boot/fwboot cpuid --full

cpuid phys_id core_id thread_id

0 0 0 0

1 2 0 0

2 4 0 0

3 6 0 0

[Expert@MyGW:0]#

ht_aware

Shows the CPU cores in the order of their awareness of Hyper-Threading.

Example:

[Expert@MyGW:0]# $FWDIR/boot/fwboot cpuid ht_aware

3 2 1 0

[Expert@MyGW:0]#

-n

Counts the number of available CPUs on this Security Gateway.

The command stores the returned number as its exit code.

Example:

[Expert@MyGW:0]# $FWDIR/boot/fwboot cpuid -n

[Expert@MyGW:0]# echo $?

4

[Expert@MyGW:0]#

--possible

Counts the number of possible CPU cores.

The command stores the returned number as its exit code.

Example:

[Expert@MyGW:0]# $FWDIR/boot/fwboot cpuid --possible

[Expert@MyGW:0]# echo $?

4

[Expert@MyGW:0]#