Vxworks Command Cheat Sheet: 'link'
| Command | C Interpreter Equivalent | Description & Use Case | | --- | --- | --- | | sp <function>, [arg1...arg9] | taskSpawn( ) | . Defaults to priority 100 and a 20,000-byte stack. Essential for launching a new routine quickly. | | period <n>, <function> | - | Create a periodic task that calls a function every n seconds. | | repeat <m>, <function> | - | Create a task that repeats m times (or forever if m is 0). | | i [tidX] | taskInfoGet( ) | Show task information . Lists all tasks and their states, priority, and ID. Use tidX for a specific task. | | ti [tidX] | taskInfoGet( ) | Display detailed task info , including register contents and stack information for deeper analysis. This is the command for when i isn't enough. | | ts [tidX] | taskSuspend( ) | Suspend a task . Stops the task without deleting it. | | tr [tidX] | taskResume( ) | Resume a suspended task . | | td [tidX] | taskDelete( ) | Delete a task . Removes the task from the system and frees its resources. | | tt [tidX] | - | Trace a task . Shows the task's function call stack, helping you understand execution flow. | | checkStack [tidX] | taskCheckStack( ) | Monitor stack usage . Identifies potential stack overflows, a common issue in embedded systems. Pass 0 to check all tasks. | | taskDelay(SYS_CLK_RATE) | taskDelay( ) | Delay a task by a certain number of system ticks (e.g., taskDelay(100) ). | | taskLock( ) | taskLock( ) | Disable task rescheduling, useful for creating critical sections. Use with caution. | | taskUnlock( ) | taskUnlock( ) | Re-enable task rescheduling after a taskLock() call. |
: Modifies memory at the given address interactively. vxworks command cheat sheet
: In legacy or C-mode target shells, literal strings (like file paths or task names) must be wrapped in double quotes: cd "/tffs0/" . | Command | C Interpreter Equivalent | Description