Trace control in subcommand mode
If the trace routine is configured without the -a option, it runs in subcommand mode.
When running the trace routine in subcommand mode, instead of the normal shell prompt, a prompt of "->" displays. In this mode, the following subcommands are recognized:
- trcon
- Starts or resumes collection of event data
- trcoff
- Suspends collection of event data
- q or quit
- Stops collection of event data and terminates the trace routine
- !command
- Runs the specified shell command
- ?
- Displays the available commands
For example:
# trace -f -m "Trace of events during mycmd"
-> !mycmd
-> q
#