tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Model
@ 1999-03-24 23:40 Tom Linden
  0 siblings, 0 replies; only message in thread
From: Tom Linden @ 1999-03-24 23:40 UTC (permalink / raw)
  To: tru64-unix-managers

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@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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-24 23:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-24 23:40 SUMMARY: Model Tom Linden

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox