Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Which hardware do I have ?
@ 1995-09-11  4:00 Peter van der Werf
  1995-09-11  4:00 ` Peter Delgado
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Peter van der Werf @ 1995-09-11  4:00 UTC (permalink / raw)


Hi there;

Does anybody know how to determine which hardware is present on a running
osf - Alpha system ??
Are there any commands in osf that can tell me how many controllers, disks, 
memory and cpu's I've got ??

Please reply to pwerf@gak.nl

Thanx !

Peter






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

* Re: Which hardware do I have ?
  1995-09-11  4:00 Which hardware do I have ? Peter van der Werf
  1995-09-11  4:00 ` Peter Delgado
@ 1995-09-11  4:00 ` Peter R David
  1995-09-12  4:00 ` Igor Skapinker
  1995-09-12  4:00 ` Peter Delgado
  3 siblings, 0 replies; 5+ messages in thread
From: Peter R David @ 1995-09-11  4:00 UTC (permalink / raw)



	You can get some information while the system is up by typing
uerf -r -R 300 |pg

	For detailed information, I believe you need to get it from the
console prompt, using show and show config.

	Good luck,

	Peter David



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

* Re: Which hardware do I have ?
  1995-09-11  4:00 Which hardware do I have ? Peter van der Werf
@ 1995-09-11  4:00 ` Peter Delgado
  1995-09-11  4:00 ` Peter R David
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Delgado @ 1995-09-11  4:00 UTC (permalink / raw)


Peter,
for the specific hardware (cpu, graphics card etc..) see the manpage on
the "sizer" command.  For memory etc., try using the following C program
as an example of how to get the information.  Check the manpage for the 
getsysinfo command to see all of the information available and design your
own program that suits your needs.

-Pete

To Make:  cc -std1 -O3 -tune (programname.c) -o programname
--------------------------------------------------------------------------------

#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <sys/sysinfo.h>
#include <machine/hal_sysinfo.h>


int main(int argc, char *argv[])
{
int     TotalMemory;


if (getsysinfo(GSI_PHYSMEM,&TotalMemory,(unsigned long)(sizeof(int)),0,NULL)
!=-
1)
   {
   TotalMemory += 512;
   fprintf(stdout,"Total Memory = %d MB\n",TotalMemory/1024);
   exit(0);
   }
perror("PHYSMEM");
exit(1);
}

-------------------------------------------------------------------------------
Pete Delgado                                      The opinions expressed are
Software Engineer                                 my own and do not reflect
Structural Dynamics Research Corporation          the official opinions of
2000 Eastman Drive                                SDRC.
Milford, Ohio 45150
                                                  No user 
                                                  servicable parts inside!
e-mail:  Peter.Delgado@sdrc.com

-------------------------------------------------------------------------------




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

* Re: Which hardware do I have ?
  1995-09-11  4:00 Which hardware do I have ? Peter van der Werf
  1995-09-11  4:00 ` Peter Delgado
  1995-09-11  4:00 ` Peter R David
@ 1995-09-12  4:00 ` Igor Skapinker
  1995-09-12  4:00 ` Peter Delgado
  3 siblings, 0 replies; 5+ messages in thread
From: Igor Skapinker @ 1995-09-12  4:00 UTC (permalink / raw)



Use the `uerf' command.

Note: You should log in as 'root'
 



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

* Re: Which hardware do I have ?
  1995-09-11  4:00 Which hardware do I have ? Peter van der Werf
                   ` (2 preceding siblings ...)
  1995-09-12  4:00 ` Igor Skapinker
@ 1995-09-12  4:00 ` Peter Delgado
  3 siblings, 0 replies; 5+ messages in thread
From: Peter Delgado @ 1995-09-12  4:00 UTC (permalink / raw)


Please note that the solutions that I gave in my previous post do NOT
require root access.  This may be beneficial to some users who do not
have root access.


-- Pete
-------------------------------------------------------------------------------
Pete Delgado                                      The opinions expressed are
Software Engineer                                 my own and do not reflect
Structural Dynamics Research Corporation          the official opinions of
2000 Eastman Drive                                SDRC.
Milford, Ohio 45150
                                                  No user 
                                                  servicable parts inside!
e-mail:  Peter.Delgado@sdrc.com

-------------------------------------------------------------------------------




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

end of thread, other threads:[~1995-09-12  4:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-09-11  4:00 Which hardware do I have ? Peter van der Werf
1995-09-11  4:00 ` Peter Delgado
1995-09-11  4:00 ` Peter R David
1995-09-12  4:00 ` Igor Skapinker
1995-09-12  4:00 ` Peter Delgado

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