From: Ian Parker <parker@hiredata.demon.co.uk>
Subject: Re: Getting hardware info from ksh
Date: 1998/12/23 [thread overview]
Message-ID: <zj0XvAAZVKg2Ewle@hiredata.demon.co.uk> (raw)
In-Reply-To: u8nhfur18ek.fsf@aqualene.uio.no
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
prev parent reply other threads:[~1998-12-23 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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