Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 1999 18:29:34 -0500 (EST)
From:      Alfred Perlstein <bright@rush.net>
To:        hackers@freebsd.org
Subject:   devices in sysctl MIB?
Message-ID:  <Pine.BSF.3.96.990703182338.14320K-100000@cygnus.rush.net>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990703182338.14320K-100000>