From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d5a2c59b7e27fb96 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Hardware Detection Date: 1999/03/04 Message-ID: <7bkrm0$vff$2@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 451034297 Distribution: world References: <36DC3116.29F96411@msoe.edu> Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Newsgroups: comp.unix.osf.osf1 In article <36DC3116.29F96411@msoe.edu>, ian reinhart geiser writes: > How can one detect hardware on a server? Lots of ways. You can look at the boot messages and see everything that the kernel found when it booted. For SCSI devices that might have show up later, you can use scu(8) to scan the busses and see what is there: # scu scan edt # scu show edt The drivers for most character special files will identify the associated device when the right ioctl(2) is used. The file command will do this, so you can associate special files to the device. Some drivers in early V4 versions didn't do this and the system would crash as a result. dxsysinfo, will get some configuration information. > I am use to Linux where you have dmesg and > the proc file system. Dose Digital Unix have > this? If dmesg is what I remember, the contents of /var/adm/messages contains a copy of the boot messages. You can also get these using DECevent and uerf(8). In the case of uerf(8) you want record type #300: # uerf -R -r 300 | page DECevent has a similar option. The process file system is documented in the proc(4) manual page. > -ian reinhart geiser -- Alan Rollow alan@nabeth.cxo.dec.com