PSRINFO(1) User Commands PSRINFO(1)

psrinfo - displays information about processors

psrinfo [ -v ] [ processor_id ... ]

psrinfo -s processor_id

psrinfo -n

The psrinfo command displays processor information.

If no processor_id is given, all processors are assumed. processor_id can be a single number, or a range, as in 0-3 to select the first four processors.

The psrinfo command accepts the following options:

Displays the number of processors.
Silent operation. Exactly one processor_id is processed, and it must be a single number. The exit status is zero if the processor is present, non-zero otherwise.
Verbose operation. Displays processor type, clock speed, and availability of a floating point unit.

/proc/cpuinfo
Used to determine the clock speeds.
/proc/stat
Used to determine the number of processors and the on-line times.

uname(1), uname(2), proc(5)

4/17/03 Heirloom Toolchest