Go to main content

Oracle® OpenBoot 4.x Administration Guide

Exit Print View

Updated: June 2020

Use the help Command

Whenever you see the ok prompt on the display, you can access OpenBoot help by typing one of the help commands.

Provides information for a category or a specific command.
If name is a specific command, lists help for that command, if available. Otherwise, displays an implementation-dependent message.
Used as: ok help command-name
If name is a category, lists all help messages for commands in that category or a list of subcategories.
Used as: ok help category-name
If name is omitted, provides general help and a list of available categories.
Commands should be grouped into categories so that the help messages for a category occupy no more than twenty-three output lines. Categories can be divided into subcategories. The number and names of categories are implementation dependent.
help category
Shows help for all commands in the category. Use only the first word of the category description.
help command
Shows help for individual commands (when available).
  1. Access the OpenBoot CLI.

    See Access the OpenBoot CLI (Solaris Running) or Access the OpenBoot CLI (OpenBoot Running)

  2. Use one of these commands:
    • Display the help messages for all the commands in a selected category, or, possibly, a list of subcategories.
      {0} ok help category
    • Display help for a specific command.
      {0} ok help command


      {0} ok help diag
      test <device-specifier> Run selftest method for specified device
          test net - test net
          test scsi - test scsi
      test-all Execute test for all devices with selftest method
      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
      {0} ok help memory
      dump ( addr length -- ) Display memory at addr for length bytes
      fill ( addr length byte -- ) Fill memory starting at addr with byte
      move ( src dest length -- ) Copy length bytes from src to dest address
      map? ( vaddr -- ) Show memory map information for the virtual address
      x? ( addr -- ) Display the 64-bit number from location addr
      l? ( addr -- ) Display the 32-bit number from location addr
      w? ( addr -- ) Display the 16-bit number from location addr
      c? ( addr -- ) Display the 8-bit number from location addr
      x@ ( addr -- n ) Place on the stack the 64-bit data at location addr
      l@ ( addr -- n ) Place on the stack the 32-bit data at location addr
      w@ ( addr -- n ) Place on the stack the 16-bit data at location addr
      c@ ( addr -- n ) Place on the stack the 8-bit data at location addr
      x! ( n addr -- ) Store the 64-bit value n at location addr
      l! ( n addr -- ) Store the 32-bit value n at location addr
      w! ( n addr -- ) Store the 16-bit value n at location addr
      c! ( n addr -- ) Store the 8-bit value n at location addr

      Note -  In some newer systems, descriptions of additional system-specific commands are available with the help command. Help as described might not be available on all systems.

Related Information