Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Getting hardware info from ksh
@ 1998-12-20  5:00 Ian Parker
  1998-12-20  5:00 ` Kjell Andresen
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Parker @ 1998-12-20  5:00 UTC (permalink / raw)


Hello

For various reasons (primarily a dismal lack of knowledge) I used to
parse the /var/tmp/messages file or use uerf to identify the hardware
platform, e.g. Alphaserva 4100, etc. This worked under Digital UNIX 3.2
and 3.0.

However, under Digital UNIX 4.0, this information is no longer stored in
these locations.  

Can any recommend a simple way to obtain the hardware platform, e.g.
type of Alpha system, from a script?

Regards

Ian
 Ian Parker                          parker@hiredata.demon.co.uk
 
 



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

* Re: Getting hardware info from ksh
  1998-12-20  5:00 Getting hardware info from ksh Ian Parker
@ 1998-12-20  5:00 ` Kjell Andresen
  1998-12-23  5:00   ` Ian Parker
  0 siblings, 1 reply; 3+ messages in thread
From: Kjell Andresen @ 1998-12-20  5:00 UTC (permalink / raw)


Ian Parker <parker@hiredata.demon.co.uk> writes:

> For various reasons (primarily a dismal lack of knowledge) I used to
> parse the /var/tmp/messages file or use uerf to identify the hardware
> platform, e.g. Alphaserva 4100, etc. This worked under Digital UNIX 3.2
> and 3.0.
> 
> However, under Digital UNIX 4.0, this information is no longer stored in
> these locations.  

Shouldn't be a lot to change to fix this..

> Can any recommend a simple way to obtain the hardware platform, e.g.
> type of Alpha system, from a script?

man sizer

halfdan ~$ ksh
$ for i in c gr gt p v wc wk wp wt wu; do sizer -$i; done
cpu             "DEC2100_A50"
1280x1024
p00041011
1
Digital UNIX V4.0D  (Rev. 878); Mon Apr 27 08:13:10 MET DST 1998
0
PCXAL
PCXAS
17
1

Kjell



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

* Re: Getting hardware info from ksh
  1998-12-20  5:00 ` Kjell Andresen
@ 1998-12-23  5:00   ` Ian Parker
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Parker @ 1998-12-23  5:00 UTC (permalink / raw)


In article <u8nhfur18ek.fsf@aqualene.uio.no>, Kjell Andresen
<kjell@aqualene.uio.no> writes
>Ian Parker <parker@hiredata.demon.co.uk> writes:
>
>> For various reasons (primarily a dismal lack of knowledge) I used to
>> parse the /var/tmp/messages file or use uerf to identify the hardware
>> platform, e.g. Alphaserva 4100, etc. This worked under Digital UNIX 3.2
>> and 3.0.
>> 
>> However, under Digital UNIX 4.0, this information is no longer stored in
>> these locations.  
>
>Shouldn't be a lot to change to fix this..
>
>> Can any recommend a simple way to obtain the hardware platform, e.g.
>> type of Alpha system, from a script?
>
>man sizer
>
>halfdan ~$ ksh
>$ for i in c gr gt p v wc wk wp wt wu; do sizer -$i; done
>cpu             "DEC2100_A50"
>1280x1024
>p00041011
>1
>Digital UNIX V4.0D  (Rev. 878); Mon Apr 27 08:13:10 MET DST 1998
>0
>PCXAL
>PCXAS
>17
>1
>
>Kjell

Kjell

Well thanks, the example and the command are just what I need.   I
really should attempt to read man pages.   

Regards

Ian
 Ian Parker                          parker@hiredata.demon.co.uk




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

end of thread, other threads:[~1998-12-23  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-20  5:00 Getting hardware info from ksh Ian Parker
1998-12-20  5:00 ` Kjell Andresen
1998-12-23  5:00   ` Ian Parker

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