Working with the Central Workload Monitor

本文介绍如何通过SAP系统的工具进行工作负载监控,包括如何访问监控界面、使用不同的分析视图来查看工作负载数据,并提供了调整系统设置的方法。此外还讲解了如何使组件在中央监控中可见以及如何分析最近一分钟的负载。
You call the initial screen of the workload monitor via the following menu path:
TOOL • ADMINISTRATION • MONITOR • PERFORMANCE • WORKLOAD • AGGREGATED STATISTICS RECORDS - GLOBAL

Alternatively, you can use Transaction ST03G. This takes you to the main screen of the workload monitor, GLOBAL SYSTEM LOAD ANALYSIS. The design of this monitor is very similar to that of the workload monitor for a single SAP system. The screen is divided into three subareas.


Workload data

The top-left area of the screen contains the WORKLOAD node, where you can find the components for which load information is available. The load data is structured in the following hierarchy :

->Component type
The component type describes the type of component. The type SAP R/3 is displayed for an ABAP-based component, SAPJ2ENODE for AS Java, and SAPJDBI for the database to which AS Java is connected. For ABAP-based components, the SID is also displayed .
-> Component
Describes an actual component, such as the instance name of an ABAP or Java instance name.

->Period
You can view workload data on a daily, weekly, or monthly basis. To do this, expand the relevant time unit and select the concrete period by double-clicking it.


Analysis views

The lower-left area of the screen contains a list of analysis views. The analysis views for the ABAP server a re similar to those analysis views already introduced in the context of the local workload monitor. The analysis views of other components are similar to those of the ABAP server; this means they also contain workload profile, time profile, transaction profile, and so on.

Load Profiles in the Central Workload Monitor for N on-ABAP Components

ProfileDescription
Workload overviewShows the aggregation of the statistics records according to task types; on SAP NetWeaver AS Java,
for example, Web Request, EJB Request, System
Action profileShows the aggregation of statistics records
according to actions; on the SAP NetWeaver AS
Java, for example, specific actions in Web Dynpro,
RFC calls, and so on
Time profileShows the aggregation of statistics records
according to the hours of the day
User profileShows the aggregation of statistics records
according to users
Load from external systemsShows the aggregation of statistics records
according to external systems
Response time distributionShows the distribution of response times
AvailabilityShows the distribution of components' availability,
measured by the agents

Analysis data

The right-hand screen, which presents the analysis data, also has the same structure as the one you already know from the local workload monitor: the upper-right area of the screen contains administration information, the instance name of the component, and the period for which statistical data is available.

The lower part of the right-hand pane displays the actual workload data, depending on the analysis profile selected in the lower-left pane. In the first columns, you will find the dimensions of the load profile, for example, the action and the action type. The other columns contain performance key figures. These include:

->Number of dialog steps
->Response time
->CPU time
->Call or roll wait time
->Wait time in the component

With this information, you can quickly find out which components had long wait times. High CPU time means the application on this component must be analyzed further. A high wait time in the component means an overload situation exists in this component. Depending on the type of component (ASAP or Java instance), you must carry out a component based analysis, which will be described in the following chapters. A high call/roll wait time means the performance problem cannot be found in this component, but can be found in a component that has been called by this one.


Making components known

When you call the central workload monitor in your SAP system, you initially find only statistical data for the ASAP instance of the system you are currently logged onto. To access the statistics data of other ABAP or Java instances, you must make these components known centrally. Proceed as follows:

1. Expand the SETIINGS AND LOG sub-tree in the upper-left pane of the central workload monitor.
2. Select SYSTEM SELECTION. The system displays the list of connected systems.
3. You can work with several sets of systems. To switch between the sets, select an entry in the SYSTEMS DROPDOWN menu.

4. If necessary, you can make changes to the displayed list- that is, integrate or remove systems.
5. To start the consistency analysis for a system list, click the APPLY button. The analysis is then performed for each activated entry. Prior to that, the system carries out a consistency check of the destination to the system. If the consistency check fails for a specific entry, this entry is deactivated and a message is generated for the application log. The list specified when you click the APPLY button thus contains the systems that the global workload monitor displays.


Last minute's load

Under the WORKLOAD node in the upper-left window, you will find the function DISPLAY LAST MINUTE'S LOAD. Use this function if you want to analyze the last minute's load. The workload monitor essentially determines the workload data once per hour on the basis of statistical data for the individual components. Therefore, you cannot view any data that is less than one hour old because it hasn't been written to the database yet. The DISPLAY LAST MINUTE'S LOAD function, however, enables you to
request data that refers to a specific period within the last hour, such as the past 15 minutes. Note, however, that this can take several minutes, depending on the size of the system.

