Main Content

本页的翻译已过时。点击此处可查看最新英文版本。

自动执行模型顾问检查

使用模型顾问批处理检查模型

您可以使用模型顾问 API 在批处理模式下执行模型顾问,创建对一个或多个系统执行模型顾问检查的脚本和函数,指定模型顾问的默认配置,并隐藏缺失模型顾问检查的警告。

Advisor.ApplicationRun Model Advisor across model hierarchy
ModelAdvisor.SystemResultAccess system-level Model Advisor results
ModelAdvisor.CheckResultAccess Model Advisor check results
Advisor.ManagerManage applications

函数

ModelAdvisor.lookupCheckIDLook up Model Advisor check ID
ModelAdvisor.runRun Model Advisor checks on systems
ModelAdvisor.SystemResult.getReportFileNameGet report file name for ModelAdvisor.run system result object
ModelAdvisor.summaryReportOpen Model Advisor Command-Line Summary report
viewView Model Advisor run results for checks
viewReportView Model Advisor run results for systems

主题

以编程方式检查系统

使用脚本和函数以编程方式运行模型顾问。

Create a Function to Check Multiple Systems

Create a function to run checks on multiple systems, either sequentially or in parallel.

Archive and View Results

After running the Model Advisor programmatically, you can archive and view the results.

Archive and View Model Advisor Run Results

This example shows how to archive and view Model Advisor run results.