Server program monitoring method and system of server program

A monitoring system and server technology, which is applied in the monitoring system of server programs and the monitoring field of server programs, can solve the problems of loss of processing efficiency of server programs and affecting the normal operation of server programs.

Active Publication Date: 2014-01-29
SHENZHEN TENCENT COMP SYST CO LTD
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when monitoring the online operation of the server program, the comprehensive collection, storage and analysis of the input, output, and execution status data will greatly affect the normal operation of the server program, resulting in the processing of the server program during online operation. efficiency loss

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
  • Server program monitoring method and system of server program
  • Server program monitoring method and system of server program
  • Server program monitoring method and system of server program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] see figure 1 , figure 1 It is a schematic flowchart of the monitoring method of the server program in the present invention.

[0020] The monitoring method of the server program includes the following steps:

[0021] Step S101, obtaining the return data of the function called when the server program is running online;

[0022] Since the input of the server program is obtained by calling corresponding functions, obtaining the return data of these called functions also obtains all the input data of the server program.

[0023] The functions called by the server program include a system API (Application Programming Interface, application programming interface), a custom function, and a shared memory reading function.

[0024] The system API refers to some pre-defined functions carried in the server system, such as the time acquisition API under the linux system, including time and gettimeofday; another example is the file reading API, including fread and fgets, etc., th...

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 server program monitoring method and a system of a server program. The method comprises the steps of obtaining the return data of functions called when the server program is in on-line operation, inputting the return data to the server program, and storing the return data and the obtaining time of the return data; in an off-line state, inputting the corresponding return data to the server program according to the obtaining time. The server program monitoring method and the system of the server program record all the input of the server program. According to the recorded data, complete restoration of the on-line operation state of the server program can be achieved in the off-line state, a server at restoration time can be used as a base to conduct testing analysis of the performance of the server program and reoccurrence of BUG which occasionally appears in the development process of the server program, or analyze access user behavior of the server and the similar application.

Description

technical field [0001] The invention relates to the technical field of server monitoring, in particular to a server program monitoring method and a server program monitoring system. Background technique [0002] Usually, to process the received data request, the server needs to run various server programs on the server. The operating efficiency of the server is closely related to the operating conditions of each server program. Therefore, when performing applications such as server performance analysis, it is necessary to monitor the online operating conditions of the server programs. [0003] The general server program monitoring method needs to record various status data of the server program when it is running online, including input, output, execution and so on. Take Vtune, a graphical performance analysis tool, as an example. Its core implementation is CPU-based performance sampling, which analyzes program running performance by directly collecting performance data sam...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/34
Inventor 侯健
Owner SHENZHEN TENCENT COMP SYST 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