rtp

VxWorks Real Time Processes.

rtp [SUBCOMMAND [ARGS]]

Handle the VxWorks Real Time Processes (RTPs).

This command is VxWorks specific, and may not be invoked if connected to another Operating System.

List of thread subcommands:

Type “help rtp” followed by rtp subcommand name for full documentation. Command name abbreviations are allowed if unambiguous.

rtp attach – Attach to a VxWorks Real Time Process

Attach to a VxWorks Real Time Process.

rtp attach ID

  • ID – The ID of the RTP to attach to.

All the children of the process will be automatically attached to the debugger.

To know the list of attached RTPs, use “info rtps”, and check RTP IDs which are prepended with the “*” character.

rtp create – Create a VxWorks Real Time Process

Create a VxWorks Real Time Process.

rtp create [-w WORKINGDIR] [-d] FILE [ARGS]

See “help module” for a full description of what “FILE” stands for.

  • -w[orkingdir] – set working directory
  • WORKINGDIR – is the RTP working directory
  • -d[etached] – create the RTP detached from the debugger, not stopped at its entry point, and no output.
  • FILE – is the file path of program to be debugged.
  • ARGS – is the arguments to pass to started RTP.

To configure RTP creation options, see “show rtp create” and “set rtp create”.

To terminate an RTP (even if not attached), see “rtp kill”.

See “info rtps” for the list of running RTPs.

rtp detach – Detach from a VxWorks Real Time Process

Detach from RTP an attached Real Time Process.

rtp detach [ID]

  • ID – The ID of an attached RTP to detach from.

To know the list of attached RTPs, use “info rtps”, and check RTP IDs which are prepended with the “*” character.

rtp kill – Kill a VxWorks Real Time Process

Kill a VxWorks Real Time Process.

rtp kill [ID]

  • ID – If provided, kill the RTP which ID is ID. If not set, the current RTP (if any) is killed.

See “info rtps” for the list of running RTPs.