Solaris Useful commands at OK prompt. |
||
Dignostics: |
boot |
General |
banner this command shows the following systems hardware informatiion : Model,architecture, processor,keyboard, openboot version, Serial no. ethernet address & host id. test floppy – test floppy disk drive watch-clock Show ticks of real-time clock watch-net Monitor network broadcast packets watch-net-all Monitor broadcast packets on all net interfaces probe-scsi Show attached SCSI devices probe-scsi-all Show attached SCSI devices for all host adapters- internal & external. |
boot – boot kernel from default device. boot net – boot kernel from network DEVALIAS ok>show-devs ok cd /pci@1f,4000/scsi@3 ok .properties ok f00809d8 tape f007ecdc disk ok CPU Speed :200.00MHz UPA Speed :100.00MHz PCI Bus A :66Mhz PCI Bus B :33Mhz |
printenv setenv <variable> set-default Reset the value of variable to the factory default. set-defaults Reset variable values to the factory defaults.
|
Key Sequences These commands are disabled if the PROM security is on. Also, if your system has full security enabled, you cannot apply any of the suggested commands unless you have the password to get to the ok prompt. Stop– Bypass POST. This command does not depend on security-mode. (Note: some systems bypass POST as a default; in such cases, use Stop-D to start POST.) Stop-A Stop-D– Enter diagnostic mode (set diag-switch? to true). Stop-F– Enter Stop-N Reset NVRAM contents to default values. |
Start an OpenBoot Diagnostics
<STOP A>
OK setenv diag-switch? true
OK setenv auto-boot? false
OK reset-all
OK test-all or obdiag
Configure Graphics Console (e.g. Sun XVR-100 Graphics Accelerator) instead of serial TTYA
OK show-displays
Select the graphics accelerator, e.g. b
OK nvalias mydev <CTRL-Y>
OK setenv output-device mydev
OK setenv use-nvramrc? true
OK reset-all