Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (9905 KB)
psrinfo(1M)Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Attributes | See Also | Diagnostics Name
Synopsispsrinfo [-p] [-v] [processor_id]... psrinfo [-p] -s processor_id Descriptionpsrinfo displays information about processors. Each physical processor may support multiple virtual processors. Each virtual processor is an entity with its own interrupt ID, capable of executing independent threads. Without the processor_id operand, psrinfo displays one line for each configured processor, displaying whether it is on-line, non-interruptible (designated by no-intr), spare, off-line, faulted or powered off, and when that status last changed. Use the processor_id operand to display information about a specific processor. See OPERANDS. Options
The following options are supported: Operands
The following operands are supported: ExamplesExample 1 Displaying Information About All Configured Processors in Verbose ModeThe following example displays information about all configured processors in verbose mode.
Example 2 Determining If a Processor is On-lineThe following example uses psrinfo in a shell script to determine if a processor is on-line.
Example 3 Displaying Information About the Physical Processors in the SystemWith no additional arguments, the -p option displays a single integer: the number of physical processors in the system:
psrinfo also accepts command line arguments (processor IDs):
In this example, virtual processors 0 and 512 exist on the same physical processor. Virtual processors 0 and 1 do not. This is specific to this example and is and not a general rule. Exit StatusAttributesSee attributes(5) for descriptions of the following attributes:
See AlsoDiagnosticsSunOS 5.11 Last Revised 21 Feb 2004Name | Synopsis | Description | Options | Operands | Examples | Exit Status | Attributes | See Also | Diagnostics |
||||||||