From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ccb5c8c852b82613 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,ccb5c8c852b82613 X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1993-03-02 18:57:42 PST Xref: sparky comp.sys.dec:7719 comp.unix.ultrix:10129 Newsgroups: comp.sys.dec,comp.unix.ultrix Path: sparky!uunet!wupost!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!nabeth!alan From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Subject: Re: how to check what is in my dec workstation Message-ID: <1993Mar2.223620.7194@nntpd2.cxo.dec.com> Sender: alan@nabeth (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Reply-To: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Organization: Digital Equipment Corporation References: Date: Tue, 2 Mar 1993 22:36:20 GMT In article , zhao@nmsu.edu (Z. Zhao) writes: > >>From the quotes I received, I was told there are 1.6GB hard disks in >my dec5000/240, RZ56 1GB with tape box + RZ57 600MB with cdrom box. >But, from booting and 'df' I can see 1GB showing up only. I am using >ultrix4.2. Is there any instruction in ultrix to tell me what is my >system? This probably will end up being a summary of some of the answer you're seen otherwise. First though, a minor detail. The RZ56 is the 600 MB disk and the RZ57 is the 1 GB disk. Using the console monitor you can check the system configuration with the command "cnfg". By itself this will give a summary of what the different TURBOchannel adapter are, what CPU and how much memory you have, and probably a little commentary on the graphics adapter if you have a DECstation. One of the things this will tell you is which TURBOchannel adapters are SCSI adapters. With that you can query each adapter to find out what it has on it; "cnfg #". When ULTRIX boots, it prints a device listing. This information is also saved in the error log and can be reviewed using the uerf(8) command. The boot messages are record type 300. For looking at the boot message you also probably want to read them in reverse chronological order: # uerf -R -r 300 There are programs that will tell you about specific devices; file(1) being the easiest. The problem is that if a device doesn't have a special device file associated with it, then you can't use file(1) to find out what it is. For network devices netstat(1) should be able to find all of them it can know about. Finally, you have the general problem that you can have devices on your system that ULTRIX doesn't know to look for. The console monitor should be able to find these devices using cnfg, but unless the kernel has been configured to find them, it won't. The data structures that ULTRIX uses to keep track of what devices it has are lists within the kernel. Tracking through these lists isn't exceptionally hard and there are programs that will do it. For example, Monitor has an option "names", that will go through these devices lists and print what it can find on the system. What it doesn't do is attach detailed device types to device names. Monitor is available from: gatekeeper.dec.com:/pub/DEC/monitor.tar.Z > >Z.Z. > -- Alan Rollow alan@nabeth.cxo.dec.com