Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Process monitoring method and device

A process monitoring and process technology, applied in the computer field, can solve the problems of unable to provide PHP script information, unable to meet the needs of PHP script analysis, etc.

Active Publication Date: 2015-04-22
BEIJING QIHOO TECH CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] PHP (Hypertext Preprocessor, Hypertext Preprocessor) script is a process executed by a PHP interpreter, but the existing strace and pstack can only provide the system call information of the PHP interpreter, but cannot provide the information of the PHP script. Therefore, Unable to meet the analysis needs of PHP scripts

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
  • Process monitoring method and device
  • Process monitoring method and device
  • Process monitoring method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0053] refer to figure 1 , which shows a schematic flowchart of steps of a process monitoring method according to an embodiment of the present invention, which may specifically include the following steps:

[0054] Step 101, replacing the operation execution function of the PHP interpreter with a preset monitoring function; and

[0055]Step 102, using the monitoring function to execute the operation compiled by the PHP interpreter...

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 embodiment of the invention provides a process monitoring method and device. The method specifically comprises the steps that an operation execution function of a PHP interpreter is replaced by a preset monitoring function; the monitoring function is used for executing the operation which is obtained by the fact that the PHP interpreter compiles a process, and the monitoring function is used for monitoring the function information of the operation in the execution process. According to the process monitoring method and device, the function information of the operation in the execution process can be acquired and output in real time, and therefore a developer of a PHP script can quickly position the PHP script conveniently.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a process monitoring method and device. Background technique [0002] There are usually multiple processes running in operating systems such as Linux and Unix. At present, when the process has problems such as long running time and running errors, it is necessary to analyze the cause of the problem by monitoring the process. [0003] Existing solutions can combine strace and pstack tools to directly find function calls that affect the running time of a process, and then perform code analysis and optimization on related functions in a targeted manner. Among them, the strace tool can track the underlying system calls used by the process, and can output the time point when the system call is executed and the time-consuming of each call; the pstack tool can output the function call stack for the process of the specified PID (Process ID, Process Identity). [0004] PHP (Hypertext ...

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
Inventor 任勇全赵安安陈磊
Owner BEIJING QIHOO TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products