From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c6a688fe7e6aed3 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: how to make a request to the basic layer of the apha server Date: 2000/04/05 Message-ID: <8cft5l$rjf$1@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 607156530 Distribution: world References: <00bc073e.dba41e25@usw-ex0109-068.remarq.com> X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 954955765 28271 16.82.16.67 (5 Apr 2000 17:29:25 GMT) Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Date: 5 Apr 2000 17:29:25 GMT Newsgroups: comp.unix.osf.osf1 In article <00bc073e.dba41e25@usw-ex0109-068.remarq.com>, erwan writes: > >Does anybody know the solution to perforn a request to >the basic layer of the machine from the operating system. >(not from the srm console) >I would like to know how many network cards i have on the >machine (some are already configured some are not) The consvar(8) command will let you get and set console variable, but I don't think that will help with what you want. Some systems include FRU message in the error log when the system boots. This might list some of the devices found. But, it may depend on the system and operating system version, neither of which you've provided. If the kernel has been configured to recognize the devices, but not setup ("configured" is a slightly overloaded word), then they'll be listed in the boot messages. For that you need to know the device names that will be used, which depends on the system and devices. You might also try "netstat -i", which will list interfaces. > >Thanks very much > > >* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful > -- Alan Rollow alan@nabeth.cxo.dec.com