0% found this document useful (0 votes)
112 views3 pages

OK PROMPT Commands

Run level 0 is the lowest operational state. When the server is at run level 0, the ok prompt appears. This document contains the commands that are used in the OK-Prompt.

Uploaded by

Shehryar Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
112 views3 pages

OK PROMPT Commands

Run level 0 is the lowest operational state. When the server is at run level 0, the ok prompt appears. This document contains the commands that are used in the OK-Prompt.

Uploaded by

Shehryar Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

------------------------------ok_commands--------------------

ok banner(Use this command to display the power-on banner)


output
The following example demonstrates the output of the banner command on
CHARON-SSP/L10 configured as a SPARCstation 20.

Example banner Command Output


ok banner
banner
SPARCstation 20 (1 X 390Z50), No Keyboard
Emulate OBP Rev. 2.25, 64 MB memory installed, Serial #12648430.
Ethernet address 2:c:29:4a:d3:29, Host ID: 72c0ffee.
--
ok boot(This commands boots the specified device-alias passing any optional boot-
args to the kernel.
---------
For a complete list of device aliases, see the devalias command.)
--
ok devalias(This commands display the current device aliases.This shows the link
between the aliases, such as cdrom and the devices shown in the device tree, listed
by show-devs)
This commands display the current device aliases.This shows the link between the
aliases, such as cdrom and the devices shown in the device tree, listed by show-
devs .
Example devalias Command Output
ok devalias
devalias
ttyb /obio/zs@0,100000:b
ttya /obio/zs@0,100000:a
keyboard! /obio/zs@0,0:forcemode
keyboard /obio/zs@0,0
floppy /obio/SUNW,fdtwo
scsi /iommu/sbus/espdma@f,400000/esp@f,800000
net-aui /iommu/sbus/ledma@f,400010:aui/le@f,c00000
net-tpe /iommu/sbus/ledma@f,400010:tpe/le@f,c00000
net /iommu/sbus/ledma@f,400010/le@f,c00000
disk /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0
cdrom /iommu/sbus/espdma@f,400000/esp@f,800000/sd@6,0:d
tape /iommu/sbus/espdma@f,400000/esp@f,800000/st@4,0
tape1 /iommu/sbus/espdma@f,400000/esp@f,800000/st@5,0
tape0 /iommu/sbus/espdma@f,400000/esp@f,800000/st@4,0
disk3 /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0
disk2 /iommu/sbus/espdma@f,400000/esp@f,800000/sd@2,0
disk1 /iommu/sbus/espdma@f,400000/esp@f,800000/sd@1,0
disk0 /iommu/sbus/espdma@f,400000/esp@f,800000/sd@0,0
--------------------
ok help(Use this command to display the list of commands supported by the OpenBoot
console.
For brief help on individual commands specify the command parameter.)
Use this command to display the list of commands supported by the OpenBoot console.

For brief help on individual commands specify the command parameter.


--
ok history(This command displays a list of all commands previously entered at the
OpenBoot Console)
Example history Command Output
ok history
history
1 printenv
2 help
3 help devalias
4 help history
5 help probe-scsi
6 probe-scsi
7 show-devs
8 banner
---
ok probe-scsi(This command scan the SCSI bus to locate attached devices)
Example probe-scsi Command Output
ok probe-scsi
probe-scsi
Target 0
Unit 0 Disk virtual Scsicdrom (c)SRI0200
----
ok quit
Use this command to shutdown the virtual machine.
Example banner Command Output
ok quit
quit
The system will be shutdown soon...
-----
ok reset(This command restarts the SPARC virtual machine)
Example reset Command Output
ok reset
reset

SMCC SPARCstation 20 Emulator by Stromasys

CPU_#0 TI, TMS390Z50(3.x) 0Mb External cache

CPU_#1 ****** NOT installed ******


CPU_#1 ****** NOT installed ******
CPU_#1 ****** NOT installed ******

>>>>> Power On Self Test (POST) is running .... <<<<<

SPARCstation 20 (1 X 390Z50), No Keyboard


Emulate OBP Rev. 2.25, 64 MB memory installed, Serial #12648430.
Ethernet address 2:c:29:4a:d3:29, Host ID: 72c0ffee.

Type help for more information


ok
--------------------
ok setenv(Set console environment variables)
Syntax:
setenv variable value
setenv variable --
------------------------
This command sets the console configuration variable to value. For a complete list
of possible variable names and details, see the table below.
To restore variable to its default value, specify -- in place of value.
setenv Variables
auto-boot? false If true, boots automatically after power on or reset.
boot-file empty string A string of arguments to be passed to the boot loader
(e.g. -a or -v).
boot-device disk net Space delimited list of devices to attempt booting from.
ttya-mode 9600,8,n,1,- Serial line configuration for ttya
ttyb-mode 9600,8,n,1,- Serial line configuration for ttyb
-----------------------------
Example {{setenv} Command Output
ok setenv auto-boot? true
setenv auto-boot? true
auto-boot? = true
-----------------------------
ok show-devs(This command displays the tree of devices visible from the console)
Example show-devs Command Output
ok show-devs
show-devs
/TI,TMS390Z50@f,f8fffffc
/SUNW,sx@f,80000000
/eccmemctl@f,0
/virtual-memory@0,0
/memory@0,0
/obio
/iommu@f,e0000000
/openprom
/aliases
/options
/packages
/obio/power@0,a01000
/obio/auxio@0,800000
/obio/SUNW,fdtwo@0,700000
/obio/interrupt@0,400000
/obio/counter@0,300000
/obio/eeprom@0,200000
/obio/zs@0,0
/obio/zs@0,100000
/iommu@f,e0000000/sbus@f,e0001000
/iommu@f,e0000000/sbus@f,e0001000/SUNW,bpp@f,4800000
/iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000
/iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010/le@f,c00000
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/st
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd
/packages/obp-tftp
/packages/deblocker
/packages/disk-label

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy