Docstoc

VxWorks_653_2_2_x_Command_References-uncontrolled

Document Sample
VxWorks_653_2_2_x_Command_References-uncontrolled Powered By Docstoc
					*UNCONTROLLED* - VxWorks 653 2.2.3 Command References - uncontrolled
Commands copied and reformatted from Wind River documents and shell helps.

VxWorks 653 UnQualified Shell Commands –
%WIND_HOME%\docs\extensions\eclipse\plugins\com.windriver.ide.doc.wr_workbench\wr_shell_api\wr_shell_6
53_api\windsh653UnQualified.html


SYNOPSIS
windsh         [-c.plus C++_library] [-e.xecute expression] [-h.elp]
    [-n.oinit] [-p.oll value] [-q.uiet] [-s.tartup file]
    [-T.clmode] [-v.ersion] serverIdentifier



DESCRIPTION
The commands documented in this library can be used with both certified and non-certified target images.
When used with certified images, these commands can only be used for debugging purposes. These
commands are not qualified and so cannot be used in test-for-credit situations.
Unless otherwise noted, the commands in this library will work with either system-mode or task-mode
debugging and can be executed while the system is running or while it is stopped at a breakpoint.



ROUTINES
   agentModeShow( ) - show the agent mode (*) (WindSh)
   arincSchedSet( ) - select a new schedule (WindSh VxWorks 653)
   arincSchedShow( ) - show ARINC scheduler information (WindSh VxWorks 653)
   bh( ) - set a hardware breakpoint (WindSh)
   bhv( ) - set a hardware data breakpoint with value check (shell command)
   bootChange( ) - change the boot line (WindSh)
   cd( ) - change the default directory (WindSh)
   checkStack( ) - print a summary of each task's stack usage (WindSh)
   cret( ) - continue until the current subroutine returns (WindSh)
   devs( ) - list all system-known devices (WindSh)
   h( ) - display or set the size of shell history (WindSh)
   help( ) - print a synopsis of selected routines (WindSh)
   hmLogEntriesSave( ) - write the HM log entries for a partition to a file (WindSh VxWorks 653)
   hmSystemStatusGet( ) - get the current system status state (WindSh VxWorks 653)
   hmPartitionHmTblShow( ) - show a partition HM table (WindSh VxWorks 653)
   hmContextShow( ) - show information about a HM context (WindSh VxWorks 653)
   hmHandlerTblShow( ) - show the table of registered handlers (WindSh VxWorks 653)
   hmModuleHmTblShow( ) - show the module HM table (WindSh VxWorks 653)
   hmSysHmTblShow( ) - show the system HM table (WindSh VxWorks 653)
   hmEventShow( ) - show information about a HM event (WindSh VxWorks 653)
   hmShow( ) - show information relating to the HM subsystem (WindSh VxWorks 653)
   hostShow( ) - display the host table (WindSh)
   i( ) - print a summary of each task's TCB, task by task (WindSh)
   iStrict( ) - print a summary of all task TCBs, as an atomic snapshot (*) (WindSh)
   iosDevShow( ) - display the list of devices in the system (WindSh)
   iosDrvShow( ) - display a list of system drivers (WindSh)
   iosFdShow( ) - display a list of file descriptor names in the system (WindSh)
   l( ) - disassemble and display a specified number of instructions (WindSh)
   lkAddr( ) - list symbols whose values are near a specified value (WindSh)
   lkup( ) - list symbols registered in a protection domain (WindSh)
   ls( ) - list the contents of a directory (WindSh)
   memAttrShow( ) - show typed-partition blocks and statistics (WindSh)
   memAttrShowAll( ) - show all the typed-memory partition blocks for a given
   memPartShow( ) - show blocks and statistics for a given memory partition (WindSh)
   memShow( ) - show blocks and statistics for the current heap partition (WindSh)
   moduleIdFigure( ) - figure out module ID, given name or number (*) (WindSh)

