Thanks to all who responded. I should have made it clear that I was
looking for a system call. I include the winning entry
After consulting the man page, I note that using the op GSI_CPU_INFO
this info is also available as an integer, see
struct cpu_info (/usr/include/machine/hal_sysinfo.h)
which is what I imagine lmf uses.
From: alan_at_nabeth.cxo.dec.com
Modern versions of firmware make this information available
to the kernel. The kernel makes it available to the user
via the getsysinfo(2) system call, using the GSI_PLATFORM_NAME
code. I don't know what utilities in the base system take
advantage of this, if any. For older systems/firmware you
have to decode the CPU code number, which you can get using
the GSI_CPU code. The code numbers are in one of the kernel
include files.
Received on Wed Mar 24 1999 - 23:41:13 NZST