Determining number of memory banks?

Mike Tighe mjt at duck.ncsc.org
Thu Mar 15 11:00:48 AEST 1990


In article <949 at red.qtp.ufl.edu> bernhold at qtp.ufl.edu (David E. Bernholdt) writes:
>
>Is there any way in software to determine the number of memory banks
>on a given machine?

Command line:
Execute the command called target(1). This will give you the info for your
machine. 

>From C program:
Make a call to the GETPMC(3U) function. This returns an array of values for
your machine.

Further details on each method can be found in the appropriate manual page.
--
Michael Tighe, mjt at ncsc.org  
               (919)-248-1157



More information about the Comp.unix.cray mailing list