- Oracle SOA Suite 11g Performance Tuning Cookbook
- Matthew Brasier Nicholas Wright
- 427字
- 2021-08-13 16:51:43
Monitoring the platform CPU usage
In this recipe, we are going to learn how to view the CPU usage of the platforms running SOA Suite 11g. CPU usage is one of the key areas where bottlenecks can occur, and knowing that our CPU is running at 100 percent allows us to focus our efforts into working out what is using the CPU.
Getting ready
You will need to install Oracle SOA Suite and the Hyperic HQ server and agents for this recipe. Both Hyperic HQ and Oracle SOA Suite will need to be running. You will also need the login credentials for the Hyperic HQ console.
How to do it...
These steps will show us how to monitor the CPU usage of our SOA Suite platforms:
- Log in to the Hyperic HQ console.
- Open the Resources menu, and select Browse.
- Select the platform that has the server you want to monitor, which should be one of your SOA Suite managed servers.
- The CPU usage will be displayed in the graph area in the center of the screen.
- Use the display range settings at the top of the graph pane to select the time period you are interested in.
How it works...
The Hyperic agent uses the SIGAR library to collect metric data related to operating systems, including the CPU usage. This data is sent by the agent to the Hyperic server, which stores it in the database. We can then use the Hyperic console to browse this information.
When monitoring the CPU usage, we obviously look to ensure that the system is not running at 100 percent CPU usage, which implies that there is a performance problem somewhere in the system. CPU usage is a good metric to set alerts on, because it should not be high in normal circumstances, and it is always worth investigating the incidents of high CPU usage.
There's more...
As with monitoring JVM memory usage, having a good understanding of what your CPU usage pattern usually looks like can be very useful for diagnosing an abnormal behavior. For example, many organizations have an anti-virus or batch process that runs overnight or during quiet periods, which can use significant amount of the CPU when running. If you are not aware that this is a normal behavior, it can be easy to mistake it for the cause of a performance problem, and waste significant time looking for a CPU bottleneck, where the true performance bottleneck is elsewhere.
See also
- The Installing the Hyperic server, Installing Hyperic agents, and Configuring Configuring Alerts in Hyperic recipes
- RCNP實驗指南:構建高級的路由互聯網絡(BARI)
- EDA技術與VHDL編程
- INSTANT PhpStorm Starter
- 物聯網檢驗檢測技術
- 信息通信網絡建設安全管理概要2
- 計算機網絡原理與應用技術
- 區塊鏈輕松上手:原理、源碼、搭建與應用
- WordPress Web Application Development
- C/C++串口通信:典型應用實例編程實踐
- 通信原理及MATLAB/Simulink仿真
- INSTANT LinkedIn Customization How-to
- 現場綜合化網絡運營與維護:運營商數字化轉型技術與實踐
- 智慧城市中的物聯網技術
- 區塊鏈社區運營手冊
- React Design Patterns and Best Practices(Second Edition)