No warranty expressed or implied, use at your own risk. Consult Wind River for up-to-
date information.
*UNCONTROLLED* - VxWorks 653 2.2.3 Command References - uncontrolled
Commands copied and reformatted from Wind River documents and shell helps.
   moduleShow( ) - show the current status for all the loaded modules (WindSh)
   mRegs( ) - modify registers (WindSh)
   msgQShow( ) - show information about a message queue (WindSh)
   objNameShow( ) - display information about named objects (WindSh)
   objShowAll( ) - show all information on an object (WindSh)
   partHelp( ) - print a synopsis of patition specific APIs (WindSh)
   partPosixHelp( ) - print a synopsis of patition POSIX specific APIs (WindSh)
   partitionPosixMqShow( ) - show information about a POSIX message queue (WindSh)
   partitionPosixSemShow( ) - show POSIX semaphore information
   partitionPosixTimerShow( ) - show POSIX timer information
   partitionW( ) - show objects that partition tasks are waiting for (WindSh VxWorks 653)
   partitionPdIdGet( ) - get the object Id by partition number (WindSh VxWorks 653)
   partitionNumGet( ) - get number by the partition object Id (WindSh VxWorks 653)
   partitionModeGet( ) - get a partition operating mode and start condition (WindSh VxWorks 653)
   partitionTaskInfoShow( ) - show current partition task information (WindSh VxWorks 653)
   partitionTaskCheckStack( ) - show partition task stack information (WindSh VxWorks 653)
   partitionMemShow( ) - show current partition memory statistics (WindSh VxWorks 653)
   partitionMemPartShow( ) - show statistics about a partition memory (WindSh VxWorks 653)
   partitionTt( ) - stack trace of a task in the current partition (WindSh VxWorks 653)
   pCheckStack( ) - print a summary of each partition's thread stack usage (WindSh)
   pdb( ) - set or display protection domain breakpoints (WindSh)
   pdbh( ) - set a hardware PD breakpoint (WindSh)
   pdbhv( ) - set a hardware PD data breakpoint with value check (shell command)
   pdHelp( ) - display protection domain shell function synopsis (WindSh)
   pdi( ) - display tasks on a per-PD basis (WindSh)
   pdIdDefault( ) - return (or set) the default domain Id (WindSh VxWorks 653)
   pdIdFigure( ) - figure if the string passed is a domain ID or name (WindSh VxWorks 653)
   pdMemShow( ) - display memory information and usage for protection domains (WindSh)
   pdShow( ) - display information for protection domains (WindSh)
   pi( ) - print a summary of each threads (WindSh)
   pMemPartShow( ) - show memory partition blocks and statistics (WindSh)
   pMemShow( ) - show the partition blocks and statistics (WindSh)
   pPosixMqShow( ) - show information about a POSIX message queue (WindSh)
   pPosixSemShow( ) - show POSIX semaphore information (Windsh)
   pPosixTimerShow( ) - show POSIX timer information (WindSh)
   ptt( ) - display a stack trace of a of a partition's thread (WindSh)
   pw( ) - print a summary of each partion's thread pending information (WindSh)
   printErrno( ) - print the definition of a specified error status value (WindSh)
   printLogo( ) - display the Host logo (WindSh)
   pwd( ) - display the current default directory (WindSh)
   rBuffShow( ) - show rBuff details and statistics (WindSh VxWorks 653)
   reboot( ) - reset network devices and transfer control to boot ROMs (WindSh)
   rgnShow( ) - display information about a region node (WindSh)
   rgnPoolShow( ) - display information about a region pool (WindSh)
   s( ) - single-step a task (WindSh)
   semShow( ) - show information about a semaphore (WindSh)
   shellHistory( ) - display or set the size of shell history (WindSh)
   shellPromptSet( ) - change the shell prompt (WindSh)
   show( ) - display information on a specified object (WindSh)
   sdShow( ) - display information on a shared data region (WindSh)
   slShow( ) - display information for a shared library (WindSh)
   so( ) - single-step, but step over a subroutine (WindSh)
   sp( ) - spawn a task with default parameters (WindSh)
   sysResume( ) - reset the agent to tasking mode (*) (WindSh)
   sysSuspend( ) - set the agent to external mode and suspend the system (*) (WindSh)
   taskCreateHookShow( ) - show the list of task create routines (WindSh)
   taskIdDefault( ) - set the default task ID (WindSh)
   taskIdFigure( ) - figure out the task ID of a specified task (*) (WindSh)
   taskRegsShow( ) - display the contents of a task's registers (WindSh)
   taskShow( ) - display task information from TCBs (WindSh)
   taskSwitchHookShow( ) - show the list of task switch routines (WindSh)
   taskWaitShow( ) - show information about the object a task is pended on (*) (WindSh)


No warranty expressed or implied, use at your own risk. Consult Wind River for up-to-
date information.
*UNCONTROLLED* - VxWorks 653 2.2.3 Command References - uncontrolled
Commands copied and reformatted from Wind River documents and shell helps.
   ti( ) - display complete information from a task's TCB (WindSh)
   tick64Get( ) - get the 64-bit ticks value of current partition (WindSh VxWorks 653)
   tr( ) - resume a task (WindSh)
   ts( ) - suspend a task (WindSh)
   tt( ) - display a stack trace of a task (WindSh)
   tw( ) - print info about the object the given task is pending on (*) (WindSh)
   version( ) - print VxWorks version information (WindSh)
   w( ) - print a summary of each task's pending information, task by task (*) (WindSh)
   wdShow( ) - show information about a watchdog (WindSh)




