一些simex命令和诊断工具

1.she

*element* Find element

2.SEARCH command searches a file or set of files for a pattern and displays the lines containing that pattern.

格式:search string filename //Search for string in element

3.LIST command displays information about the elements of a configuration.

list element List children of element

list/parent element List parent of element

list/parent/all List all parents of element

4.HISTORY command displays information from the history file of the current configuration,or from the globle history file.

history/since[=date_value]

date_value must be specified according to the international format”YYYY-MMM-DD”.

history/user_name[=user_name]

例子:>HISTORY/USER_NAME=F_GAGNON

例子:>CONFIG DEMO >HISTORY COM_*.COM

5.VIEW command ??????????????????

6.HELP command:The help command displays information on the purpose,syntax,and use of a SIMex-PLUS command.Additional information can be obtained by indicating a command name,parameter name,or qualifier name to the “Topics?”prompt of the HELP command.

格式:help[command_name]

ex1:SIMex-PLUS>help

ex2:SIMex-PLUS>help ls


CCU:C-Bus Check Utility page31

The C-Bus Utility(CCU) is a diagnostic software utility that runs on the host computer.CCU’s prime function is to help locate faulty I/O cards in the standard interface throuth tolerance tests.

Interface Assignment:address file get from configuration which named “*adr*” or ”*dmc*”.

To begin a session with CCU ,the user must log on a terminal and type CCU.

list(lis)命令:is used to display information to the users.

ASSIGNMENT(ass)选项:This qualifier is used to display a list of interface assignments that the user can use in the Report command.

ex:CCU>lis ass dip

CCU>lis ass dop

CCU>lis ass /chas=01/slot=02

CCU>lis ass /chas=01

CCU>lis ass /slot=02

CHASSIS(cha)选项:This qualifer is used to display the chassis that are on-line and off-line.

CCU>lis cha 检查chassis是否在线。

REPORT命令:It can be used to request a test to be made on a specific card independently of the current test being performed by the host.The simulation is not effected in any way.The results of a test are displayed on the user terminal.The report command can also be used to check the power level to each chassis.

CCU>rep di002

POWER(power)选项:If the POWER option is selected,a POWER test will be performed on every chassis configured in the interface.The test performed will refer to the +24V,+15V,and the -15V source.

CCU>rep power

CCU>x or exit


ethertst:Ehternet Off-line Diagnostic Test

The Ethertst Utility is a program designed specifically to test the Ethernet Link for Standard Interface and DN1 DMCs.Two files constitute this utility(ethertst,ethertst.hlp).

To run this utility simply enter the following command at the prompt.

>ethertst

before the user can access these commands,a device must be allocated(分配,指定,配置).Ethertst prompts the user to allocate devices such as:cae_ent0,cae_ent1,cae_ent2,etc.

常用命令:

audit which provides the user with a list of all the DMCs that are configured properly on the system.这个命令可以简写为a .

The user can only allocate one device at a time.The device can be de-allocated with the de-allocate command.

de-allocate:This command de-allocates a previously allocated device.

quit:This command allowes the user to quit.


如何查看配置网卡情况:

>ls /dev/cae*

/dev/cae_ent0 /dev/cae_ent1

>sme

/cae/simex_plus/element

>ls ether*

ethernet_location.dat.20 ethertst.exe.1*

>more ethernet_location.dat.20

1.CAE DMC_IO

2.CAE DMC1_IO

3....

The letter x to the right of the DMC number indicates which DMCs are configured.

ex:

首先要保证模拟机处于卸载状态。

>ethertst

>/dev/cae_ent1 or cae_ent1 or ent1

>a or audit

>de

>/dev/cae_ent2 or cae_ent2 or ent2

>a

>quit or q


Monitoring Computer Resource Utilization page225

Monitor computer resource utilization using the Program Performance Utility(PFU).

The Program Performance Utility(PFU) provides an accurate set of execution times of real-time programs.It allows the user to do individual time measurements for specific programs or group of programs during a pre-selected number of iterations.A summary containing timing information on all programs can also be requested.Programs can be linked/unlinked from the real-time process and moved from on execution band to another.

%pfu

PFU>


Examine your Errors Utility(EYE)

EYE is a diagnostic software utility graphically oriented that runs on the host computer.EYE examines hardware errors from different simulator components such as interface,visual,motion control,instructor operator system,host computer,etc.

>eye

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

Sandman6z

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值