⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 windsh.html

📁 vxworks相关论文
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<pre>      -&gt; cret [task]</pre>If <i>task</i> is omitted or zero, the last task referenced is assumed.<p>When the breakpoint is hit, information about the task will be printed in thesame format as in single stepping. The breakpoint is automatically removed when hit, or if the task hits another breakpoint first.<p></blockquote><h4>RETURNS</h4><blockquote><p><p>OK or ERROR if there is no such task.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>,  <b><i><a href="./windsh.html#so">so</a></i>(&nbsp;)</b>,  <i>Tornado User's Guide: Shell</i><hr><a name="d"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools :  Routines</i></a></p></blockquote><h1><i>d</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>d</i>(&nbsp;)</strong> - display memory (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void d    (    void * adrs,   /* address to display (if 0, display next block */    int    nunits, /* number of units to print (if 0, use default) */    int    width   /* width of displaying unit (1, 2, 4, 8) */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command displays the contents of memory, starting at <i>adrs</i>.If <i>adrs</i> is omitted or zero, <b><i><a href="./windsh.html#d">d</a></i>(&nbsp;)</b> displays the next memory block, startingfrom where the last <b><i><a href="./windsh.html#d">d</a></i>(&nbsp;)</b> command completed.<p>Memory is displayed in units specified by <i>width</i>.  If <i>nunits</i> is omittedor zero, the number of units displayed defaults to last use.  If<i>nunits</i> is non-zero, that number of units is displayed and that numberthen becomes the default.  If <i>width</i> is omitted or zero, it defaultsto the previous value.  If <i>width</i> is an invalid number, it is set to 1.The valid values for <i>width</i> are 1, 2, 4, and 8.  The number of units <b><i><a href="./windsh.html#d">d</a></i>(&nbsp;)</b>displayed is rounded up to the nearest number of full lines.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>,  <b><i><a href="./windsh.html#m">m</a></i>(&nbsp;)</b>,  <i>Tornado User's Guide: Shell</i><hr><a name="devs"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools :  Routines</i></a></p></blockquote><h1><i>devs</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>devs</i>(&nbsp;)</strong> - list all system-known devices (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void devs (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command displays a list of all devices known to the I/O system.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>,  <b><i><a href="./windsh.html#iosDevShow">iosDevShow</a></i>(&nbsp;)</b>,  <i>Tornado User's Guide: Shell</i><hr><a name="h"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools :  Routines</i></a></p></blockquote><h1><i>h</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>h</i>(&nbsp;)</strong> - display or set the size of shell history (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void h    (    int size /* 0 = display, >0 = set history to new size */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command displays or sets the size of VxWorks shell history.  If noargument is specified, shell history is displayed.  If <i>size</i> isspecified, that number of the most recent commands is saved for display.The value of <i>size</i> is initially 20.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>,  <b><i><a href="./windsh.html#shellHistory">shellHistory</a></i>(&nbsp;)</b>,  <i>Tornado User's Guide: Shell</i><hr><a name="help"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools :  Routines</i></a></p></blockquote><h1><i>help</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>help</i>(&nbsp;)</strong> - print a synopsis of selected routines (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void help (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command prints the following list of the calling sequences forcommonly used routines.<p><pre>help                        Print this listh         [n]               Print (or set) shell historyi         [task]            Summary of tasks' TCBsti        task              Complete info on TCB for tasksp        adr,args...       Spawn a task, pri=100, opt=0,  stk=20000sps       adr,args...       Spawn a task, pri=100, opt=0,  stk=20000                            and leave it suspendedtd        task              Delete a taskts        task              Suspend a tasktr        task              Resume a taskd         [adr[,nunits[,width]]] Display memorym         adr[,width]       Modify memorymRegs     [reg[,task]]      Modify a task's registers  interactivelyversion                     Print VxWorks version info,  and boot lineb                           Display breakpointsb         addr[,task[,count]] Set breakpointbd        addr[,task]       Delete breakpointbdall     [task]            Delete all breakpointsc         [task[,addr[,addr1]]] Continue from breakpoints         [task[,addr[,addr1]]] Single stepl         [adr[,nInst]]     List disassembled memorytt        [task]            Do stack trace on taskbh        addr[,access[,task[,count]] Set hardware breakpoint                              (if supported by the architecture)devs                        List devicescd        "path"            Set current working pathpwd                         Print working pathls        ["path"[,long]]   List contents of directoryld        [syms[,noAbort][,"name"]] Load stdin,  or file, into memory                                    (syms = add symbols to  table:                                    -1 = none, 0 = globals,  1 = all)lkup      ["substr"]        List symbols in system  symbol tablelkAddr    address           List symbol table entries  near addressprintErrno  value           Print the name of a status  valueperiod    secs,adr,args...  Spawn task to call function  periodicallyrepeat    n,adr,args...     Spawn task to call function n times (0=forever)NOTE:  Arguments specifying &lt;task&gt; can be either task ID or name.</pre></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>,  <i>Tornado User's Guide: Shell</i><hr><a name="hostShow"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools :  Routines</i></a></p></blockquote><h1><i>hostShow</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>hostShow</i>(&nbsp;)</strong> - display the host table (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void hostShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine prints a list of remote hosts, along with their Internetaddresses and aliases.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b><i>Tornado User's Guide: Shell</i><hr><a name="i"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools :  Routines</i></a></p></blockquote><h1><i>i</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>i</i>(&nbsp;)</strong> - print a summary of each task's TCB, task by task (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void i    (    int taskNameOrId /* task name or task ID; 0 = summarize all */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command displays a synopsis of all tasks in the system, or a specifiedtask if the argument is given.The <b><i><a href="./windsh.html#ti">ti</a></i>(&nbsp;)</b> command provides more complete information on a specific task.<p>Both <b><i><a href="./windsh.html#i">i</a></i>(&nbsp;)</b> and <b><i><a href="./windsh.html#ti">ti</a></i>(&nbsp;)</b> use <b><i><a href="./windsh.html#taskShow">taskShow</a></i>(&nbsp;)</b>; see the documentation for <b><i><a href="./windsh.html#taskShow">taskShow</a></i>(&nbsp;)</b> fora description of the output format.<p></blockquote><h4>EXAMPLE</h4><blockquote><p><pre>-&gt; i   NAME       ENTRY     TID    PRI   STATUS    PC       SP    ERRNO DELAY---------- ---------- -------- --- --------- ------- -------- ----- -----tExcTask   _excTask    20fcb00   0 PEND      200c5fc  20fca6c     0     0tLogTask   _logTask    20fb5b8   0 PEND      200c5fc  20fb520     0     0tRlogind   _rlogind    20f3f90   2 PEND      2038614  20f3db0     0     0tTelnetd   _telnetd    20f2124   2 PEND      2038614  20f2070     0     0tNetTask   _netTask    20f7398  50 PEND      2038614  20f7340     0     0value = 57 = 0x39 = '9'</pre></blockquote><h4>CAVEAT</h4><blockquote><p>This command should be used only as a debugging aid, since the informationis obsolete by the time it is displayed.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>,  <b><i><a href="./windsh.html#iStrict">iStrict</a></i>(&nbsp;)</b>, <b><i><a href="./windsh.html#ti">ti</a></i>(&nbsp;)</b>, <b><i><a href="./windsh.html#taskShow">taskShow</a></i>(&nbsp;)</b>,  <i>Tornado User's Guide: Shell</i><hr><a name="iStrict"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools :  Routines</i></a></p></blockquote><h1><i>iStrict</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>iStrict</i>(&nbsp;)</strong> - print a summary of all task TCBs, as an atomic snapshot (*) (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void iStrict (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This command produces a display identical to that of <b><i><a href="./windsh.html#i">i</a></i>(&nbsp;)</b>, but guaranteesconsistency by retrieving all data in a single target transaction.<p></blockquote><h4>WARNING</h4><blockquote><p>This command should be used only as a debugging aid, since the informationis obsolete by the time it is displayed.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b>,  <b><i><a href="./windsh.html#i">i</a></i>(&nbsp;)</b>,  <i>Tornado User's Guide: Shell</i><hr><a name="icmpstatShow"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools :  Routines</i></a></p></blockquote><h1><i>icmpstatShow</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>icmpstatShow</i>(&nbsp;)</strong> - display statistics for ICMP (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void icmpstatShow (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays statistics for the ICMP (Internet ControlMessage Protocol) protocol.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./windsh.html#top">windsh</a></b><i>Tornado User's Guide: Shell</i><hr><a name="ifShow"></a><p align=right><a href="rtnIndex.html"><i>Tornado Tools :  Routines</i></a></p></blockquote><h1><i>ifShow</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>ifShow</i>(&nbsp;)</strong> - display the attached network interfaces (WindSh)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void ifShow    (    char * ifName /* name of the interface to show */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine displays the attached network interfaces for debugging anddiagnostic purposes.  If <i>ifName</i> is given, only the interfaces belongingto that group are displayed.  If <i>ifName</i> is omitted, all attachedinterfaces are displayed.<p>For each interface selected, the following are shown: Internetaddress, point-to-point peer address (if using SLIP), broadcast address,netmask, subnet mask, Ethernet address, route metric, maximum transferunit, number of packets sent and received on this interface, number ofinput and output errors, and flags (such as loopback, point-to-point,broadcast, promiscuous, ARP, running, and debug).<p></blockquote><h4>EXAMPLE</h4><

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -