Unlock instant, AI-driven research and patent intelligence for your innovation.

Monitoring method and device based on java process and computer equipment

A computer program and process technology, applied in computing, hardware monitoring, instruments, etc., can solve the problems of few monitoring indicators, large impact on system performance, and complicated use, and achieve the effects of high availability, easy deployment, and easy expansion.

Pending Publication Date: 2020-03-06
SUNING CLOUD COMPUTING CO LTD
View PDF2 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Calling a command each time is equivalent to starting a new process. When second-level high-frequency monitoring is required, it will have a greater impact on system performance, and it is easy to cause slow response and occupy a lot of CPU resources. Even when the machine configuration is low, it will directly cause downtime
Another method is to directly use jdk's built-in tools, but its use is more complicated, and dynamic parameters need to be set. At the same time, there are few monitoring indicators, and the calculation of CPU-related indicators deviates from the actual value.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Monitoring method and device based on java process and computer equipment
  • Monitoring method and device based on java process and computer equipment
  • Monitoring method and device based on java process and computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] Build unhealthy detection standards for java processes based on different indicators, such as Figure 6 shown.

[0062](1) In order to fully detect the unhealthiness of the current process service, construct unhealthy detection standards for different dimensions.

[0063] (2) Refer to quantitative thresholds such as too frequent FULLGC, blocked threads, excessive heap memory usage, etc., and construct an indicator filter chain to filter the collected process indicators.

[0064] (3) The process that triggers the measurement threshold in the filter chain indicates that the current service process is unhealthy, and may cause service failure or unsatisfactory service effect, and it is necessary to intervene in the current service process.

[0065] (4) Send SMS and email alarms to remind the system administrator in time.

Embodiment 2

[0067] According to the information feedback of the current Java service process, the assignment and scheduling of tasks are carried out:

[0068] (1) Evaluate the service capability of the current service process according to the collected process monitoring index information.

[0069] (2) If the performance of the current service process is good, follow-up service tasks can be allocated. The allocation method is as follows: Figure 7 As shown, the present invention makes full use of existing started service processes.

Embodiment 3

[0071] Coordinate the monitoring of service processes of various types and architectures:

[0072] Most of the existing monitoring methods are built inside the process to automatically realize the indicator monitoring. It is bound to cause different architectures, different service types, and processes in different languages ​​to occupy machine system resources respectively, but it is impossible to implement monitoring as a whole. For example, the deployment of microservice projects and underlying platform system processes such as spark, flume, and hive run on a certain machine at the same time. At this time, the monitoring of each technical architecture itself cannot perceive the running status of the service processes of other frameworks.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a monitoring method and device based on a java process and computer equipment. The monitoring method comprises the steps: dynamically scanning a java process on a machine, andobtaining a process identification; constructing a local link of a java process on the machine; constructing a manager agent of a java process in the monitoring process, and constructing mapping of process identifiers to multiple types of resource management instances; and collecting monitoring data indexes corresponding to the java process, and converging the monitoring data indexes to the cluster dimension. According to the monitoring method, the process monitoring requirement of the java program is met, and meanwhile, non-invasive monitoring is carried out on other existing systems; based on the realization of a single language environment of pure java, the stability and the expandability of the system are greatly improved; and aiming at various acquisition indexes of different dimensions, the problem of user pain points with multiple application scenes and multiple use requirements is solved based on the use of a multi-level architecture level.

Description

technical field [0001] The invention belongs to the technical field of process monitoring, in particular to a java process-based monitoring method, device and computer equipment. Background technique [0002] With the gradual maturity of big data technology, the usage of data exchange tasks of heterogeneous data sources has also reached a huge magnitude. The system builds a large number of service process containers on a large number of servers in the cluster environment. In addition to machine status monitoring, the service status and performance acquisition of each process, and the status analysis and monitoring of process containers have become the focus of urgent problems. [0003] At present, there are many implementation schemes about java process monitoring. One is to directly call linux commands such as jmap, top, etc. to monitor and collect related indicators. This method is easy to use, but there are large performance problems. Calling a command each time is equi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/30
CPCG06F11/3055G06F11/3093Y02D10/00
Inventor 王志孟博徐伟孙迁
Owner SUNING CLOUD COMPUTING CO LTD