tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Tom Linden <tom () kednos ! com>
To: tru64-unix-managers
Subject: SUMMARY: Model
Date: Wed, 24 Mar 1999 23:40:26 +0000	[thread overview]
Message-ID: <96079038515919.tru64-unix-managers.marc@archive.invalid> (raw)

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.

                 reply	other threads:[~1999-03-24 23:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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