From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,a1355af8bbbded07 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-27 05:01:48 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!hp4at!Austria.EU.net!EU.net!howland.reston.ans.net!news.moneng.mei.com!hookup!swrinde!elroy.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!nntp-server.caltech.edu!draco.macsch.com!mordor.dev.macsch.com!00807nst From: 00807nst@mordor.dev.macsch.com (Cory Privett) Subject: Re: How to get the hardware/model number Message-ID: <26APR199409365361@mordor.dev.macsch.com> News-Software: VAX/VMS VNEWS 1.41 Sender: usenet@draco.macsch.com (Usenet Poster) Reply-To: c_privett@macsch.com Organization: MacNeal-Schwendler Corporation (MSC), Los Angeles, California References: <13APR199417122583@mordor.dev.macsch.com> <1994Apr19.151119.29486@acri.fr> Date: Tue, 26 Apr 1994 16:36:00 GMT In article <1994Apr19.151119.29486@acri.fr>, jlb@acri.fr writes... >In article 13APR199417122583@mordor.dev.macsch.com, 00807nst@mordor.dev.macsch.com (Cory Privett) writes: >>How do you go about getting the model number under OSF? I would like to >>be able to have a script or a program return the model string. I need >>to know whether my software is on a 3000/500 , 3000/800 or something else. >> >> >>Any help appreciated, Cory Privett >> The MacNeal-Schwendler Corp. > > > Use the '/usr/sbin/sizer -c' command. > >--- >_________________________________________________________________ >Jean-Luc BERNARD Computer Center >Advanced Computer Research Institute Email: jlbernard@acri.fr >1 Boulevard Marius Vivier-Merle Voice: (+33) 72.35.84.03 >69443 LYON CEDEX 03 - FRANCE Fax (+33) 72.35.84.10 > The sizer -c command does not always return the correct value. I have a DEC 3000 model 800 but the sizer command returns DEC3000_500. I will try the getsysinfo(2) as recommended. Cory Privett