list-classes list-components
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

list-commands

Synopsis

list-commands [object] ["class"] ["iface"] ["substr"] [-plain] [-global-only]

Description

Returns a list of CLI commands. If used in an expression it returns a list of tuples which each contains the command name, and its short description. Otherwise the list is printed.

If the -plain flag is specified, the return value or output is instead only a list of command names.

Note that only those commands that have been registered with Simics at the current time are listed. Hence, commands in modules or target systems that are not yet loaded, will not be listed.

If the -global-only flag is specified, just global commands are listed.

Without any arguments all commands will be listed. The object argument will filter for commands registered on the specified object. The class and iface arguments will filter on the given class and/or interface names. And the substr argument will filter on commands with matching names.

Provided By

Simics Core
list-classes list-components