昇腾社区首页
中文
注册

帮助查询

测试项功能

查看故障诊断命令的可用参数。

测试项参数查询

表1 参数说明

参数

说明

是否必填

[-dg, --dg, --diagnosis]

使用该参数进行整卡的故障诊断测试。

[-h, --help]

查看故障诊断命令的可用参数。

使用实例

ascend-dmi --dg -h

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[***@***]# ascend-dmi --dg -h
Usage: ascend-dmi <--diagnosis|--dg> <option> [args]
  -i, --items  [args]               Specifies the diagnosis type of the DMI. Possible
                                    options are driver, cann, aiflops, bandwidth, device,
                                    network, hbm/chipMemory, aicore, signalQuality, prbs,
                                    tdp, edp, aicpu, nic. The aicore/prbs/edp/tdp/aicpu
                                    diagnosis cannot be used together with other diagnosis
                                    items. hbm and chipMemory can not be specified at the
                                    same time. If this parameter is not specified, all
                                    testcases will be executed, out of aicore, prbs, aicpu,
                                    edp, tdp and nic.
  -p, --path  [args]                Specifies the cann software installation path(absolute
                                    path). If this parameter is not specified, the default
                                    path will be used.
  -d, --device  [args]              Specifies the devices. Devices can not be specified
                                    when diagnosis edp/tdp item. If this parameter is not
                                    specified, all devices will be checked. The diagnosis
                                    item cann and driver will not check this option. When
                                    the diagnosis items include signal quality diagnosis or
                                    p2p stress diagnosis, and the number of devices
                                    specified is less than 2, hccs signal quality diagnosis
                                    or p2p stress diagnosis will not be performed.
  -r, --result  [args]              Specifies the diagnosis results path(absolute path). If
                                    this parameter is not specified, the default path will
                                    be used.
  -s, --stress                      If this parameter is specified, hbm/chipMemory stress
                                    test, aicore stress test, p2p stress test, or edp/tdp
                                    stress test will be performed.
  --st, --stress-time [args]        This parameter is used to specify the time of
                                    hbm/chipMemory stress test, auto hbm stress test, aicpu
                                    stress test or edp/tdp stress test. Need to specify
                                    stress before specifying stress-time. The value ranges
                                    from 60 to 604800. -st is supported, but it is
                                    recommended to use --st.
  --qs, --quick-stress [args]       This parameter is used to specify the mode of
                                    hbm/chipMemory stress tests. With this parameter, you
                                    can do a quick stress test only on dangerous addresses.
                                    The following value ranges from 0 to 100. It indicates
                                    the percentage range of address, when it is 100, it
                                    will be 100% addresses of danger. When the value comes
                                    to 0, no addresses will be set, in this case all the
                                    address on card will be tested. -qs is supported, but
                                    it is recommended to use --qs.
  --sc, --stress-count [args]       This parameter is used to specify the count of aicore
                                    stress tests. The value ranges from 1 to 100. If this
                                    parameter is not specified, the default value 1 is
                                    used. -sc is supported, but it is recommended to use
                                    --sc.
  --td, --trans-duration [args]     This parameter is used to specify the duration of each
                                    prbs type transmission in seconds. The value ranges
                                    from 3 to 10. If this parameter is not specified, the
                                    default value 3 is used. -td is supported, but it is
                                    recommended to use --td.
  --scene, --se [args]              This parameter is used to specify the diagnostic scene.
                                    The healthCheck include cann, driver, device, network,
                                    signalQuality and hbm/chipMemory diagnostic items. The
                                    performanceCheck include bandwidth, aiflops and nic
                                    test. The stressTest include aicore, aicpu,
                                    hbm/chipMemory, p2p, tdp and edp stress test. -se is
                                    supported, but it is recommended to use --se.
  -t, --type  [args]                This parameter is used to specify the mode of bandwidth
                                    stress tests. Indicates the test types. The supported
                                    types include "p2p". For details, see Note. p2p: Tests
                                    the transfer accuracy from a specified device to
                                    another device.
  --at, --auto-test                 This parameter is used to specify auto hbm/chipMemory
                                    stress test. Need to specify stress before specifying
                                    auto-test. -at is supported, but it is recommended to
                                    use --at.
  --skip-check                      Specifies whether to skip the device status check on
                                    edp/tdp stress test. If this parameter is specified,
                                    only overtemperature alarm will be reported.
  --fmt, --format [args]            Specifies the output format. The value can be normal or
                                    json. If this parameter is not specified, the default
                                    value normal is used, -fmt is supported, but it is
                                    recommended to use --fmt.
  -h, --help                        Displays help information.
  -q, --quiet                       After specifying this parameters, high-risk operation
                                    reminders will no longer be performed, and customer
                                    will allow high-risk operations by default. This
                                    parameter must be used in conjunction with high-risk
                                    operation.
e.g., ascend-dmi --dg -i driver