Command Flags
This section describes command flags that are used with UEFI diagnostics.
UEFI diagnostics processes flags in two steps. In the first step, the flags that
appear before any command (but after udiag) are parsed and treated as
the setting flags for the command that follows. In the second step, the flags that
follow a command are used to override the setting for the command only.
Note -
The -l (log file) flag must be used as a default setting flag
only. Other flags should be used as command-specific flags only. Use them as default
settings only when it is appropriate to do so.
|
|
|
-h, -?,
-help
|
|
Displays command help information.
|
-n, -v,
-V
|
|
Mutually exclusive flags that specify the amount of information
commands may output. -n is the default.
-v is verbose and -V is
very verbose.
|
-w
|
<byte_size>
|
Specifies access size in bytes to register and memory locations.
<byte_size> must be one of
1, 2,
4, or 8. The
default size is 8.
|
-pc
|
<n>
|
Repeats a command until <n> passes
are reached. The default is 1.
|
-ec
|
<n>
|
Repeats a command until <n> errors
are reached. The default is 1.
|
-time
|
<n>
|
Limits run to <n> seconds. The
default is 0, which indicates no
limit.
|
-l
|
<log_file>
|
Copies all console outputs to
<log_file>.
log_file must be in the format
of:
<volume>:<hierarchical_file_name>
Where:
hierarchical_file_name =
[\<file_or_folder_name>]+
For example:
-l fs0:\test1.log
|
-s
|
<begin>
|
Specifies a generic 64-bit hexadecimal number which is
command-specific. For example, memory tests use it as the lowest
address of a memory range to test.
|
-e
|
<end>
|
Specifies a generic 64-bit hexadecimal number which is
command-specific. For example, memory tests use it as the highest
address of a memory range to test plus one
byte.
|
-np
|
<n> | all
|
Specifies the number of application processors (APs) to use. The
literal all specifies to use all enabled
processors.
|
-ap
|
<n>[|<n>]*
|
Specifies one or more specific APs to use. The processor number
0 is reserved for the boot strap
processor (BSP) and it should not be used with this flag.
Note -
For Oracle ILOM 3.2.1 or 3.2.2, use a slash character instead
of a pipe character ("/" instead of
"|".
All APs are numbered from 1 through the maximum enabled processors
reported by the SMBIOS table.
To find the relationship between the AP number with the socket
number, type:
udiag system acpi -v
For example, -ap 5f|1|10 allocates
processors 5f,
1 and
10 to a command. Memory tests,
for example, allocate the APs in the listed order to the sub-blocks
within a test range sequentially starting with the lowest addressed
sub-block. A typical application is to generate as much cross
traffic on socket interconnects by assigning processors far from
their sub-blocks.
|
-pc
|
<n>
|
n indicates how many times to test the
storage device(s).
|
|
When entering CLI commands, note the following rules:
-
Most commands support the -hv, -n,
-v, -V, -pc, and
-ec flags.
-
AP-capable commands support the -np and
-ap flags.
-
Long running tests such as memory and
storage support the -time flag.
-
The suffix * (for example, [<n>]*) after the
right bracket indicates 0 or more repeated options.
-
The suffix + (for example,
[\<file_or_folder_name>]+) after the right
bracket indicates 1 or more repeated options.