From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,49a25f7e78187747 X-Google-Attributes: gidf678f,public From: Kjell Andresen Subject: Re: Getting hardware info from ksh Date: 1998/12/20 Message-ID: #1/1 X-Deja-AN: 424160268 Sender: kjell@aqualene.uio.no References: Organization: University of Oslo, Norway Newsgroups: comp.unix.osf.misc Ian Parker 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