SUNWcsu
psrinfo shows information on configured processors. Without arguments, it prints a line for each processor, telling whether it is online or offline, and when that status last changed.
Displays information about the specified processors, or all processors, if none are specified. Without arguments, information on online/offline status and time of last change is given. With the -v argument, information on processor type, floating point unit type, and clock speed are printed as well. If any of this information cannot be determined, it will be printed as ‘‘unknown.’’
The -s argument is provided for convenient use in shell scripts. When -s is specified, psrinfo will output 1 if the specified processor is online, and 0 otherwise.
To print the verbose status of all processors:
Shell usage to determine if a processor is online: