Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Re: How to get model name of system?
       [not found] <EDANA.96Mar6122422@allegro.cs.tufts.edu>
@ 1996-03-11  5:00 ` Steve Lionel
  1996-03-12  5:00   ` Thilo Kielmann
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Steve Lionel @ 1996-03-11  5:00 UTC (permalink / raw)



In article <EDANA.96Mar6122422@allegro.cs.tufts.edu>, 
edana@allegro.cs.tufts.edu (Eric Dana) writes:
|>Is there a way to get the model name of a system from C?
|>For example: model=4000/500

Call the SYS$GETSYI system service, asking for the SYI$_HW_NAME item code.
-- 

Steve Lionel                      Mail: lionel@quark.enet.dec.com
Fortran Development               WWW:  http://www.digital.com/info/slionel.html
Digital Equipment Corporation     CompuServe: 75263,3001
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698             "Free advice is worth every cent"

For information on Digital Fortran 90, see http://www.digital.com/info/hpc/f90/



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to get model name of system?
  1996-03-11  5:00 ` How to get model name of system? Steve Lionel
@ 1996-03-12  5:00   ` Thilo Kielmann
  1996-03-12  5:00   ` Paul Henderson
  1996-03-12  5:00   ` How to get model name of system? Dan Pop
  2 siblings, 0 replies; 6+ messages in thread
From: Thilo Kielmann @ 1996-03-12  5:00 UTC (permalink / raw)


In article <4i1qer$14h@zk2nws.zko.dec.com>, lionel@quark.enet.dec.com (Steve Lionel) writes:
|> 
|> In article <EDANA.96Mar6122422@allegro.cs.tufts.edu>, 
|> edana@allegro.cs.tufts.edu (Eric Dana) writes:
|> |>Is there a way to get the model name of a system from C?
|> |>For example: model=4000/500
|> 
|> Call the SYS$GETSYI system service, asking for the SYI$_HW_NAME item code.
|> -- 
|> 
|> Steve Lionel                      Mail: lionel@quark.enet.dec.com
|> Fortran Development               WWW:  http://www.digital.com/info/slionel.html
|> Digital Equipment Corporation     CompuServe: 75263,3001
|> 110 Spit Brook Road, ZKO2-3/N30
|> Nashua, NH 03062-2698             "Free advice is worth every cent"
|> 
|> For information on Digital Fortran 90, see http://www.digital.com/info/hpc/f90/

And is there also a way to do so without installing OpenVMS first? ;-)

Thilo
-- 
Thilo Kielmann
Univ. of Siegen, Dept. of Electrical Engineering and Computer Science (FB 12)
Hoelderlinstr. 3, D-57068 Siegen, Germany
Phone:  +49 271 740 2642                                               /\,/\
Fax:    +49 271 740 2532                                              / u u \
E-Mail: kielmann@informatik.uni-siegen.de                             \<_Y_>/
WWW:    http://www.informatik.uni-siegen.de/~kielmann                 /  "  \



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to get model name of system?
  1996-03-12  5:00   ` Paul Henderson
@ 1996-03-12  5:00     ` Steve Lionel
       [not found]     ` <4i4eb1$te0@zk2nws.zko.dec.com>
  1 sibling, 0 replies; 6+ messages in thread
From: Steve Lionel @ 1996-03-12  5:00 UTC (permalink / raw)



In article <3145AC25.167E@unx.dec.com>, Paul Henderson <henderson@unx.dec.com> 
writes:
|>Steve Lionel wrote:
|>> Call the SYS$GETSYI system service, asking for the SYI$_HW_NAME item code.
|>Gaak! Sounds like VMS ;-)

Sorry 'bout that, chief.  Didn't notice which newsgroup I was in.  One of the
perils of trying to be multicultural.

-- 

Steve Lionel                      Mail: lionel@quark.enet.dec.com
Fortran Development               WWW:  http://www.digital.com/info/slionel.html
Digital Equipment Corporation     CompuServe: 75263,3001
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698             "Free advice is worth every cent"

For information on Digital Fortran 90, see http://www.digital.com/info/hpc/f90/



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to get model name of system?
  1996-03-11  5:00 ` How to get model name of system? Steve Lionel
  1996-03-12  5:00   ` Thilo Kielmann
@ 1996-03-12  5:00   ` Paul Henderson
  1996-03-12  5:00     ` Steve Lionel
       [not found]     ` <4i4eb1$te0@zk2nws.zko.dec.com>
  1996-03-12  5:00   ` How to get model name of system? Dan Pop
  2 siblings, 2 replies; 6+ messages in thread
From: Paul Henderson @ 1996-03-12  5:00 UTC (permalink / raw)


Steve Lionel wrote:
> 
> In article <EDANA.96Mar6122422@allegro.cs.tufts.edu>,
> edana@allegro.cs.tufts.edu (Eric Dana) writes:
> |>Is there a way to get the model name of a system from C?
> |>For example: model=4000/500
> 
> Call the SYS$GETSYI system service, asking for the SYI$_HW_NAME item code.
> --

Gaak! Sounds like VMS ;-)

The Unix equivalent is getsysinfo(2).

Although this call won't give you exactly the model # that appears on
the outside of the box, you can get the CPU type (field GSI_CPU), and
the processor type (field GSI_PROC_TYPE, as defined in
<machine/cpuconf.h>).

Here's a code snipet for a similar operation (to get the amount of
physical memory):

#include <sys/sysinfo.h>
#include <alpha/hal_sysinfo.h>

int physmem;
getsysinfo ( GSI_PHYSMEM, (caddr_t)&physmem, sizeof (physmem));



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to get model name of system?
  1996-03-11  5:00 ` How to get model name of system? Steve Lionel
  1996-03-12  5:00   ` Thilo Kielmann
  1996-03-12  5:00   ` Paul Henderson
