代码拉取完成,页面将自动刷新
该命令用户收集性能报告报告
./obdiag gather awr -h
usage: ./obdiag gather awr [-h] [--from datetime datetime] [--to datetime datetime] [--since 'n'<m|h|d>] [--ob_install_dir ob_install_dir]
[--store_dir store_dir] --cluster_name cluster_name
According to the input parameters, gather the awr of the specified range (whether it is time range), compress and pack, and transmit to the specified path of
the obdiag machine.
optional arguments:
-h, --help show this help message and exit
--from datetime datetime
specify the start of the time range. format: yyyy-mm-dd hh:mm:ss.
--to datetime datetime
specify the end of the time range. format: yyyy-mm-dd hh:mm:ss.
--since 'n'<m|h|d> Specify time range that from 'n' [d]ays, 'n' [h]ours or 'n' [m]inutes. before to now. format: <n> <m|h|d>. example: 1h.
--ob_install_dir ob_install_dir
the dir to ob log dir
--store_dir store_dir
the dir to store gather result, current dir by default.
--cluster_name cluster_name
cluster name.
Example: ./obdiag gather awr --cluster_name demo1 --from 2022-06-16 18:25:00 --to 2022-06-16 18:30:00
执行结果:
Gather AWR Summary:
+-----------+-----------+--------+--------+----------------------------------------------------------------------------------------+
| Cluster | Status | Size | Time | PackPath |
+===========+===========+========+========+========================================================================================+
| jingshun | Completed | 4.602M | 29 s | gather_pack_20220627005659/OBAWR_obcluster_jingshun_20220625160100_20220625180100.html |
+-----------+-----------+--------+--------+----------------------------------------------------------------------------------------+
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。