Using the ndd utility in non-interactive mode, Using the ndd utility in interactive mode – Sun Microsystems Sun Quad User Manual
Page 46
32
Sun Quad FastEthernet PCI Adapter Installation and User’s Guide • August 1997
Using the
ndd
Utility in Non-Interactive Mode
This section describes how to modify and to display parameter values.
●
To modify a parameter value, use the
-set
option.
If you invoke the
ndd
utility with the
-set
option, the utility passes value, which
must be specified down to the named
/dev/qfe
driver instance, and assigns it to
the parameter:
●
To display the value of a parameter, specify the parameter name (and omit the
value).
When you omit the
-set
option, a query operation is assumed and the utility
queries the named driver instance, retrieves the value associated with the specified
parameter, and prints it:
Using the
ndd
Utility in Interactive Mode
●
To modify a parameter value in interactive mode, specify
ndd /dev/qfe
, as
shown below.
The
ndd
utility then prompts you for the name of the parameter:
After entering the parameter name, the
ndd
utility prompts you for the parameter
value (see
through
# ndd -set /dev/qfe
parameter value
# ndd /dev/qfe
parameter
# ndd /dev/qfe
name to get/set?
(Enter the parameter name or
?
to view all parameters)