osf1 man page for cpu

Query: cpu

OS: osf1

Section: 9v

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

cpu(9v) 																   cpu(9v)

NAME
cpu - Global Variable: Provides a unique logical processor-type family identifier
SYNOPSIS
extern int cpu;
DESCRIPTION
The cpu global variable provides a unique logical family identifier of the processor type of the running system. The logical system name can represent a single processor or a family of processor types. For example, the constant DEC_3000_500 represents the DEC 3000 Model 500 Alpha Workstation. The defined processor names appear in the following file: /usr/sys/include/arch/alpha/hal/cpuconf.h. You use the cpu global variable to conditionally execute processor-specific code. For example, the following code fragment calls a system- specific initialization interface for the DEC 3000 Model 500 Alpha Workstation: . . . if (cpu == DEC_3000_500) { init_3000_500(); } . . . cpu(9v)
Related Man Pages
pset_assign(2) - opensolaris
pset_assign(2) - sunos
pset_create(2) - sunos
pset_destroy(2) - minix
pset_create(2) - php
Similar Topics in the Unix Linux Community
Is there a way to make bash [or another shell] use all CPU cores to execute a single script?
Failed to recover root password in Solaris 10 on Sparc CPU Sun Ultra10
V240 no OBP or console available
CPU performance
Help with Shell script that monitors CPU Usage