This procedure provides examples of OpenBoot commands that provide information about the virtual machine.
For a list of commands, see Virtual machine Information Commands.
Examples:
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.
[bp-4.41]
Ethernet address 0:10:e0:3f:4f:94, Host ID: 863f4f94.
Display the Ethernet address.
{0} ok .enet-addr
0:10:e0:xx:xx:xx
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
/pci@345
/pci@344
/pci@343
/pci@342
/pci@341
/cpu@d40
/cpu@d3f
/cpu@d3e
/cpu@d3d
/cpu@d3c
/pci@345/pci@1
/pci@344/pci@1
/pci@343/pci@2
/pci@343/pci@2/usb@0
/pci@343/pci@2/usb@0/storage@1
/pci@343/pci@2/usb@0/storage@1/disk
/pci@342/pci@1
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
m) MORE SELECTIONS
q) NO SELECTION
Enter Selection, q to quit
: q
{0} ok