From owner-freebsd-net Wed Sep 27 10:55: 3 2000 Delivered-To: freebsd-net@freebsd.org Received: from roura.ac.upc.es (roura.ac.upc.es [147.83.33.10]) by hub.freebsd.org (Postfix) with ESMTP id 7A3E737B422 for ; Wed, 27 Sep 2000 10:54:42 -0700 (PDT) Received: from ac.upc.es (fonoll.ac.upc.es [147.83.32.14]) by roura.ac.upc.es (8.11.0/8.11.0) with ESMTP id e8RHsjp08290; Wed, 27 Sep 2000 19:54:46 +0200 (MET DST) Message-ID: <39D23465.F3367329@ac.upc.es> Date: Wed, 27 Sep 2000 19:54:45 +0200 From: Oscar I Lepe Organization: DAC/UPC X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: es, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: On the net.link.generic.ifdata sysctl node Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! I would like to read the value of if_snd.ifq_drops for the configured interfaces. I read through the source code (net/if_mib.c) and find out that this should be possible by means of the net.link.generic.ifdata sysctl node. But when I use the sysctl command I get the following responses: $ sysctl net.link.generic net.link.generic.system.ifcount: 12 $ sysctl net.link.generic.ifdata $ sysctl net.link.generic.ifdata.0 sysctl: unknown oid 'net.link.generic.ifdata.0' Would someone give me some insights about why this isn't working? Is there some other way to read the vale of if_snd.ifq_drops for the configured interfaces? Thanks in advance! -- ======================================================================== 0 0 0 Oscar-Ivan Lepe-Aldama | UPC-Campus Nord, DAC 0 0 0 e-mail: oscar@ac.upc.es | Modul D6, despatx 116 0 0 0 phone: +34 93 401 7187 | Jordi Girona, 1-3 U P C fax: +34 93 401 7055 | 08034 Barcelona - SPAIN WWW: http://www.ac.upc.es/homes/oscar/ ======================================================================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message