您的位置:首页 > 其它

VxWorks Command Cheat Sheet

2012-06-07 23:35 1786 查看

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
iDisplay 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

devsList 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
helpDisplay summary of commands
cd "dir"Change directory
pwdPresent working directory
lslist the directory
CTRL+X or rebootReboot the processor
ld < filenameLoad a file
unld < "moduleName"Unload file
bootChangeModify the saved boot parameters
logoutLog out of the target

Object Information Commands

taskShowList info about the tasks from TCB
seqShowList info about the sequencers(EPICS state programs at LIGO) running on the target
semShowShow info about semaphore
moduleShowShow info about loaded modules (object files/programs)

Memory Information Commands

memShowDisplay allocated/free memory
memPartShowShow memory partition
semShowShow info about semaphore
****************************** END ****************************
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: