VxWorks Command Cheat Sheet

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值