beautypg.com

Sun Microsystems GigaSwift Ethernet Adapter User Manual

Page 75

background image

Chapter 4

Configuring Driver Parameters

53

Then you had to get the link status:

Starting in the Solaris 9 Operating System, 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 # = instance.

For more information about the

kstat

command, refer to the

kstat

man page.

# ndd -get /dev/ce link_status

1

# kstat ce:

#

| grep link_up

link_up 0