No warranty expressed or implied, use at your own risk. Consult Wind River for up-to-
date information.
*UNCONTROLLED* - VxWorks 653 2.2.3 Command References - uncontrolled
Commands copied and reformatted from Wind River documents and shell helps.

VxWorks 653 Qualified Shell Commands –
%WIND_HOME%\docs\extensions\eclipse\plugins\com.windriver.ide.doc.wr_workbench\wr_shell_api\wr_shell_6
53_api\windsh653Qualified.html


SYNOPSIS
windsh            [-c.plus C++_library] [-e.xecute expression] [-h.elp]
       [-n.oinit] [-p.oll value] [-q.uiet] [-s.tartup file]
       [-T.clmode] [-v.ersion] serverIdentifier



DESCRIPTION
The commands documented in this library can be used with both certified and non-certified target images.
When used with certified images, these commands can be used in test-for-credit situations as well as for
debugging purposes.
Unless otherwise noted, the commands in this library will work with either system-mode or task-mode
debugging and can be executed while the system is running or while it is stopped at a breakpoint.



ROUTINES
apexBlackboardShow( ) - show information about blackboard (WindSh VxWorks 653)
apexEventShow( ) - show information about event (WindSh VxWorks 653)
apexSemShow( ) - show information about semaphore (WindSh VxWorks 653)
apexBufferShow( ) - show information about buffer (WindSh VxWorks 653)
apexProcessShow( ) - show information about APEX process (WindSh VxWorks 653)
apexQueuingPortShow( ) - show information about queuing port (WindSh VxWorks 653)
apexSamplingPortShow( ) - show information about sampling port (WindSh VxWorks 653)
hmLogEntriesShow( ) - display the contents of a given log (WindSh VxWorks 653)
b( ) - set or display breakpoints (WindSh)
bd( ) - delete a breakpoint (WindSh)
bdall( ) - delete all breakpoints (WindSh)
c( ) - continue from a breakpoint (WindSh)
d( ) - display memory (WindSh)
m( ) - modify memory (WindSh)
memoryUsageHeapShow( ) - show a partition's heap summary (WindSh VxWorks 653)
memoryUsageStackShow( ) - show task stack summary (WindSh VxWorks 653)
memoryUsageHmShow( ) - show a partition's HM memory pool summary (WindSh VxWorks 653)
memoryUsagePortShow( ) - show port page pool summary (WindSh VxWorks 653)
memoryUsageAllShow( ) - show all of a partition's memory usage summaries (WindSh VxWorks 653)
portMonitorDataAvailable( ) - indicates if data can be retrieved (WindSh VxWorks 653)
portMonitorStart( ) - start to monitor a specified channel (WindSh VxWorks 653)
portMonitorStartAll( ) - start to monitor all channels (WindSh VxWorks 653)
portMonitorStop( ) - stop to monitor a specified channel (WindSh VxWorks 653)
portMonitorStopAll( ) - stop to monitor all channels (WindSh VxWorks 653)
portMonitorEnable( ) - start the reporting of monitoring data (WindSh VxWorks 653)
portMonitorDisable( ) - stop the reporting of monitoring data (WindSh VxWorks 653)
portMonitorClear( ) - clear the monitoring buffer (WindSh VxWorks 653)
portMonitorShow( ) - show port monitoring information (WindSh VxWorks 653)
quit( ) - shut down WindSh (*) (WindSh)
timeMonitorShow( ) - show time monitoring CPU usage (WindSh VxWorks 653)
timeMonitorStop( ) - stop the time monitoring CPU usage (WindSh VxWorks 653)
timeMonitorStart( ) - start the CPU usage time monitoring (WindSh VxWorks 653)
timeMonitorClear( ) - clear the time monitoring values (WindSh VxWorks 653)
timeMonitorAPEXShow( ) - show APEX process time monitor values (WindSh VxWorks 653)



No warranty expressed or implied, use at your own risk. Consult Wind River for up-to-
date information.
*UNCONTROLLED* - VxWorks 653 2.2.3 Command References - uncontrolled
Commands copied and reformatted from Wind River documents and shell helps.

prj configuration utility
SYNOPSIS
prjScriptLib - TCL scripting commands for project manipulation


DESCRIPTION

