Quick Reference Guide
18 Command Syntax Overview
NOTE: Example 2 is invalid because the report and set actions are used in the
same command line.
NOTE: Examples 3, 4, and 5 are valid because the aliases use neither report nor set
actions.
Read and Write Commands
Options can report a certain value or set of values based on the presence of an
argument. These read or write actions are implied in the DTK command line
arguments. The get, read, set, or write commands, for example, are not required.
NOTE: Options that specify read or write actions should not be mixed in a
command line instance.
File Input and Output Commands
• File input is specified by the
-i
<
filename
> command,
where <
filename
> is the name of the input file.
• File output is specified by the
-o
<
filename
> command,
where <
filename
> is the name of the output file.
Log Files
The -l <
filename
> or --logfile <
filename
> option records
information output on the command line to the specified log file. Each new
line of output is preceded by a time stamp.
If the log file already exists, information is appended to the file. This allows
multiple tools to use the same log file to record information. This option
should be used instead of redirection to record a utility’s output since time
data can assist with task diagnosis.
Table 2-3. Read and Write Command Examples
Valid/Invalid DTK Command Line Example
valid syscfg --option1 --option2
valid syscfg --option1=arg --option2=arg
invalid syscfg --option1=arg --option2