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: Ian Parker Subject: Re: Getting hardware info from ksh Date: 1998/12/23 Message-ID: #1/1 X-Deja-AN: 425111714 X-NNTP-Posting-Host: hiredata.demon.co.uk:158.152.30.146 References: X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 914400702 nnrp-04:22758 NO-IDENT hiredata.demon.co.uk:158.152.30.146 Organization: Hiredata MIME-Version: 1.0 Reply-To: Ian Parker Newsgroups: comp.unix.osf.misc In article , Kjell Andresen writes >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 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