




已阅读5页,还剩18页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
MGW指令:一 Bordtemp 显示板的温度tempSensorUnitIdTemperature sensor id. Values: 0, 1, 2 .二 Capi 显示CPU负荷值capi prio interval capi type interval capi name . interval capi totcapi list capi peakcapi logstartcapi logstop三 Cat 合成文件,按顺序读取文件并按标准格式输出,CTRL+X终止输出四 Cd 进入目录五 Cls 清屏六 Cp 复制文件七 Exit 退出 八 help command . . . 命令帮助九 ifconfig netmask broadcast 设置IP(可单独用于查询,可不加broadcast)十lhsh -v lhsh是一个重要的指令,用于激活远端的COMMAND SHELL,假如在背后加上相应指令,则将在COMMAND SHELL下运行该指令后即行退出,否则,将激活COMMAND SHELLlhpath参数是用于给出路径去激活ose_shell,如果给出路径,用户将直接使用路径中的指令。区别如下:$ lhsh slave $ lhsh slave ps前者是进入SLAVE,随后输入的指令都是在SLAVE状态,直至输入EXIT,后者是在SLAVE状态下执行PS后直接退出SLAVE状态十一、ipac_ping -d -z -c -s 校验IP连接,参数分别为目的IP,源IP,发送次数和ICMP大小。十二、mkdir 建立文件夹十三、MsbHostMo_StartPing -d -z -c -s 从ET-MFG板发ICMP包到指定目的地测试连接,如果需要终止,使用MsbHostMo_StartPing十四、mv . 改名或移动文件,注意DESTINATION不能存在,否则会被覆盖十五、ping IP系统间的校验十六、readclock -u 读取系统时间,-u参数为更改输出格式,在板处于LOAD状态下不可用十七、rm 删除指定文件十八、te log read -rel|-mon 读取追踪或者错误LOG,读取期间LOG将停止十九、traceroute 追踪路由,该指令会记录从源到目的地所经IP系统,支持最大30个IP记录二十、vii 显示板的LED状态二十一、aal1stat reset 输出所有在GPB中已经打开的AAL1状态,如加上参数则为重置二十二、autodds error 1 | 2autodds trace none | some | all | dispatch为OSE核心(操作系统环境)配置默认调测支持(DEFAULT DEBUG SUPPORT)。用于改变板启动时的错误校验级别或者OSE追踪。默认错误校验级别为1,追踪设置为NONE,以获得最佳性能。二十三、board_status-d -f -c board_status-g -f -c board_status-l -f -c 该指令将会运行大量预定义的CLI指令并输出执行结果。这些指令可以对配置中所有的或者指定的板执行不同指令,也能够让所有的板执行同一条指令。board_status主要用于收集所有板对于一些指令的输出,能为错误分析提供相关信息。二十四、cv clean cv csum cv cucv lscv mk cv rbcnt cv rbinit cv rbrm cv rbset cv rm cv set cv synch cv up 管理CV二十四、ls . 列出指定的文件或者目录,如果没有附加参数,则列出当前工作目录二十五、stat 显示指定的文件或者目录信息二十六、dump -ltT -s -i -o dump cleardump error -i -o dump info -tT -i -o dump save dump list -a用于系统崩溃时,列出并显示错误分析数据系统崩溃时,相关错误信息会转存到事后剖析转存区,并保存在一个文件中。信息量非常庞大,建议使用-s参数过滤。clearClear the memory area for the dump information. errorList the section in the dump information, where the general description of the cause of the restart is List all section names in a dump information file. Same as dump -l.listList all dump information files in memory and in the file system.saveSave a dump information file at a specified location. -aInclude dump information files in the file system, when listing all dump information files.-iRead dump information from the specified file.-lList all sections in a dump information file. Same as dump info.-oOutput the information from the dump command to the specified file.-sDisplay only those sections that match the filter argument. The filter is case-insensitive and can match part of the section name.-t, -TUsed with -l. Display the timestamp information for each section. -t is the time from writing the first section. -T is the time relative to the writing of the previous section. This is mainly used for debugging the dump manager.pmd_identityThe dump identity由于信息量庞大,可以用dump -l 和 dump info.来列出信息分类和分类中的详细信息。如下面的例子:$ dump -lOUTPUT OF DUMP INFORMATION Dump identity: 0x17c20211 Dump created : 1970-01-26 02:03:38.514820 Sections included in dump information: Size Section name = 100 POST MORTEM DUMP 192 ERROR HANDLER PARAMETERS 620 ERROR CODE 196 MEMORY MANAGER 356 CPU LOAD 368 FLASH PROGRAMS 472 FLASH PARAMETERS 312 SIGNAL QUEUE FOR PROCESS 0x10198 ose_webs 412 REGISTERS FOR PROCESS 0x2020d test 564 PMD STACK FOR PROCESS 0x2020d test 416 SUPERVISOR STACK PREAMBLE FOR PROCESS 0x2020d test 588 SUPERVISOR STACK FOR PROCESS 0x2020d test 212 MAIN STACK PREAMBLE FOR PROCESS 0x2020d test 212 MAIN STACK FOR PROCESS 0x2020d test 236 SIGNAL NUMBERS FOUND IN QUEUE FOR 0x10198 ose_webs 2404 LOADED PROGRAMS 784 BLOCK ENVIRONMENT VARIABLES FOR 0x30203 rpdouttest.chk 5284 KERNEL TRACE CONTENTS 6428 HEAP Information 196 ADDRESS ZERO 328 HARD DISK INFO 340 HARD DISK STATISTICS 16996 PROCESS LIST 772 LIST OF RECEIVE SELECTORS FOR PROCESSES PENDING IN RECEIVE 824 ERROR LOG 31812 TRACE AND ERROR 232 DUMP SPACE SLACK$The interesting section can then be displayed with the filter option dump -s . $ dump -s ERROR CODEOUTPUT OF DUMP INFORMATION Dump identity: 0x17c20211 Dump created : 1970-01-26 02:03:38.514820ERROR CODE PMD-id: 0x17c20211 Board location: 001400 Time: 70-01-26 02:03:37 System ticks: 34825, Microseconds since last tick: 2099 ERROR NUMBER 0x00110031 WITH EXTRA DATA 0x1E7783C8 OCCURRED IN PROCESS test TYPE PRI-16 BLOCK rpdouttest.chk ERROR SPECIFICATION The caller tried to operate on the NIL pointer. The buffer has probably been sent or freed already. The extra parameter contains the address of the signal pointer that points to NIL. Ignoring this error causes the illegal system call to be ignored. The system call in progress = FREE_BUF() Dump generated in Basic Restart type: WARM RESTART The following text message was provided by the reporting application: The caller tried to operate on the NIL pointer. The buffer has probably been sent or freed already. The extra parameter contains the address of the signal pointer that points to NIL. Ignoring this error causes the illegal system call to be ignored. How to read the BP Trace and Error information using an MP.$ lhsh 000100Welcome to OSE Shell OSE00100 dump -s TRACE ANDOUTPUT OF DUMP INFORMATION Dump identity: 0xce780112 Dump created : 2005-06-20 14:37:32.887798TRACE AND ERROR Not enough memory to complete the operation.000100 dump save /c/pmd/my_pmd.pmd Writing dump file 0xce780112 to file /c/pmd/my_pmd.pmd000100 exit$ dump -s TRACE AND -i /c/pmd/my_pmd.pmdOUTPUT OF DUMP INFORMATION Dump identity: 0xce780112 Dump created : 2005-06-20 14:37:32.887798TRACE AND ERROR 2005-06-20 07:29:51.812 Cls_bpID_proc subrackID403.c:618 ERROR:Checksum error. Reason could be empty or corrupted EEPROM in backplane. 1970-01-01 00:00:00.724 Cs_boardManager_proc osa_board_mgr.c:2391 INFO:Start of (#)CXC1321451 R51S01 2005-06-15 14:39:44 MEST 868a922d-0a42de10-6148二十七、echo -n .在新一行中输出指定字符,如果没有参数,则输出空行二十八、errno .这个指令输出所有系统呼叫出错号码,或指定系统呼叫出错号码,其中包含相关解释。如果没有参数,系统会输出所有错误号代码以及相关解释。二十九、dumpelg显示所有的错误和修复信息。三十、heapinfo -aemopsx -A -R 该指令输出系统中不同堆中semi-snapshot的堆统计,输出的格式和不同的堆由参数决定Options-aAll of the below.-AMatch only buffers with actual size.-eCheck endmarks of the buffers.-mSummary of total heap usage. Including high water-mark. -oOwnership of the buffers in a segment.-pGather per process.-RMatch only buffers with requested size.-sSummary of the buffer usage.-xHex and ASCII dump of the buffers.Operandspid|segid|0Identify process, block or segment. It can be a numerical process id (pid), block id (bid) or segment id. 0 identifies the system segment. Hexadecimal numbers must start with 0x. It can also be an ASCII name of process(es) or block(s). A single trailing (*) can be used as a wild card. Thus ose_* will match all processes and block starting with ose_.该指令从系统不同堆片段中定位动态数据结构。能定位的数据要视乎定义的请求缓存大小决定。因此该指令可能会因为堆溢出而引致系统崩溃。三十一、keys = .如果不加参数,该指令会显示输入指令所对应定义的热键。如果带参数,则对应指令会与指定的键匹配。指定热键的时候,使用字符,而后输入对应的大写字母则可。del被指定为DEL键,ign则表示该指令未指定热键。指令可能会变成如下:eol, eof, eraseleft, eraseright, werase, kill, reprint, intr, susp, start, stop, discard, verbatim, status, curleft, curright, curbegin, curend, search, prevline, nextline, eraseeol。如果需要取消热键,可用例如“keys kill=ign Ignore”三十二、listloaded -p 该指令显示当前输入模块中通过处理程序载入的数据。通过加入载入模块参数号,能列出指令模块中的数据。Options-pLinkhandler option. The load modules are printed for a processor, which is identified by the name of the link handler. Operandsload_module_idList data only for the specified load module. A printout of a link command file is received, which you can use to relink your program to get a symbol table file, which is used for SingleStep run mode debugging. 三十三、llog -l 列出错误记录三十四、md5 输出MD5校验码三十五、mirror stat查看镜像状态三十六、pglist该指令显示载入到内存中的程序信息,包括程序处理,程序状态,位置,载入模块号以及参数等。-eDisplay the environment variables of the programs. 三十七、poolinfopoolinfo -u | poolid | pid |bidpoolinfo -r poolinfo -l 指令为制定的用户或者池列出可用的池信息。如果给出进程的ID,将会对进程所在的池进行检查。如果给出模块ID,将检查连接池的模块。需注意的是,ID需用十六进制。-lPrint detailed information.-r prioritySpecify a new priority for the profiler process.-u userSpecify a certain user number. The default user number is 0 if no -u flag or id is specified. Today is only implemented for default value.poolidPool identity. pidProcess identity. bidBlock identity.5.16.6 PrintoutThe following information is printed:fragsNumber of pool fragments, i.e. how many times the pool has been extended. totsizeTotal poolsize.usedHigh watermark of how much pool that has been used. unusedPool memory that is free to be used either as signal buffers or process stack. If option -l is given the following detailed information is also printed:signal sizesNumber of different sizes that is defined at compile time, 1 column per size in print out.sig_confDefined size at compile time.sig_allocSnapshot of number of allocated signals for each defined size.stack sizesNumber of different sizes that is defined at compile time, 1 column per size in print out.stk_confDefined size at compile time. stk_allocSnapshot of number of allocated stacks for each defined size. fragmentColumn with fragment number.baseaddrStart address for each fragment.lastaddrLast address for each fragment.sizeTotal size of fragment.sigsizeSize used for signal allocation, high water mark. stksizeSize used for stack allocation, high water mark. unusedFree pool to be used for allocation of stack or signals of any defined size.三十八、ps -w -b / .列出指定进程或者指定模块中的所有进程,如果不给予参数,将列出所有进程。进程和模块能通过以下信息指定: 0x10001 numerical pid ose_shell name ose* wildcard *(14) pixlist index三十九、qs指令列出指定进程的信号和内容。该指令返回一个列表,包含队列中信号的信息。四十、reload coldwtest | cold | refresh | - | - 该指令用于重启单板。当在无错误冗余的NODE中执行时,会导致整个MGW重启。该指令不适合于用于改变配置,如果需要,可使用RESTARTOBJReload 只能在串口模式下执行-none-Warm restart. When executed without options, the operating system is restarted and all load modules are restarted with conditional reload (reloaded if found faulty).coldHardware on this board is reset and all load modules are unconditionally reloaded.refreshAll load modules on this board are unconditionally reloaded and only a minimal set of initial tests are executed.coldwtestHardware on this board is reset and all load modules are unconditionally reloaded. Hardware tests are performed and reported. -Warm restart. Loading is stopped after the Basic_lm is loaded. No other load modules than Backup_lm are loaded. The command reload (without -) must be used to exit this mode.Note: Avoid doing the exit command at the serial connection. The OSE shell will exit and the serial connection is lost. Power off on the board restarts the OSE shell.-Warm restart. This option will force the processor to enter Forced Backup Mode. No other load modules than Backup_lm are loaded. The command reload (without -) must be used to exit the Forced Backup Mode.Note: Avoid doing the exit command if using a serial connection. The OSE shell will exit and will not be re-established. Power off/on the board is the only way to resolve the deadlock.四十一、restartObj me | piu upgrade | pgm该指令能用于重启指定的NODE(Managed Element ,me),plug-in unit (piu)或者程序(pgm)。-none-Warm restart. When executed without options, the board is restarted and all load modules are restarted with conditional reload (reloaded if found faulty).coldHardware on this board is reset and all load modules are unconditionally reloaded. Some hardware tests are performed.coldwtestHardware on this board is reset and all load modules are unconditionally reloaded. Hardware tests are performed and reported. hotThe specified application is restarted.refreshAll load modules on this board are unconditionally reloaded and only a minimal set of initial tests are executed.该指令只能在主MP使用,restartObj pgm对核心程序无效。四十二、ver该指令用于显示OSE核心和SHELL的版本四十三、vols . . .列出指定或者所有卷的信息四十四、WHO列出登录的用户和终端四十五、ch_counters_command -h ch_counters_command clear allch_counters_command clear 该指令列出GCP指令统计clear allClears GCP command statistics for all existing VMGws.clearClears GCP command statistics for the given VMGw. -hPrints this help information.四十六、mesc_counters_aal -help mesc_counters_aal -aal2ncimesc_counters_aal -aal2grimesc_counters_aal -aal1nci列出相关计数器信息。-aal2nciDisplays AAL2NCI counters: number of nodeConnReq, netconnReq, local and remote connRej, local and remote DiscInd, total DiscInd and total DiscIndRsp.-aal2griDisplays AAL2GRI counters: number of reserveResourcesReq/Rej, reserveSugrReq/Rej and ReleaseSugrReq.-aal1nciDisplays AAL1NCI counters: number of nodeConnReq/Rej and DiscInd.四十七、mesc_counters -help | -all | -memFactorymesc_counters 该指令显示计数器的MESC信息。-helpPrints this help information.-allPrints information of this MeSC and all Vmgw counters. -memFactoryPrints information of the memory factories in this MeSC.四十八、mesc_counters_gcp -helpmesc_counters_gcp 该指令显示计数器。四十九、mesc_counters_gcp -help | -allmesc_counters_gcp 该指令显示关于AAL1NCI, AAL2NCI, AAL2GRI, ARI, ERQ 和 REL计数器超时信息。五十、mesc_counters_gcp -helpmesc_counters_gcp 该指令输出计数器相关的IPBCP和BCTP。五十一、chmod 该指令用于改变访问权限。该模式通过三位八进制数字或者三个字母指定(r,w和x)只能选择其中一种组合。当使用数字组合时,三位数分别代表owner, group and others。详细请见如下例子:Allow only read for all classes, using a three-digit octal number:chmod 444 fileAllow only read for all classes, using a character sequence:chmod r fileAllow read, write, and execute for all classes, using a character sequence: chmod rwx fileRemove all permissions for all classes:chmod 000 file 五十二、passwd配置密码远程登录模式需要输入旧密码串口直连模式可直接输入BASIC模式下的修改则对在该模式下运行的所有MP有效。如果没加密码,则默认密码为ericsson五十三、secmode-a s|u | secmode -c s|u -d s|u -f s|u -t s|u | - s | -m s|u | -l 1|2|3|a|c安全设置该指令用于开启或关闭访问服务数的安全设置,改变或者显示安全级别。-aSet security mode for all functions described below (-c,-d,-f,-t, -m) s - Secureu - Unsecure-cCORBA Security (Default: OFF) s - Secure (CORBA security is ON)u - Unsecure (CORBA security is OFF)-dDebug Server and UDP Link Han
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 城市纪录片活动方案策划
- 股权设计企业咨询方案范文
- 造价咨询技术标服务方案
- 财务公司咨询方案好做吗
- 五一广场舞活动策划方案
- 2025年光伏组件生产效率提升技术与设备选型报告
- 强生营销方案
- 铝合金窗户发泡施工方案
- 智能电网系统架构优化-洞察及研究
- 造价咨询方案问题有哪些
- 人生的因拼搏而精彩课件
- 2025年国企综合笔试试题及答案
- 中药用药安全知识培训课件
- 老旧护栏加固施工方案
- 中国资源循环集团有限公司子公司招聘笔试题库2025
- 雨季行车安全培训
- 2025年青海海东通信工程师考试(通信专业实务终端与业务)高、中级考前题库及答案
- 2025贵州贵安城市置业开发投资有限公司招聘32人考试参考题库及答案解析
- 2025年全国企业员工全面质量管理知识竞赛答题(含答案)
- 学堂在线 积极心理学(上)厚德载物篇 章节测试答案
- 预防青少年药物滥用-主题班会课件
评论
0/150
提交评论