DESCRIPTION
Tornado project facility is a mechanism for a user to create various types
of projects to graphically organize source files into projects, change the build rules, and
configure the operating system. See the Tornado Users Guide for details on what facilities the
project facility offers.
This library provides a way to perform these tasks in a script.
Unless an absolute path is specified, the project directory to be created
is in $WIND_PROJ_BASE if this environment variable is defined, or in
$WIND_BASE/target/proj otherwise.
Depending on the type of the current project,
some routines may not be callable. Since most routines in this library
need a projHandle as the first arguement,
one must open a project to get the project handle.
To use this library, one must first source this library from
tclsh. As an example, suppose you wanted to do a clean build of
your project every night. One could write a script as follows:
example.tcl:
   source [file join [Wind::base] host resource app-config Project \
                     prjScriptLib.tcl]
   set projHandle [projOpen myProjectDir]
   projBuild $projHandle clean
   projBuild $projHandle
One can execute the script from a UNIX or Windows command shell by
typing "tclsh example.tcl."
Alternatively, one can type the scripting commands directly into the
tclsh shell.

These commands may also be used in makefiles executed inside the VxWorks 653 2.2.3
shell:
# Create the Module OS project and copy the usrAppInit into it
createMos:
       prjCreate -domtype kernel -prj $(MOS_PRJ) -bsp $(BSP) -name coreOS -ddf
certKernelAndStack
       prj projBuildSet -p $(MOS_PRJ) $(POLLED_DRVS_TOOLCHAIN)
       prjCreate -domtype kernel -prj $(MOS_PRJ) -bsp $(BSP) -name coreOS
       prj projBuildSet -p $(MOS_PRJ) $(POLLED_DRVS_TOOLCHAIN)




TCL PROCEDURES
`projOpen' - open a project
`projClose' - close an open project
`projSave' - save a project (without closing)
`projCreate' - create a project and open it
`projCopy' - create a copy of an existing project and open it


No warranty expressed or implied, use at your own risk. Consult Wind River for up-to-
date information.
*UNCONTROLLED* - VxWorks 653 2.2.3 Command References - uncontrolled
Commands copied and reformatted from Wind River documents and shell helps.
`projHandleGet' - get the handle to the last opened project
`projTypeGet' - return the project type
`projVersionFilesGet' - get files suitable for version control of a project
`projBuild' - build the project
`projBuildSet' - set the active build
`projBuildGet' - get the active build
`projBuildCreate' - create a new build
`projBuildDelete' - delete a build specification
`projBuildListGet' - get the list of build specifications of a project
`projBuildTargetListGet' - get the list of build targets for this project
`projBuildTargetGet' - get the current build target for this project
`projBuildTargetSet' - set the current build target for this project
`projHelp' - get help on prjScriptLib functions
`projBuildToolMacrosGet' - get a list of tool macros for this project
`projBuildToolPathGet' - get the tool corresponding to a given tool macro
`projBuildToolPathSet' - sets the tool corresponding to a tool macro
`projBuildDefaultToolForFileExtensionGet' - get the default tool for a file
             extension
`projBuildToolFlagsGet' - get the flags for a tool
`projBuildToolFlagsSet' - set the flags for a tool
`projBuildFileToolMacroGet' - get the tool macro for a source file
`projBuildFileToolMacroSet' - set the tool macro for a source file
`projBuildFileToolPathSet' - set the tool path for a source file
`projBuildFileToolPathGet' - get the tool path for a source file
`projBuildFileToolFlagsGet' - get the build flags for a source file
`projBuildFileToolFlagsSet' - set the build flags for a source file
`projBuildMacroListGet' - get list of build macros for this project
`projBuildMacroValueGet' - get value of a build macro for this project
`projBuildMacroValueSet' - set value of a build macro for this project
`projBuildMacroDescriptionGet' - get description of a build macro for this
             project
`projDerivedObjectsGet' - get the derived objects for this project/build
             specification
`projBuildFileDerivedObjectsGet' - get the derived object(s) for this source
             file
