PPC64_CPU(8)

NAME
ppc64_cpu - Display cpu characteristics of PowerPC systems

SYNOPSIS
/usr/sbin/ppc64_cpu [ command ] [ options ]

DESCRIPTION
The ppc64_cpu command is used to display and set cpu characteristics on PowerPC platforms.

OPTIONS

--smt [-n]
    Display the current smt setting for the system. The output will state whether smt is off indicating there is only one thread per core online, smt is on indicating that all threads of every core is online, the smt is in a mixed state indicating that the number of threads online varies per core, or SMT=X indicating a specific smt state. Option -n dumps a numeric output instead of a verbose output.

--smt={on|off}
    Set the current smt state for the system to either on, which will online every thread in every core on the system, or off which will leave each core on the system with only one thread online.

--smt=value
    Set the smt state for each core to the specified value.

--cores-present
    Display the number of cores present.

--cores-on
    Display the number of cores online.

--cores-on=value
    Put exactly value number of cores online. Note that this will either online or offline cores to achieve the desired result.

--dscr
    Display the current Data Stream Control Register (DSCR) setting for the system.

--dscr=value
    Set the DSCR setting for the system to value.

--dscr [pid]
    Display the DSCR setting for process pid.

--dscr=value [pid]
    Set the DSCR to the specified value for process pid.

--run-mode
    Display the current diagnostics run mode.

--run-mode=value
    Set the current diagnostics run mode to value.

--frequency [-t time]
    Determine the cpu frequency. The default sampling period is one second unless a time is specified with the -t time option.

--subcores-per-core
    Display the number of subcores per core.

--subcores-per-core=value
    Set the number of subcores per core to value.

--threads-per-core
    Display the number of threads per core.

--info
    Display system state information. The output will print a line for each core and possible sub-core along with the thread numbers for each thread in the core with an asterick next to it if the thread is online.

--version
    Print the version number.

AUTHOR
Written by Anton Blanchard and Nathan Fontenot