Command Line Utility Optionssma
Option Description
-a alias_n
ame
Assign to the new virtual machine instances. This option can be very useful when attempting toalias_name
locate a specific instance in the list reported by the option.-l
If this option is not specified, a name of the form will be assigned by the utility.instance-%02d sma
-d
Run the virtual machine as a daemon.
This option cannot be specified with .-s
-f config_
file
When starting a new instance, use this option to specify the location of the virtual machine configuration file. For
further details of the format of this file see the section.Configuration Reference
This is not an optional argument.
-s
Start the virtual machine in interactive mode. See the section below.sma Interactive Mode
This option cannot be specified with .-d
-h
Display a brief usage message.
-k pid Stop the virtual machine instance specified by . Use the to determine the process id of the relevantpid -l
instance.
This option cannot be specified with an others.
-l
This option lists the currently running CHARON-SSP instances. The list is constructed of the following columns:
pid – process id of the virtual machine,
alias – instance alias specified by the option at startup,-a
start time – timestamp indicating when the virtual machine instance was started,
log time – timestamp indicating last event, and
log code – descriptive code indicating the type of event.
This option cannot be specified with any others.
Interactive Mode
Running the virtual machine with the option will, as well as starting a virtual machine, start an interactive command line on the controllingsma -s
terminal. This command line is indicated by the or prompt and allows the user to query and manipulate theCHARON/SS20> CHARON/E450>
operation of the running virtual machine. The terminal output shown below shows the tail end of the virtual machine start up messages before
displaying the prompt.
Interactive Mode Session
2015-02-25 15:59:31 INFO vm DIT is ON
2015-02-25 15:59:31 INFO Thread System has 2 processor(s).
2015-02-25 15:59:31 INFO NVRAM Initialize NVRAM with ./vm.nvram......
2015-02-25 15:59:31 INFO Memory Allocating 67108864 bytes memory from system...
2015-02-25 15:59:32 INFO NET Find 2 interfaces.
2015-02-25 15:59:32 INFO NET Connected to eth0.
2015-02-25 15:59:32 INFO NET Set 'eth0' to promiscuous mode successfully
2015-02-25 15:59:35 INFO License Virtual hardware model SPARCstation_20 is licensed
2015-02-25 15:59:35 INFO License Current UTC time: 2015-02-25 07:59:03
2015-02-25 15:59:35 INFO License Expiration UTC time: 2015-08-26 23:55:00
2015-02-25 15:59:35 INFO Thread Set CPU thread to No.1 processor
2015-02-25 15:59:35 INFO NET Network RX started on eth0
CHARON/SS20>
Kommentare zu diesen Handbüchern