beautypg.com

Gigaswift ethernet driver operating statistics – Sun Microsystems X1150A User Manual

Page 76

background image

54

Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2003

Then you had to get the link status:

Starting with the Sun GigaSwift Ethernet adapter in the Solarlis 9 operating
environment this method of determining the link status is discouraged, and in some
cases, it is removed completely as a driver feature.

The new improved approach moves all read-only parameters from the

ndd

options

into

kstat

. This simplifies getting link status information by allowing you to do it

with one simple command.

To get the link status of a driver, type the following command:

where n=instance.

For more information about the

kstat

command, refer the

kstat

man page

GigaSwift Ethernet Driver Operating
Statistics

These statistics are part of the statistics presented by the

netstat -k

command.

# ndd -get /dev/hme link-status

1

# kstat ce:

n

| grep link_up

link_up 0