Go to main content

Oracle® OpenBoot 4.x Administration Guide

Exit Print View

Updated: June 2020

Obtain Virtual machine Information with OpenBoot Commands

This procedure provides examples of OpenBoot commands that provide information about the virtual machine.

  1. Access the OpenBoot CLI.

    See Accessing the OpenBoot CLI and Getting Help.

  2. Run a display command.

    For a list of commands, see Virtual machine Information Commands.


    • Display the banner.

      {0} ok banner
      SPARC T7-1, No Keyboard
      Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
      OpenBoot 4.41.0, 31.0000 GB memory installed, Serial #104812436.
      Ethernet address 0:10:e0:3f:4f:94, Host ID: 863f4f94.
    • Display the Ethernet address.

      {0} ok .enet-addr
    • Display the IDPROM contents.

      {0} ok .idprom
      Format/Type: 1 86 Ethernet: 0 10 e0 3f 4f 94 Date: 0 0 0 0
      Serial: 3f 4f 94 Checksum: 77 
    • Display the revision of the OpenBoot image.

      {0} ok .version
      Release 4.41 created 2016/11/15 18:59
    • Display a list of devices.

      Also see Display the Device Tree.

      {0} ok show-devs
    • Display disks.

      {0} ok show-disks
      a) /reboot-memory@0
      b) /pci@311/pci@1/usb@0/storage@1/disk
      c) /pci@312/pci@1/usb@0/storage@1/disk
      d) /pci@300/pci@2/scsi@0/disk
      e) /pci@302/pci@1/scsi@0/disk
      f) /iscsi-hba/disk
      q) NO SELECTION 
      Enter Selection, q to quit
      : q
      {0} ok
    • Display networks.

      In this example, the output displays the first ten networks, and is terminated by enter q for quit. To see the full list, enter m to see more networks.

      {0} ok show-nets
      a) /pci@310/pci@1/network@0,1
      b) /pci@310/pci@1/network@0
      c) /pci@30e/pci@1/network@0,1
      d) /pci@30e/pci@1/network@0
      e) /pci@300/pci@1/network@0,1
      f) /pci@300/pci@1/network@0
      g) /pci@30b/pci@1/network@0,1
      h) /pci@30b/pci@1/network@0
      i) /pci@301/pci@1/network@0,1
      j) /pci@301/pci@1/network@0
      q) NO SELECTION 
      Enter Selection, q to quit
      : q
      {0} ok 

Related Information