Technical settings

For the global workload monitor, as for every system monitoring tool. you must also find an optimal solution somewhere between the requirement for an exact monitoring of the system and the requirement for monitoring that doesn't affect overall system performance. The parameters that control statistics data management are located under the CONTROL DATA and SETTINGS & LOG sub-trees. You can find further information on this subject at SAP Help.


Workload analysis enables you to make detailed statements about the distribution of response times not only across different system components such as the database, hardware, and ABAP and Java servers, but also across different transactions and programs. By performing a workload analysis, you can determine the system areas in which you require further analysis and tuning. Always remember to compare the results of your workload analysis with the observations of users. This helps you avoid jumping to wrong conclusions if a superficial analysis of the workload monitor indicates a performance problem where, in fact, there is no real problem. It also avoids the opposite situation of not noticing that the workload monitor is indicating a performance problem that is readily apparent to users.

Most Critical Steps in Workload Analysis in AS ABAP for a General Performance Problem



If your transactions extend over several SAP systems, end-to-end workload analysis is significant. This can be performed with the global workload monitor, which you can find in the NetWeaver AS ABAP, or with SAP Solution Manager.



<think>好的,我现在需要帮助用户解决如何在Visual Studio中安装“Desktop development with C++”工作负载,包括所有默认组件。首先,我要确保自己正确理解用户的需求。用户引用了两篇文档,但看起来其中一篇提到的是Unity扩展的调试器,另一篇是关于htop工具的,可能与当前问题关联不大。可能用户在之前的上下文中提到过这些引用,但在这里主要需要的是安装C++工作负载的步骤。 接下来,我需要回忆Visual Studio的安装流程。用户提到的“Desktop development with C++”是VS中的一个工作负载,通常通过Visual Studio Installer来管理。正确的步骤应该是打开Visual Studio Installer,修改现有安装或安装新的实例,然后选择对应的工作负载。同时,用户希望包括所有默认组件,所以在选择工作负载后,可能需要确保右侧的默认组件都被勾选,而不要取消任何选项。 另外,用户可能需要注意是否需要额外的组件或SDK,比如Windows SDK、C++ CMake工具等,这些通常是默认包含的,但可能需要确认。另外,安装完成后是否需要重启系统或者VS,这也是常见的问题点。 还要考虑用户可能的操作系统版本和Visual Studio版本。不过,由于用户没有特别说明,应该提供通用步骤,适用于较新的VS版本,如VS 2019或2022。此外,用户可能遇到的常见问题,比如安装程序无法启动、下载速度慢,或者组件安装失败,可能需要给出一些建议,比如检查网络连接、以管理员身份运行安装程序等。 最后,根据用户提供的引用,虽然引用1提到了调试器和迁移状态跟踪,但可能与安装C++工作负载无直接关系。不过,可以提到安装完成后可能需要配置调试器或相关工具,但可能不需要深入。引用2提到的htop是Unix系统工具,可能与当前问题无关,可能用户是在其他上下文中使用,暂时可以忽略。 总结步骤应该是清晰的步骤列表,从启动安装程序到选择工作负载,检查组件,开始安装,完成后的验证。同时,注意事项部分可以帮助用户避免常见问题,并确保安装顺利完成。</think>以下是安装Visual Studio中"Desktop development with C++"工作负载的完整步骤: 1. **启动Visual Studio Installer** - 通过开始菜单搜索"Visual Studio Installer" - 或打开Visual Studio后选择"工具 > 获取工具和功能" 2. **选择工作负载** - 在"Workloads"标签页勾选$ \text{Desktop development with C++} $ - 右侧"Installation details"会自动包含默认组件: - C++核心功能 - Windows 10/11 SDK - C++ CMake工具 - 测试工具核心功能 - C++分析工具 3. **确认可选组件** - 如需额外功能可展开"Optional"列表 - 默认已包含: $$ \text{MSBuild} \quad \text{Windows Universal C Runtime} \quad \text{C++/CLI支持} $$ 4. **开始安装** - 点击右下角"修改"按钮(已有安装时) - 或"安装"按钮(新安装时) - 安装大小约5-15GB(根据组件选择) **验证安装**: ```powershell # 打开Developer Command Prompt输入 cl /? ``` 应显示Microsoft C/C++编译器版本信息[^1] **注意事项**: - 需要管理员权限 - 建议保持网络连接稳定 - 安装完成后可能需要重启系统 - 遇到组件下载失败时可尝试修改下载缓存路径
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值