From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,76e99dd11ce71f7 X-Google-Attributes: gidfee84,public From: koehler@bessta.gsfc.nasa.aspm.gov (Bob Koehler) Subject: Re: Programmatically determine system/hardware? Date: 1998/04/21 Message-ID: <6hiaiv$1ah@post.gsfc.nasa.gov>#1/1 X-Deja-AN: 346314130 Distribution: world References: <6h55mg$3s7@morticia.cc.gatech.edu> Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA Keywords: Digital UNIX, hardware, etc. Reply-To: koehler@bessta.gsfc.nasa.aspm.gov Newsgroups: comp.unix.osf.osf1 In article <6h55mg$3s7@morticia.cc.gatech.edu>, rdk@cc.gatech.edu (Bobby Krupczak) writes: >Hi! > >Im trying to port an application to Digital UNIX which reports on the >system's underlying hardware. Does anyone know, for example, how to >programmatically determine what the system/model-name is? That is, >I'd like to be able to report that the underlying system is a "433au". > >Any pointers would be helpful. > man 2 uname Should be part of the portable POSIX standard, so it should work on almost any UNIX. ------------------------------------------------------------------------------ Bob Koehler | Computer Sciences Corporation Hubble Space Telescope Payload | System Sciences Division Flight Software Team | please remove ".aspm" when replying