Utility Commands#
- /util/help
Provides additional information and context for the requested command.
Arguments
-l
: Outputs the help for all commands in the system.command
: The command that you want to know more about.
Usage
/util/help [-l] [command]
Example
The following example would display the help entry for the
/crate/crate
command./util/help /crate/crate
- /util/shell
Start an interactive shell session that allows sequential command execution without the need to reboot the system between commands. This is the default behavior if you do not provide commands from the command line.
Usage
/util/shell
Example
The following example would be used when starting the program to explicitly start the interactive shell.
pixie16_omnitool -- /util/shell
- /util/sysctl
Provides access to the Pixie-16 MIB.
Arguments
mib
: The MIB path that you want to view. Omitting this will output all MIBs in the system.The string accepts regular expressions to filter the output. The default MIB path separator is a ..
Usage
/util/sysctl [mib]
Examples
This example outputs all fields containing the serial number for all modules. The output includes both the serial number field as well as the serial number stored in the module’s PCI mailbox.
/util/sysctl module.*.serial-num
This example will output the module’s serial number while filtering out the PCI mailbox value but only for modules in slots 2-9.
/util/sysctl module.\d.serial-num
This example will output all module’s serial number while filtering the PCI mailbox value.
/util/sysctl module.\d+.serial-num
This example will output all entries for the module in slot 10.
/util/sysctl module.10.*
- /util/wait
Tells the program to wait the specified number of milliseconds. Users can add a unit to the end of the argument to change the scale.
Note
The unit specifiers
s
andm
are mutually exclusive. You can use one, or the other, but not both.Arguments
msecs
: The number of milliseconds to wait before returning.s
: When added to the argument list changes the
Usage
/util/wait msecs [s/m]
Example
The following example tells the system to wait for 1 minute.
/util/wait 1 m