VxWorks Command Cheat Sheet
Ligo Livingston Observatory - Chethan Parameswariah: Jan 5, 2004
Task Management Related commands
sp (entryPt, args) | Spawn a task with default parameters |
sps (entryPt, args) | Spawn a task and leave it suspended |
td (taskName or Id) | Delete a task |
ts (taskName or Id) | Suspend a task |
tr (taskName or Id) | Resume a suspended task |
Task Information Commands
checkStack (taskName or Id) | Show stack usage for the task |
| Example: checkStack "showtime" or checkStack 0x19c8f1 |
i | Display synopsis of all tasks |
ti (taskName) | Show detailed infofrom TCB (Task Control Block) |
tt (taskName) | Show stack trace |
tw (taskName) | Find info about the object the task is pending on |
System Information/Modification Commands
devs | List all devices known on the target |
lkup "symbol" | List vxWorks symbols from the system symbol table |
d (hex_address) | Display memory |
m (hex_address) | Modify memory |
printErrno(n) | Describe the most recent error status value with n=0 being latest |
h |size| | Display command history default size is 20 |
help | Display summary of commands |
cd "dir" | Change directory |
pwd | Present working directory |
ls | list the directory |
CTRL+X or reboot | Reboot the processor |
ld < filename | Load a file |
unld < "moduleName" | Unload file |
bootChange | Modify the saved boot parameters |
logout | Log out of the target |
Object Information Commands
taskShow | List info about the tasks from TCB |
seqShow | List info about the sequencers(EPICS state programs at LIGO) running on the target |
semShow | Show info about semaphore |
moduleShow | Show info about loaded modules (object files/programs) |
Memory Information Commands
memShow | Display allocated/free memory |
memPartShow | Show memory partition |
semShow | Show info about semaphore |
****************************** END ****************************