100% found this document useful (2 votes)
10K views2 pages

VxWorks Command Cheat Sheet

This document provides a cheat sheet of common commands for task management, system information, object information, and memory information in VxWorks. Some key commands are sp and spt to spawn tasks, td to delete tasks, ts to suspend tasks, tr to resume tasks, devs to list devices, d and m to display and modify memory, and ls, pwd, and cd for basic file system commands. Information about tasks, modules, memory, and other objects can be viewed using commands like taskShow, moduleShow, and memShow.

Uploaded by

Vikas Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (2 votes)
10K views2 pages

VxWorks Command Cheat Sheet

This document provides a cheat sheet of common commands for task management, system information, object information, and memory information in VxWorks. Some key commands are sp and spt to spawn tasks, td to delete tasks, ts to suspend tasks, tr to resume tasks, devs to list devices, d and m to display and modify memory, and ls, pwd, and cd for basic file system commands. Information about tasks, modules, memory, and other objects can be viewed using commands like taskShow, moduleShow, and memShow.

Uploaded by

Vikas Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

VxWorks Command Cheat Sheet

Task Management Related commands


sp (entryPt, args) sps (entryPt, args) td (taskName or Id) ts (taskName or Id) tr (taskName or Id) Spawn a task with default parameters Spawn a task and leave it suspended Delete a task Suspend a task Resume a suspended task

Task Information Commands


checkStack (taskName or Id) Show stack usage for the task Example: checkStack "showtime" or checkStack 0x19c8f1 i ti (taskName) tt (taskName) tw (taskName) Display synopsis of all tasks Show detailed infofrom TCB (Task Control Block) Show stack trace Find info about the object the task is pending on

System Information/Modification Commands


devs lkup "symbol" d (hex_address) m (hex_address) printErrno(n) List all devices known on the target List vxWorks symbols from the system symbol table Display memory Modify memory Describe the most recent error status value with n=0 being latest

h |size| help cd "dir" pwd ls CTRL+X or reboot ld < filename unld < "moduleName" bootChange logout

Display command history default size is 20 Display summary of commands Change directory Present working directory list the directory Reboot the processor Load a file Unload file Modify the saved boot parameters Log out of the target

Object Information Commands


taskShow seqShow semShow List info about the tasks from TCB List info about the sequencers(EPICS state programs at LIGO) running on the target Show info about semaphore

moduleShow Show info about loaded modules (object files/programs)

Memory Information Commands


memShow memPartShow semShow Display allocated/free memory Show memory partition Show info about semaphore

You might also like