* Programmatically determine system/hardware?
@ 1998-04-16 4:00 Bobby Krupczak
1998-04-16 4:00 ` Dirk Grunwald
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Bobby Krupczak @ 1998-04-16 4:00 UTC (permalink / raw)
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.
Thanks,
Bobby
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Programmatically determine system/hardware?
1998-04-16 4:00 Programmatically determine system/hardware? Bobby Krupczak
@ 1998-04-16 4:00 ` Dirk Grunwald
1998-04-16 4:00 ` Kjell Andresen
1998-04-21 4:00 ` Bob Koehler
2 siblings, 0 replies; 4+ messages in thread
From: Dirk Grunwald @ 1998-04-16 4:00 UTC (permalink / raw)
See getsysinfo. E.g.
err = getsysinfo(GSI_PLATFORM_NAME, ret_string, ret_size-1);
--
Dirk Grunwald Assoc. Prof, Univ. of Colorado at Boulder
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Programmatically determine system/hardware?
1998-04-16 4:00 Programmatically determine system/hardware? Bobby Krupczak
1998-04-16 4:00 ` Dirk Grunwald
@ 1998-04-16 4:00 ` Kjell Andresen
1998-04-21 4:00 ` Bob Koehler
2 siblings, 0 replies; 4+ messages in thread
From: Kjell Andresen @ 1998-04-16 4:00 UTC (permalink / raw)
You may found "sysinfo" and its source helpfull or "/usr/sbin/sizer --help"
Kjell
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Programmatically determine system/hardware?
1998-04-16 4:00 Programmatically determine system/hardware? Bobby Krupczak
1998-04-16 4:00 ` Dirk Grunwald
1998-04-16 4:00 ` Kjell Andresen
@ 1998-04-21 4:00 ` Bob Koehler
2 siblings, 0 replies; 4+ messages in thread
From: Bob Koehler @ 1998-04-21 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-04-21 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-16 4:00 Programmatically determine system/hardware? Bobby Krupczak
1998-04-16 4:00 ` Dirk Grunwald
1998-04-16 4:00 ` Kjell Andresen
1998-04-21 4:00 ` Bob Koehler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox