Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Bernard BARBIER <bernard.barbier@creatis.insa-lyon.fr>
To: danny <danny@telaviv.ndsoft.com>
Subject: Re: HELP : How to obtain machine info
Date: 1998/09/21	[thread overview]
Message-ID: <36060FDF.59E2@creatis.insa-lyon.fr> (raw)
In-Reply-To: 3604BAEF.EE2D974D@telaviv.ndsoft.com

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 be
> 
> 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 <sys/systeminfo.h>

  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és,
 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ébecois)



  reply	other threads:[~1998-09-21  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-20  4:00 HELP : How to obtain machine info danny
1998-09-21  4:00 ` Bernard BARBIER [this message]
1998-09-25  4:00 ` Bruce Hines
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox