From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,d45d71e52a61a16b X-Google-Attributes: gidfee84,public From: Bernard BARBIER Subject: Re: HELP : How to obtain machine info Date: 1998/09/21 Message-ID: <36060FDF.59E2@creatis.insa-lyon.fr>#1/1 X-Deja-AN: 393222630 Content-Transfer-Encoding: quoted-printable References: <3604BAEF.EE2D974D@telaviv.ndsoft.com> To: danny Content-Type: text/plain; charset=iso-8859-1 Organization: CNRS UMR 5515 Lyon, FRANCE Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 danny wrote: > = > Hi all, > = > I'm looking for an API that I can use in a C program that will give me > hardware information for OSF1 machines. > = > I need information regarding the following: > 1.Machine Vendor > 2.Operating System > 3.Number of CPUs > 4.Installation Time zone > 5.Installation Day light saving indication > 6.Machine Model name, and number > 7.Total amount of memory > = > Any information about how to obtain this from within a C program will b= e > = > very helpful. > = > Thanks ! > = > Please send your answers to: > danny@telaviv.ndsoft.com $ man -k sysinfo getsysinfo (2) - Gets system information setsysinfo (2) - Sets system information sysinfo (2) - manages system information strings $ man sysinfo sysinfo(2) NAME sysinfo - manages system information strings SYNOPSIS #include long sysinfo ( int command, char *buf, long count ); PARAMETERS command Specifies the commands that manage the system information strings. They are described in the Available Commands section. = -- = Amiti=E9s, Bernard. -- Bernard BARBIER - CREATIS (CNRS-UMR 5515/INSA/UCB/INSERM) System-manager / Postmaster. Phone : +33 472 438 973 URL : http://www.creatis.insa-lyon.fr -- Tous les cornichons ne sont pas en pot ! (Proverbe Qu=E9becois)