devtree - Print information about the device tree in Solaris
devtree -p | --print -v | --all -w= [--attr[=attr1,...]] -o= [--prop[=prop1,...]] -r= [--promProp[=pprop1,...]] -m= [--minor] -a [<alias>] | --aliases[=<alias>] -d | --disks -t | --tapes -n | --networks -b | --bootinfo
Print the devicetree. Several suboptions are allowed:
Print all information available for each node in the device tree. If only specific information is needed you can use the following options:
Prints attributes for the device node. If attribute names are specified only those attributes are printed or all attributes if no attributes names are specified..
Prints properties for the device node. If property names are specified only those properties are printed or all properties if no property names are given.
Prints prom properties for the device node. If property names are specified only those properties are printed or all properties if no property names are given.
Prints the minor nodes associated with the device node.
Print OpenBoot device aliases. Aliases entered in the nvramrc with nvramrc?=false are not printed as they are not known to the OBP. For script usage it is possible to specify the value of a single alias whose value is output unformatted.
Prints all network adapters, regardless if they are plumbed or not.
Print information related to booting from the OpenBoot-Prom. This includes the device last booted from and the boot- and diag-devices.
Dagobert Michelsen, <dam@baltic-online.de>
Solaris::DeviceTree
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Solaris::DeviceTree, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Solaris::DeviceTree
CPAN shell
perl -MCPAN -e shell install Solaris::DeviceTree
For more information on module installation, please visit the detailed CPAN module installation guide.