@ 1996-03-12  5:00   ` Dan Pop
  2 siblings, 0 replies; 6+ messages in thread
From: Dan Pop @ 1996-03-12  5:00 UTC (permalink / raw)


In <4i1qer$14h@zk2nws.zko.dec.com> lionel@quark.enet.dec.com (Steve Lionel) writes:


>In article <EDANA.96Mar6122422@allegro.cs.tufts.edu>, 
>edana@allegro.cs.tufts.edu (Eric Dana) writes:
>|>Is there a way to get the model name of a system from C?
>|>For example: model=4000/500
>
>Call the SYS$GETSYI system service, asking for the SYI$_HW_NAME item code.

I wasn't aware of the existence of a system service named SYS$GETSYI in
DEC OSF/1 (hint: this is comp.unix.osf.osf1).  Could you provide more
details and/or pointers to documentation?

Dan
--
Dan Pop
CERN, CN Division
Email: danpop@mail.cern.ch 
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland



^ permalink raw reply	[flat|nested] 6+ messages in thread

* DEC Auth Srvr
       [not found]     ` <4i4eb1$te0@zk2nws.zko.dec.com>
@ 1996-03-14  5:00       ` Lyn Kempter
  0 siblings, 0 replies; 6+ messages in thread
From: Lyn Kempter @ 1996-03-14  5:00 UTC (permalink / raw)


Has anyone out there had any experience with the DEC
version of kerberos, Digital Authentication Server (DAS)?
I am attempting to install version 1.0 (Yes, I know about
the patch to version 1.1) and have discovered an error
which occurs during installation of the slave server.
No service table is created and the database consists of
only  two entries: "krbtgt/CQU.EDU.AU@CQU.EDU.AU" and
"K/M@CQU.EDU.AU".  I believe this to be in error.

Although I have placed several calls to the Australian
support people, there seems to be no expertise with
DAS in this country.

If anyone could tell me a) a fix to the installation
procedure, b) what the database and service table
should look like after installation or c) whether a
later version or patch is available, I would be forever
in your debt.

Cheers,
Lyn

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
<*>      Lyn Kempter        _--_|\   Internet: l.kempter@cqu.edu.au
    Information Technology /     *\     Phone: (+)61 79 309806
    Central Queensland Uni \_.--._/     Fax: (+)61 79 309254
 Rockhampton, Queensland         v
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1996-03-14  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <EDANA.96Mar6122422@allegro.cs.tufts.edu>
1996-03-11  5:00 ` How to get model name of system? Steve Lionel
1996-03-12  5:00   ` Thilo Kielmann
1996-03-12  5:00   ` Paul Henderson
1996-03-12  5:00     ` Steve Lionel
     [not found]     ` <4i4eb1$te0@zk2nws.zko.dec.com>
1996-03-14  5:00       ` DEC Auth Srvr Lyn Kempter
1996-03-12  5:00   ` How to get model name of system? Dan Pop

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