Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!usc!apple!agate!shelby!decwrl!shlump.nac.dec.com!shodha.dec.com!alan From: alan@shodha.dec.com ( Alan's Home for Wayward Notes File.) Newsgroups: comp.unix.ultrix Subject: Re: Hidden commands ? Summary: If you know where something lives. Message-ID: <445@shodha.dec.com> Date: 6 Oct 89 22:39:42 GMT References: <14444@uhnix1.uh.edu> <3913@helios.ee.lbl.gov> Organization: Digital Equipment Corp. - Colorado Springs, CO. Lines: 22 In article <14444@uhnix1.uh.edu>, rr@csuna.cs.uh.edu (Ravindran Ramachandran) writes: > Is there some command (other than vmstat) which shows the actual > memory statistics; the memory size, et al. Something like > $show memory > on a VMS. I have 12 MB of physical memory, and have rebuilt the > kernel with that configuration. I want to check to make sure that > I've done the right thing. As Brian Smith pointed out you can use uerf(8) look at the boot listing to find the memory size. If you know what to command to feed it you can use adb on VAX systems and dbx on RISC systems to look at what the kernel keeps track of (_physmem for example). Or you can write a program that uses the namelist in /vmunix and then read from /dev/kmem the things you're interested in. -- Alan Rollow alan@nabeth.enet.dec.com