所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

OceanStor Dorado V3系列 V300R002 高级运维命令参考(块业务)

本产品文档适用于OceanStor Dorado3000 V3, Dorado5000 V3, Dorado6000 V3和Dorado18000 V3。本文档针对CLI命令行,介绍如何使用CLI设置和管理存储系统,以及按功能分类详细介 绍各命令的使用方法。
评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
change mds time_trace

change mds time_trace

命令功能

change mds time_trace命令用于开启、关闭统计MDS异步函数的执行时间、执行次数的功能,或者重置统计的结果。

命令格式

change mds time_trace change_type=? controller=? [ index=? | level=? ]

参数说明

参数

参数说明

取值

change_type=?

修改类型。

取值为open、close或者reset,各参数取值说明如下:

  • open:开启。
  • close:关闭。
  • reset:重置。

controller=?

控制器ID。

取值格式为“XA”、“XB”、“XC”或者“XD”,“X”的取值为0到3的整数,例如“0A”或者“1C”。

index=?

异步统计项的索引值。

  • 1~199。
  • 可以通过“show mds time_trace”命令获取。

level=?

统计项的级别。

取值为input、inner或者output,各参数取值说明如下:

  • input:输入。
  • inner:内部。
  • output:输出。

视图

研发视图

使用指南

指定控制器参数controller,则下发到指定控制器查询。

使用实例

  • 开启输入级别的异步函数的统计。
    developer:/>change mds time_trace change_type=open controller=0A level=input 
    WARNING: You are about to enable the function of collecting statistics on the time and count of executing the MDS asynchronous function. 
    This operation will start collecting statistics on the time and count of executing the MDS asynchronous function and cause the storage system performance to decrease. 
    Suggestion: If the function of collecting statistics on the time and count of executing the MDS asynchronous function is disabled, confirm that you need to enable the function because enabling this function will cause the storage system performance to decrease. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • 开启索引为1的统计项的异步函数的统计。
    developer:/>change mds time_trace change_type=open controller=0A index=1 
    WARNING: You are about to enable the function of collecting statistics on the time and count of executing the MDS asynchronous function. 
    This operation will start collecting statistics on the time and count of executing the MDS asynchronous function and cause the storage system performance to decrease. 
    Suggestion: If the function of collecting statistics on the time and count of executing the MDS asynchronous function is disabled, confirm that you need to enable the function because enabling this function will cause the storage system performance to decrease. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • 开启全部异步函数的统计。
    developer:/>change mds time_trace change_type=open controller=0A 
    WARNING: You are about to enable the function of collecting statistics on the time and count of executing the MDS asynchronous function. 
    This operation will start collecting statistics on the time and count of executing the MDS asynchronous function and cause the storage system performance to decrease. 
    Suggestion: If the function of collecting statistics on the time and count of executing the MDS asynchronous function is disabled, confirm that you need to enable the function because enabling this function will cause the storage system performance to decrease. 
    Have you read warning message carefully?(y/n)y 
    Are you sure you really want to perform the operation?(y/n)y 
    Command executed successfully.
  • 关闭输入级别的异步函数的统计。
    developer:/>change mds time_trace change_type=close controller=0A level=input 
    Command executed successfully.
  • 关闭全部异步函数的统计。
    developer:/>change mds time_trace change_type=close controller=0A 
    Command executed successfully.
  • 关闭索引为1的统计项的异步函数的统计。
    developer:/>change mds time_trace change_type=close controller=0A index=1 
    Command executed successfully.
  • 重置mds异步函数的执行时间、执行统计结果。
    developer:/>change mds time_trace change_type=reset controller=0A 
    Command executed successfully.

输出说明

无。

翻译
下载文档
更新时间:2019-07-17

文档编号:EDOC1100049100

浏览量:51510

下载量:66

平均得分:
本文档适用于这些产品
相关文档
相关版本
Share
上一页 下一页