WindshBuilt-in commands
3.1.4.1
Task Management
SP ()Create a task with the default parameter (priority = 100 returns the task id or error) (taskspawn)
SPS ()
Creates a task and suspends it.
TR ()
Resume a suspended task (same as taskresume)
TS ()
Pending a task (same as tasksuspend)
TD ()
Delete a task (same as taskdelete)
Period ()
Create a function call task
Repeat ()
Create a task to call a function repeatedly
Taskiddefault ()Set and report the current default task id.
3.1.4.2 task status information
I ()
Displays system information, including the current task description and status (the target machine is repeatedly queried, and sometimes inconsistency is displayed)
Istrict () Similar to I (), but only query the target machine once
Ti ()Display the TCB information of the task
W ()
Displays details of all pending tasks ..
TW ()Displays details of a pending task.
Checkstate ()Displays a summary of the use of stacks for a task. If no task is defined, all
TT ()Display stack records
Taskidfigure ()Report task id and name
3.1.4.3 system information
Devs ()List all devices on the target machine system
Lkup ()List symbols from symbol table
Lkaddr () List symbols whose values are near a specified value
D ()
Display target machine memory
L ()Disassemble and display a specific nuber of instructions
Printerror ()Returns the latest error value.
Version ()Show VxWorks version
CD ()Change the working directory of the host machine (not affecting the target machine)
Ls ()List Files in the host's working directory
PWD ()Displays the current working directory of the host.
Help ()
Show Shell Command help
H ()
Display the 20 most recently entered commands
Shellhistory ()Set or display shell commands
Shellpromptset ()Prompt for changing C interpreter Shell
Printlogo ()
Display tornado shell Login
3.1.4.4 system modification and debugging
LD ()
Load an object module to the target machine and dynamically connect to the run-time
UNLD ()
Delete the dynamically connected object module from the memory of the target machine
M ()Modify memory in width (byte, short, long) starting at ADR.
Mregs ()
Changes the register value for a specific task. The first parameter register name (for example, "R0") and the second parameter is the task id.
B ()
Set or modify a breakpoint
BH ()Set hardware breakpoint
S ()
The next command is tracked in one step.
So ()One-step tracking, but skip the subroutine
C ()Continue from the breakpoint
Cret ()
Continue execution until the current subroutine returns
Bdall ()Delete all breakpoints
BD ()Delete a breakpoint
Reboot () Restart the targe server.
Bootchange ()Change the value of the boot parameter
Syssuspend ()If the target machine proxy supports this function, go to system mode.
Sysresume ()
If the target machine proxy supports this function, the system mode is returned to the task mode.
Agentmodeshow ()Display proxy mode (system mode or Task Mode)
Sysstatusshow () Display the SYSTEM context (used in suspend or running system mode)
Quit () or exit ()
3.1.4.5 object command (windsh commands for object display)
Show ()
Print the information of a specific object in the shell window
Browse ()Display specific objects in tornado Browser
Classshow ()Show information about a class of VxWorks kernel objects. List available classes
Taskshow ()Display task TCB Information
Taskcreatehookshow() Display the task creation routine list
Taskdeletehookshow()
Display the list of task deletion routines
TaskregsshoW ()
Display task register content
Taskswitchhookshow()
Display the task switching routine list
Taskwaitshow()
Display blocking task information
Semshow ()
Display semaphore Information
Sempxshow()
Display POSIX semaphore Information
Wdshow ()
Display information about the Watchdog
Msgqshow ()
Display message queue Information
Mqpxshow ()
Display POSIX Message Queue Information
Iosdrvshow()
Display System driver information
Iosdevshow() Display system device information
Iosfdshow (Displays the system name descriptor information.
Mempartshow() Display partition blocks and Statistical Information
Memshow (Displays the total number of idle and allocated spaces in the system partition.
Smmemshow() Display the amount of free space and statistics on
Memory-block allocation for the shared-memory system partition
Smmempartshow() Display the amount of free space and statistics on
Memory-block allocation for a specified shared-memory Partition
Moduleshow() Show the current status for all the loaded modules
Moduleidfigure() Report a loaded module's module ID, given its name
Intvecshow() Display the interrupt vector table. This routine displays (unavailable under NT)