NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXIT STATUS | ERROR MESSAGES | SEE ALSO
showusage used with the -r option displays information on stdout about board resources, system resources, and DR. It presents the information in a tabular format.
showusage used with the -s option returns an integer exit status indicating the state of the specified board. If the specified board is in a domain, showusage writes the domain name to stdout. The -s option is intended for use in ADR scripts. The -s option can also be used to determine the eligibility of a board for an ADR operation before performing any ADR operations.
This command applies only to Sun Enterprise 10000 domains running DR model 2.0. To find out which DR model is running on your domains, use the domain_status -m command.
The following options are supported:
System board number, 0 through 15, for which status information is to be obtained.
The type of information to be displayed. report_type can be one of the following:
Show processor information for the board.
Show the progess of any active drain operation.
Show information for any devices attached to this board.
Display the board configuration as OBP sees it. You can use the OBP display on a board that has been initially attached, but not yet completely attached. The OBP display might not be as accurate as the CPU, MEM, and IO displays for boards that are in use.
Show the memory configuration for this board.
Display all suspend unsafe devices that are open in the specified domain. If this option is used, the -b option is ignored.
You must use multiple -r options to specify more than one type of report. For example, to see processor and device information for board 12, you would use the following command:
showusage -b 12 -r CPU -r IO
Report board state as exit status and write domain name on stdout. If the specified board does not currently belong to a domain, no text is written to stdout.
The showusage command returns different sets of exit status values depending on the command option specified.
The following exit values are returned when the -s option is specified:
Board is not present and is not in a software domain. A software domain is an active domain listed in the domain_config file, but the CPU is not running.
Board is not present and is in a software domain.
Board is present, powered off, and not in a software domain.
Board is present, powered on, and not in a software domain (the board is eligible for attachment).
Board is present, powered off, and in a software domain.
Board is unconfigured (present, powered on, and in a software domain, but not in a hardware domain). A hardware domain is a booted domain.
Board is configured (present, powered on, and in both a software and hardware domain), but not in a detachable DR state. For a description of the conditions that can prevent board detachment, see the Sun Enterprise 10000 Dynamic Reconfiguration User Guide.
Board is configured (present, powered on, and in both a software and hardware domain), and possibly detachable. For a description of conditions that can prevent board detachment, see the Sun Enterprise 10000 Dynamic Reconfiguration User Guide.
Board belongs to a DR model 3.0 domain. The showusage command is not supported on this domain.
Failed to dynamically link with DR library.
showusage syntax error.
The following exit values are returned when the -r option is specified:
Successfully displayed report.
showusage syntax error.
If showusage fails, it writes diagnostic messages to stderr.
addboard(1M), moveboard(1M), deleteboard(1M), dr(1M) , drshow(1M) in the Sun Enterprise 10000 Dynamic Reconfiguration Reference Manual
Sun Enterprise 10000 Dynamic Reconfiguration User Guide
Sun Enterprise 10000 SSP User Guide
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | EXIT STATUS | ERROR MESSAGES | SEE ALSO