`projBuildSubProjectBuildGet' - gets a subproject build specification
`projBuildSubProjectBuildSet' - sets a subproject build specification
`projBuildToolDescriptionGet' - get the description of a tool
`projBuildCpuGet' - get the cpu for a given build specification
`projBuildVendorGet' - get the vendor for a given build specification
`projBuildTemplateGet' - get the template for a given build specification
`projBuildReadOnlyDependencyPathGet' - get the read-only dependency path
`projBuildReadOnlyDependencyPathSet' - set the read-only dependency path
`projBuildFileDependenciesGet' - gets the dependencies for a source file
`projBuildTagValueGet' - gets the value of a build tag
`projBuildTagValueSet' - set the value of a build tag
`sysDomainAdd' - add a domain to a system project
`sysDomainRemove' - remove a domain from a system project
`sysDomainListGet' - get a list of domains of a project
`sysDomCfgRecAdd' - update the configRecord with the partition
`sysDomCfgRecDisable' - disable the partition from the configRecord
`sysDomMemPoolAdd' - update the system memory poll with the partition
`sysDomMemPoolDisable' - disable the memory poll associate to the partition
`sysDomainProjectGet' - get the domain project within a system project
`sysConfigValidate' - detect configuration conflicts of a system project
`domAttributeSet' - set a domain attribute
`domAttributeGet' - get a domain attribute value
`domAttributeListGet' - return a list of attributes and their values
`bootAttributeSet' - set a bootApp attribute
`bootAttributeGet' - get a bootApp attribute value
`bootAttributeListGet' - return a list of attributes and their values
`domComponentBundleAdd' - add component bundle from a DDF file to a domain
`domComponentAdd' - add components to vxWorks


No warranty expressed or implied, use at your own risk. Consult Wind River for up-to-
date information.
*UNCONTROLLED* - VxWorks 653 2.2.3 Command References - uncontrolled
Commands copied and reformatted from Wind River documents and shell helps.
`domComponentRemove' - remove components from vxWorks
`domComponentListGet' - get a list of components in a project
`domPreciousComponentListGet' - get a list of precious components in a domain
`domParameterValueSet' - set the value of a parameter
`domParameterValueGet' - get the value of a parameter
`domParameterListGet' - return the list of {parameter value}
`domEntryPointListGet' - get the list of entry points of a project
`domIdGet' - get the domain id of a domain project
`bootIdGet' - get the id of a bootApp project
`domBspGet' - get the bsp used for a kernel domain project
`bootBspGet' - get the bsp used for a bootApp project
`domComponentProjectGet' - return a component project within a domain
`compAttributeListGet' - get a list of attributes for a component
`compAttributeGet' - get a component attribute value
`compAttributeSet' - set a component attribute
`compParameterAdd' - add a component parameter
`compParameterRemove' - remove a component parameter
`compParameterListGet' - list component parameters
`compParameterAttributeSet' - set a parameter attribute for a component
`compParameterAttributeGet' - get a parameter attribute for a component
`compParameterAttributeListGet' - get list of parameter attributes for a
             component
`compEntryPointsListGet' - get the value of attribute ENTRY_POINTS
`compEntryPointsAdd' - add entrypoints to attribute ENTRY_POINTS
`compEntryPointsRemove' - delete entrypoints from attribute ENTRY_POINTS
`compExportToGallery' - export a component project to become a binary
             component
`compExportToZip' - export a component project to become a binary component
`compImportFromZip' - import a component from a zip file
`compFileListGet' - get a list of files in the project
`compFileAdd' - add a list of source files to the project
`compFileRemove' - remove a list of source files from the project
`compBinaryModuleAdd' - add binary module(s) to a component project
`compBinaryModuleRemove' - remove binary module(s) from a component project
`compBinaryModuleListGet' - get the list of binary modules in a component
             project
`compTreeGet' - get the component tree
`compDependInfo' - get info about a set of components
`compIdGet' - get the component id of a component project
`bootComponentAdd' - add components to bootApp project
`bootComponentRemove' - remove components from bootApp project
`bootComponentListGet' - get a list of components in a project
`bootPreciousComponentListGet' - get a list of precious components in a
             bootApp
`bootParameterValueSet' - set the value of a parameter
`bootParameterValueGet' - get the value of a parameter
`bootParameterListGet' - return the list of {parameter value}
`bootComponentProjectGet' - return a component project within a domain
`projCreateRawSizeInfo' - Create .nm and .size info for a component




No warranty expressed or implied, use at your own risk. Consult Wind River for up-to-
date information.
*UNCONTROLLED* - VxWorks 653 2.2.3 Command References - uncontrolled
Commands copied and reformatted from Wind River documents and shell helps.
To execute a command that is normally unavailable in the CERT environment

[coreOS] ->
[coreOS] -> memset (0x0a000000, 0, 10)
Target command is not allowed in safe mode
[coreOS] -> ?
tcl> ? set certTestFlag 0
0
tcl> ?
[coreOS] -> memset (0x0a000000, 0, 10)




No warranty expressed or implied, use at your own risk. Consult Wind River for up-to-
date information.

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:91
posted:12/27/2011
language:English
pages:8