From owner-freebsd-hackers Sat Jul 3 19: 4: 4 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from medulla.hippocampus.net (medulla.hippocampus.net [204.138.241.6]) by hub.freebsd.org (Postfix) with ESMTP id 829C614F51 for ; Sat, 3 Jul 1999 19:04:01 -0700 (PDT) (envelope-from marc@netstor.com) Received: from localhost (marc@localhost) by medulla.hippocampus.net (8.9.2/8.9.2) with ESMTP id WAA25635; Sat, 3 Jul 1999 22:09:45 -0400 (EDT) Date: Sat, 3 Jul 1999 22:09:45 -0400 (EDT) From: Marc Nicholas X-Sender: marc@medulla.hippocampus.net To: Alfred Perlstein Cc: hackers@FreeBSD.ORG Subject: Re: devices in sysctl MIB? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I would certainly welcome such info... The info in the /proc filesystem in Linux is certainly nice. (One of the few things that is!). -marc ---------------------------------------------------------------- Marc Nicholas netSTOR Technologies, Inc. http://www.netstor.com "Fast, Expandable and Affordable Internet Caching Products" 1.877.464.4776 416.979.9000 fax: 416.979.8223 cell: 416.346.9255 On Sat, 3 Jul 1999, Alfred Perlstein wrote: > > Just a suggestion, perhaps there should be a dev tree in > sysctl with nodes for each device type then device. > > interesting applications for this: > > reporting on packets dropped/sent and such > displaying connection status (duplex/100mb/10mb... etc) > enabling/disabling power saving features > > dev.iface.fxp0.ipkts = 432523 > dev.iface.fxp0.opkts = 432523 > dev.iface.fxp0.linkspeed = 100 > dev.iface.fxp0.linkmode = full-duplex > dev.dsk.da0.tags = 32 > .... > > sysctl -w dev.iface.fxp0.linkmode=half-duplex > > ? > > -Alfred Perlstein - [bright@rush.net|bright@wintelcom.net] > systems administrator and programmer > Win Telecom - http://www.wintelcom.net/ > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message