GRMON3-UM
June 2019, Version 3.1.0
103 www.cobham.com/gaisler
13. cpu - syntax
cpu - Enable, disable CPU or select current active CPU
SYNOPSIS
cpu
cpu enable cpuid
cpu enable cpuid
cpu active cpuid
DESCRIPTION
Control processors in LEON3 multi-processor (MP) systems.
cpu
Without parameters, the cpu command prints the processor status.
cpu enable cpuid
cpu disable cpuid
Enable/disable the specified CPU.
cpu active cpuid
Set current active CPU
RETURN VALUE
Upon successful completion cpu returns the active CPU and a list of booleans, one per CPU, describing if they
are enabled or disabled.
The sub commands has no return value.
EXAMPLE
Set current active to CPU 1
grmon3> cpu active 1
Print processor status in a two-processor system when CPU 1 is active and disabled.
grmon3> cpu
TCL returns:
1 {1 0}
SEE ALSO
Section 3.4.12, “Multi-processor support”