Method and device for monitoring background resources in system performance tests

A background resource and system performance technology, applied in the direction of hardware monitoring, etc., can solve the problems of poor flexibility, invariance, and poor support of Linux systems, and achieve the effect of simple and easy to use and easy to master

Inactive Publication Date: 2017-08-18
九次方大数据信息集团有限公司
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, LoadRunner itself is a paid software, and it does not support Linux systems well.
As a system monitoring tool, IBM Nmon is widely used on Linux systems. This tool is powerful and analyzes many system resource items. However, for small and medium-sized projects in terms of performance testing, there is no need for so many monitoring indicators. Test If IBM Nmon is used for host monitoring during the process, it will lead to poor flexibility in use; another aspect is that this tool requires strong technical skills, and personnel who must be proficient in Linux host systems can analyze the monitoring results
In addition, this software needs to be downloaded and installed before use, and the installed software version must be consistent with the software version of the file result analysis, otherwise it cannot be analyzed, resulting in large invariance.

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
  • Method and device for monitoring background resources in system performance tests
  • Method and device for monitoring background resources in system performance tests
  • Method and device for monitoring background resources in system performance tests

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Please refer to figure 1 , the embodiments of the present invention provide a background resource monitoring method in a system performance test, specifically comprising the following steps:

[0028] S1: Send a Shell command to the monitored Linux host by executing the Shell script to collect monitoring parameters in the monitored Linux host;

[0029] Shell script is a program written by using the function of Shell. This program uses a plain text file, which contains multiple preset Shell commands. It is suitable for Linux systems and allows users to easily execute multiple scripts through one operation. command and does not require installation.

[0030] These Shell commands contained in the Shell script are used to obtain various monitoring parameters in the monitored Linex host. The monitoring parameters include, but are not limited to: CPU, memory, disk IO, and network IO utilization rates of the Linux host system.

[0031] S2: according to the IP address of the ...

Embodiment 2

[0050] Please also refer to image 3 , this embodiment provides a monitoring device for implementing the monitoring method described in Embodiment 1, the device specifically includes:

[0051] The first collection unit 101 is used to send a Shell command to the monitored Linux host by executing the Shell script to collect the monitoring parameters in the monitored Linux host; these Shell commands contained in the Shell script are used to obtain the monitored Linex host A variety of monitoring parameters in. The monitoring parameters include, but are not limited to: CPU, memory, disk IO, and network IO utilization rates of the Linux host system.

[0052] The second collection unit 102 is used to send a request for obtaining monitoring parameters to the monitored Linux host according to the IP address of the input Linux host, and the monitored Linux host feeds back the collected monitoring parameters to the background monitoring after receiving the request system; in the secon...

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 method for monitoring background resources in system performance tests. The method comprises the following steps of: sending a Shell instruction to a monitored Linux host through executing a Shell script, so as to collect monitoring parameters in the monitored Linux host; sending a request for obtaining the monitoring parameters to the monitored Linux host according to an input IP address of the Linux host; after the monitored Linux host receives the request, feeding the collected monitoring parameters back to a background monitoring system; and obtaining and analyzing the monitoring parameters of the Linux host. The invention furthermore provides a monitoring device corresponding to the method. According to the method and device disclosed by the invention, the realized system resource monitoring indexes satisfy the requirements for the system resource monitoring in most of performance tests.

Description

technical field [0001] The invention relates to the field of system performance testing, in particular to a background resource monitoring method and device in system performance testing. Background technique [0002] At present, in the field of software system performance testing, it is necessary to monitor the resources of the host computer to grasp the system load during the software running process. For example, Hewlett-Packard's LoadRunner is a load testing tool that predicts system behavior and performance. Confirm and find problems by simulating tens of millions of users to implement concurrent load and real-time performance monitoring. For example, Chinese patent CN101833493A discloses a method for troubleshooting operating system software faults, which includes the step of pressurizing the system through LoadRunner. But LoadRunner itself is a paid software, and it does not support the Linux system well. As a system monitoring tool, IBM Nmon is widely used on Linu...

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 九次方大数据信息集团有限公司
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