Command Cheat Sheet | Vxworks
: Spawns a new task with default priority (100) and stack size (20000 bytes).
iosDevShow — List registered I/O devices. vxworks command cheat sheet
sp [entryPt, args] : Spawns a new task with default parameters at a specified entry point. sps [entryPt, args] : Spawns a task in a suspended state. td [taskName|Id] : Deletes a specified task. ts [taskName|Id] : Suspends a running task. tr [taskName|Id] : Resumes a task that has been suspended. : Spawns a new task with default priority
: Allows manual modification of memory at the specified address. : Allows modification of CPU registers. : Returns the current contents of the program counter. 4. File System & Navigation sps [entryPt, args] : Spawns a task in a suspended state
| Command | Description | |---------|-------------| | i | Display summary of all tasks (ID, name, state, priority, stack) | | ti <taskId> | Show detailed task info (registers, stack usage, delays) | | tt <taskId> | Display task’s stack trace (call history) | | sp <function, args> | Spawn a task from shell (e.g., sp myRoutine, 5 ) | | taskSpawn <name>, <priority>, <options>, <stackSize>, <entryPoint> | Create a new task | | taskDelete <taskId> | Terminate a task | | taskSuspend <taskId> | Suspend execution | | taskResume <taskId> | Resume a suspended task | | taskPrioritySet <taskId>, <priority> | Change task priority | | taskLock / taskUnlock | Disable / re-enable task rescheduling (shell only) | | taskSafe / taskUnsafe | Prevent deletion of current task (critical sections) |
| Version | Shell command style | |---------|----------------------| | VxWorks 5.x | C‑interpreter shell, -> prompt, no spaces in sp args carefully | | VxWorks 6.x | Added host‑shell, some commands need cmd prefix | | VxWorks 7.x | More POSIX‑like, vx shell, task commands still work |
