Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* which alpha cpu???
@ 1999-10-27 20:06 wae
  1999-10-27 20:10 ` Michael Wm. Gilbert
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: wae @ 1999-10-27 20:06 UTC (permalink / raw)
  To: axp-list@redhat.com

Is there any type of Redhat/Digital/Compaq command/utility that will
provide info as to which of the alpha processors (type and speed) is
installed in a system? (Short of opening the hood and exploring)


Bill Edmonson


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: which alpha cpu???
  1999-10-27 20:06 which alpha cpu??? wae
@ 1999-10-27 20:10 ` Michael Wm. Gilbert
  1999-10-27 20:11 ` Matti Aarnio
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Michael Wm. Gilbert @ 1999-10-27 20:10 UTC (permalink / raw)
  To: axp-list

> Is there any type of Redhat/Digital/Compaq command/utility that will
> provide info as to which of the alpha processors (type and speed) is
> installed in a system? (Short of opening the hood and exploring)

cat /proc/cpuinfo

MICHAEL Wm. GILBERT  mgilbert@oit.umass.edu
Technology Development and Special Projects
Office of Information Technology (OIT)
University of Massachusetts at Amherst
Voice: 413-545-3124   Fax: 413-545-3203
A115 Lederle Graduate Research Center
UMASS Amherst, MA 01003 USA


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: which alpha cpu???
  1999-10-27 20:06 which alpha cpu??? wae
  1999-10-27 20:10 ` Michael Wm. Gilbert
@ 1999-10-27 20:11 ` Matti Aarnio
  1999-10-27 23:47 ` Uncle George
  1999-10-28  0:33 ` Charles L. Chandler
  3 siblings, 0 replies; 6+ messages in thread
From: Matti Aarnio @ 1999-10-27 20:11 UTC (permalink / raw)
  To: axp-list

On Wed, Oct 27, 1999 at 04:06:51PM -0400, wae@innova.net wrote:
> Is there any type of Redhat/Digital/Compaq command/utility that will
> provide info as to which of the alpha processors (type and speed) is
> installed in a system? (Short of opening the hood and exploring)

$ cat /proc/cpuinfo 
cpu                     : Alpha
cpu model               : EV56
....
cycle frequency [Hz]    : 433212192 
....
BogoMIPS                : 429.91
....

> Bill Edmonson

/Matti Aarnio <matti.aarnio@sonera.fi>


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: which alpha cpu???
  1999-10-27 20:06 which alpha cpu??? wae
  1999-10-27 20:10 ` Michael Wm. Gilbert
  1999-10-27 20:11 ` Matti Aarnio
@ 1999-10-27 23:47 ` Uncle George
  1999-10-28 11:22   ` Gaboli Ivan
  1999-10-28  0:33 ` Charles L. Chandler
  3 siblings, 1 reply; 6+ messages in thread
From: Uncle George @ 1999-10-27 23:47 UTC (permalink / raw)
  To: axp-list

I thought the cpu type was on the startup of the 2.2.x kernel.
On my noname, it shows up on hardware characteristics
i'm not sure where it is on the LX.
BOTH are arc ( NT ) consoles.
gat
wae@innova.net wrote:

> Is there any type of Redhat/Digital/Compaq command/utility that will
> provide info as to which of the alpha processors (type and speed) is
> installed in a system? (Short of opening the hood and exploring)
>
> Bill Edmonson
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: which alpha cpu???
  1999-10-27 20:06 which alpha cpu??? wae
                   ` (2 preceding siblings ...)
  1999-10-27 23:47 ` Uncle George
@ 1999-10-28  0:33 ` Charles L. Chandler
  3 siblings, 0 replies; 6+ messages in thread
From: Charles L. Chandler @ 1999-10-28  0:33 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 124 bytes --]

yep.  compile and run the following program with ccc (the Compaq C Compiler).
I can provide a binary if you need it.
-Chaz


[-- Attachment #2: alpha_implver_amask_features.c --]
[-- Type: text/plain, Size: 1461 bytes --]

/*
//  ALPHA_IMPLVER_AMASK_FEATURES.C V1.1
//  Retrieve the Alpha microprocessor family and features
//
//  Author: Steve Hoffman, Digital Equipment Corporation
//  hoffman@xdelta.enet.dec.com, 3-Feb-1997.
//
//  DEC C V5 and later under OpenVMS.
//  Also operates under DEC C on Digital UNIX.
//
//  See the Alpha Architecture Reference Manual for the current
//  microprocessor family codes, as well as the instruction set
//  extension definition codes.
*/
#include <stdio.h>
#include <c_asm.h>
main()
    {
    int implver = asm("implver %r0;");
    int amask = asm("amask %a0,%r0;", -1 );
    int definedbits = 0;

    printf("Alpha Microprocessor Family:\n");
    /*
    //  The "microprocessor family" includes the named microprocessor,
    //  and various microprocessors (if any) derived from it.
    */
    printf("  DECchip 21%1.1d64 or variant\n", implver );
    printf("  (EV%1.1d microprocessor core)\n", implver + 4 );

    /*
    //  The amask bit is *clear* if the capability is *present*...
    */
    printf("Alpha extensions available:\n");
    if ( !~amask ) printf("  none.\n");
    definedbits |= 1L<<0;
    if ( ~amask & 1L<<0 ) printf("  byte-word, et al.\n");
    definedbits |= 1L<<1;
    if ( ~amask & 1L<<1 ) printf("  square root, et al.\n");
    definedbits |= 1L<<8;
    if ( ~amask & 1L<<8 ) printf("  Audio-video, et al.\n");
    if ( ~amask & ~definedbits ) printf("  Unknown capability bit(s) present.");
    return 1;
    }

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: which alpha cpu???
  1999-10-27 23:47 ` Uncle George
@ 1999-10-28 11:22   ` Gaboli Ivan
  0 siblings, 0 replies; 6+ messages in thread
From: Gaboli Ivan @ 1999-10-28 11:22 UTC (permalink / raw)
  To: axp-list

> 
> > Is there any type of Redhat/Digital/Compaq command/utility that will
> > provide info as to which of the alpha processors (type and speed) is
> > installed in a system? (Short of opening the hood and exploring)
> >
> > Bill Edmonson
> >

Try: cat /proc/cpuinfo 


Regards, Ivan


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-10-28 11:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-27 20:06 which alpha cpu??? wae
1999-10-27 20:10 ` Michael Wm. Gilbert
1999-10-27 20:11 ` Matti Aarnio
1999-10-27 23:47 ` Uncle George
1999-10-28 11:22   ` Gaboli Ivan
1999-10-28  0:33 ` Charles L. Chandler

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