From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: finding the amount of ram
Date: Thu, 17 Feb 1994 18:29:44 GMT [thread overview]
Message-ID: <1994Feb17.182944.22364@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 16FEB199416420571@rosie.uh.edu
In article <16FEB199416420571@rosie.uh.edu>, st3a3@rosie.uh.edu (Wright, Thomas E.) writes:
>
>Hello everyone,
> I just got a job with the PHYS. dept. here at U of H as a sys. manager.
>From now on, y'all will be hearing from me alot. My first duty at this job
>is to find out how much RAM this DEC 5000/200 has. They said that it was not
>included in the information that came with the machine. Is there a command
>(in ultrix) that I can use to find this?
You can:
1. Use the console (>> prompt) command, cnfg, to get basic system
configuration information. That will tell you about the CPU
and what is in each TURBOchannel slot. You can do the same for
each slot:
>> cnfg
>> cnfg slot-#
2. The amount of memory is printed when the system boots. These
messages are written to the binary error log file, which can
be examined with the uerf(8) command:
# uerf -R -r 300 | page
The -R flag prints the contents of the file in reverse chronological
order. The -r flag prints a selected type of message. In this case
record type #300 which is the boot messages.
3. Examine the kernel variable "physmem". Multiply by the page
size (getpagesize(2)). Among the ways:
dbx(1) or kvar(8)
>2nd, how do I determin how much RAM
>a program will need (to run at a comfortable pace) b/4 I run it?
For some programs you can use the size(1) command to see the
different sizes of the program segments. This will work for
programs that don't make extensive use of the stack or allocate
memory dynamically. I suspect most FORTRAN programs will fit
into this group.
For programs that use a lot of stack or dynamic memory, you'd
have to examine the sources to get a clue how much it uses or
run it see.
>thanx,
>thomas wright
>st3a3@jetson.uh.edu
>e771@uhibpd.phys.uh.edu
>
>
--
Alan Rollow alan@nabeth.cxo.dec.com
next prev parent reply other threads:[~1994-02-17 18:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-02-16 22:42 finding the amount of ram Wright, Thomas E.
1994-02-17 18:29 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
1994-02-22 11:08 ` anthony baxter
1994-03-04 21:24 ` Hans-Ch. Eckert
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox