Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!uflorida!ufqtp!bernhold From: bernhold@qtp.ufl.edu (David E. Bernholdt) Newsgroups: comp.unix.cray Subject: Re: Determining number of memory banks? Message-ID: <950@orange19.qtp.ufl.edu> Date: 14 Mar 90 23:58:54 GMT References: <949@red.qtp.ufl.edu> Reply-To: bernhold@qtp.ufl.edu (David E. Bernholdt) Organization: University of Florida Quantum Theory Project Lines: 32 In article <949@red.qtp.ufl.edu> I wrote: >Is there any way in software to determine the number of memory banks >on a given machine? Thanks to the several people who replied by mail, along with Peter Klausler, who posted... The target(1) command does what I want -- and provides more than just the number of banks. This command is available in both COS and UNICOS, as Peter pointed out. The manual I have implies that it is not available on a -2, but I don't have access to a unicos -2 to check it out. In UNICOS, the data is obtained from the target(2) system call, which returns the data that target(1) prints out, although the structure isn't documented in the man page. looking at the include file shows what the structure is, and so it is possible to easily obtain this info from a running program with a system call. (although the "primary machine type" it gives is a very large integer number, and I don't know how to interpret it -- not that its so important) On COS, I'm sure there is an equivalent system call, but checking the few manuals I have for COS revealed nothing useful. I have no idea what they do in CTSS. Thanks again. -- David Bernholdt bernhold@qtp.ufl.edu Quantum Theory Project bernhold@ufpine.bitnet University of Florida Gainesville, FL 32611 904/392 6365