Monitoring method and client for docker

A technology for monitoring clients and monitors, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as inability to know the usage of network resources such as CPU, business cannot continue to operate normally, network congestion, etc., to achieve high efficiency The effect of rational allocation of network resources

Inactive Publication Date: 2016-03-23
BEIJING QIHOO TECH CO LTD +1
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in the prior art, when docker is used for resource isolation, relevant data in the docker cannot be checked, that is, the usage of network resources such as CPU cannot be known when docker is used, and therefore, it is easy to cause the resource usage of the network such as CPU Excessive use, causing all businesses running on the server to fail to continue to operate normally
For example, the current use of docker for resource isolation enables four services to be performed simultaneously. At this time, the CPU usage has reached a critical value, and users or developers cannot know the CPU usage. Therefore, continue to use docker for more services. Resource isolation makes the CPU usage exceed the critical value, which leads to network congestion and all services cannot run normally

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 client for docker
  • Monitoring method and client for docker
  • Monitoring method and client for docker

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] In order to clarify the docker monitoring method provided by the preferred embodiments above, a preferred embodiment is used to introduce the docker monitoring method provided by the embodiment of the present invention. Figure 7 A schematic diagram of the processing flow of the docker monitoring method according to a preferred embodiment of the present invention is shown. Please refer to Figure 7 , the processing flow includes at least the following steps:

[0066] Step S702: writing a configuration file in yaml format;

[0067] Step S704: Convert the written configuration file in yaml format to obtain a file in Json dictionary format, specifically, parse the configuration file in yaml format to obtain a file in Json dictionary format. Process the Json dictionary format file into chunks, and pass the Json dictionary format file obtained by chunking to the API;

[0068] Step S706: Call the API loop according to the Json dictionary format file to generate a docker. S...

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 provides a monitoring method and a client for a docker. The method comprises the following steps: obtaining data in a docker by means of a data obtaining tool, wherein the data at least includes a central processing unit application value CPU state and / or the number of CPU cores; processing the data according to preset rules and obtaining network parameter data of the docker; and displaying the network parameter data on a readable display interface so that the docker is monitored by a monitoring worker. According to the embodiment, the beneficial effects of the invention are that network parameter data of a docker can be obtained and displayed, so a monitoring worker can directly know the situation about how the docker is utilized, and therefore network usage resources can be distributed in a more highly efficient and more reasonable manner.

Description

technical field [0001] The invention relates to the field of virtual container monitoring, in particular to a docker monitoring method and a client. Background technique [0002] With the development of network technology, people are more and more accustomed to running multiple services on the same server at the same time. For example, on a server with a memory of 64G, the navigation service, mobile assistant and other main station services are run simultaneously. When multiple services are running on a server at the same time, in order to ensure that when one of the services is attacked or has operational problems, other services will not be affected by related adverse effects, and the resources of the server can be isolated. When performing resource isolation, since the use of a VM virtual machine needs to occupy a large amount of central processing unit (Central Processing Unit, hereinafter referred to as CPU) resources, therefore, in the prior art, docker (an open sourc...

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): H04L12/26
Inventor 许斯亮赵鹏
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products