CN107066372A - Backstage resource monitoring method and device in system performance testing - Google Patents
Backstage resource monitoring method and device in system performance testing Download PDFInfo
- Publication number
- CN107066372A CN107066372A CN201710126682.4A CN201710126682A CN107066372A CN 107066372 A CN107066372 A CN 107066372A CN 201710126682 A CN201710126682 A CN 201710126682A CN 107066372 A CN107066372 A CN 107066372A
- Authority
- CN
- China
- Prior art keywords
- monitoring
- main frames
- parameter
- monitoring parameter
- analysis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3495—Performance evaluation by tracing or monitoring for systems
Abstract
The invention discloses the backstage resource monitoring method in a kind of system performance testing, methods described includes:By performing Shell scripts to monitored Linux main frames transmission Shell orders, to collect the monitoring parameter in monitored Linux main frames;The request for obtaining monitoring parameter is sent to monitored Linux main frames according to the IP address of the Linux main frames of input, Linux main frames is monitored after the request is received, the monitoring parameter being collected into is fed back into background monitoring system;And obtain monitoring parameter and the analysis of Linux main frames.Present invention also offers supervising device corresponding with the above method.The system resource monitor control index that this method and device are realized meets the requirement monitored in most performance test to system resource.Method is easy to use, is easy to user to grasp.
Description
Technical field
The present invention relates to system performance testing field, the backstage resource monitoring method in particularly a kind of system performance testing
And device.
Background technology
At present, in testing software system performance field, it is necessary to which the resource to main frame is monitored, to grasp running software mistake
The load of system in journey.For example, the LoadRunner of Hewlett-Packard is exactly the load testing of a kind of forecasting system behavior and performance
Instrument.Confirming and searching problem to simulate by way of up to ten million users implement concurrently load and real-time performance monitoring.Such as
A kind of method of clearing faults in operating system software fault disclosed in Chinese patent CN101833493A, passes through wherein just containing
The step of LoadRunner pressurizes for system.But LoadRunner is charging software in itself, and linux system is supported not
It is good.IBM Nmon as the monitoring tools of system used on linux system it is more, this instrumental function is powerful, its analyze
System resource it is a lot, but so much monitor control index is not needed in terms of performance test for middle-size and small-size project,
In test process if machine monitoring of being decided using IBM Nmon, it may result in poor using flexibility;Also one side
Face is exactly that this instrument needs technical capability strong, and the personnel that must be skillfully grasped to linux host computer systems could be to monitored results
Analyzed.In addition, this software using preceding need download install, and its install software version must and document result
The software version of analysis is consistent, otherwise can not analyze, and causes larger constant.
In view of this, it is special to propose the present invention.
The content of the invention
To solve the above problems, propose the present invention with provide it is a kind of at least can partly solve above-mentioned technical problem be
Backstage resource monitoring method and device in system performance test.
In a first aspect, the present invention provides the backstage resource monitoring method in a kind of system performance testing, methods described includes:
By performing Shell scripts to monitored Linux main frames transmission Shell orders, to collect monitored Linux
Monitoring parameter in main frame;
The request for obtaining monitoring parameter, quilt are sent to monitored Linux main frames according to the IP address of the Linux main frames of input
Linux main frames are monitored after the request is received, the monitoring parameter being collected into is fed back into background monitoring system;And
Obtain monitoring parameter and the analysis of Linux main frames.
Alternatively and preferably, the monitoring parameter of the acquisition Linux main frames and analysis includes:By monitoring parameter with figure
The mode of change shows.
Alternatively and preferably, it is described by monitoring parameter with patterned mode show including:The double reference axis of generation one
Chart, the ordinate of the chart is the value of parameter, and abscissa is the time.
Alternatively and preferably, it is described monitoring parameter is showed in patterned mode also include:In double reference axis charts
Upper display break data.
Alternatively and preferably, the monitoring parameter of the acquisition Linux main frames and analysis includes:Receive analysis monitoring parameter
Request, the target monitoring parameter type asked in the request for determining the analysis monitoring parameter, be collected into monitoring ginseng
The target monitoring Parameter analysis is chosen in number.
Second aspect, the invention provides the backstage monitoring resource device in a kind of system performance testing, including:
First collector unit, for sending Shell orders by performing Shell scripts to monitored Linux main frames, with
Collect the monitoring parameter in monitored Linux main frames;
Second collector unit, the IP address for the Linux main frames according to input is sent to monitored Linux main frames to be obtained
The request of monitoring parameter, is monitored Linux main frames after the request is received, the monitoring parameter being collected into is fed back into backstage
Monitoring system;And
Analytic unit, monitoring parameter and analysis for obtaining Linux main frames.
Alternatively and preferably, the analytic unit is specifically for monitoring parameter is showed in patterned mode.
Alternatively and preferably, the analytic unit is specifically for one double reference axis chart of generation, the chart it is vertical
Coordinate is the value of parameter, and abscissa is the time.
Alternatively and preferably, the analytic unit is additionally operable to show break data on double reference axis charts.
Alternatively and preferably, the analytic unit specifically for receive analysis monitoring parameter request, it is determined that described point
The target monitoring parameter type asked in the request for analysing monitoring parameter, chooses the target prison in the monitoring parameter being collected into
Control Parameter analysis.
Backstage resource monitoring method and device in a kind of system performance testing that the present invention is provided, can be to system cpu, interior
Deposit, the monitoring parameter such as disk I/O, network I/O is effectively monitored.The system resource monitor control index that this method is realized is met greatly
The requirement monitored in partial performance test to system resource.Method is easy to use, is easy to user to grasp.
Brief description of the drawings
The flow of backstage resource monitoring method in a kind of system performance testing that Fig. 1 is provided by the embodiment of the present invention
Figure;
Fig. 2 is the effect diagram of monitoring parameter data drawing list;
The structure of backstage monitoring resource device in a kind of system performance testing that Fig. 3 is provided by the embodiment of the present invention is shown
It is intended to;
Embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to the accompanying drawings and detailed description
The present invention is described in further detail.
Embodiment one
Fig. 1 is refer to, embodiments of the invention provide the backstage resource monitoring method in a kind of system performance testing, specifically
Comprise the following steps:
S1:It is monitored to collect by performing Shell scripts to monitored Linux main frames transmission Shell orders
Monitoring parameter in Linux main frames;
Shell scripts are the programs write using Shell function, and this program is to use text-only file, inner
Contain multiple default Shell orders in face, it is adaptable to linux system, allow user easily just can be by an operation
Multiple orders are performed, and need not be installed.
These Shell orders contained in Shell scripts are for obtaining the ginseng of a variety of monitoring in monitored Linex main frames
Number.The monitoring parameter includes but is not limited to:, Linux host computer systems CPU, internal memory, disk I/O, the utilization rate of network I/O etc..
S2:Sent according to the IP address of the Linux main frames of input to monitored Linux main frames and obtain asking for monitoring parameter
Ask, be monitored Linux main frames after the request is received, the monitoring parameter being collected into is fed back into background monitoring system;
In step sl, the monitoring parameter of Linux host computer systems is collected out, but also fails to make user direct
Monitor.Therefore, in step s 2, the background monitoring system of Linux main frames needs the target Linux main frames inputted according to user
IP address to the Linux main frames send obtain monitoring parameter request, after the request is listened to, the monitoring of Linux main frames
Parameter transmission interface is set up with background monitoring system and is connected and sends the monitoring parameter being collected into S1.Background monitoring system
System can be by developing main program and being deployed in Linux server.
S3:Obtain monitoring parameter and the analysis of Linux main frames.
Background monitoring system receives the monitoring parameter of Linux main frames transmission, and monitoring parameter is analyzed.Analysis
As a result it can be showed by patterned mode, this, which is resulted in, more intuitively observes result.
It is patterned specific to show form and include:
The double reference axis charts of generation one, the ordinate of chart is the value of parameter, and abscissa is the time.The value of monitoring parameter
Change over time, then the shape of broken line is showed on chart.The abscissa of a point on broken line represent system operation when
Between, ordinate represents monitoring parameter value at that time.In order to make full use of the space of chart, as far as possible on a chart
It was observed that more monitoring parameters, can assign different parameter different colours, multiple tracks different colours are formed on a chart
Broken line represent that multiple monitoring parameters change with time.Preferably, background monitoring system is obtained on double reference axis charts
Break data, and be presented on double coordinate charts.Break data represent that monitoring parameter is undergone mutation, and break number is provided on chart
According to the change for being conducive to monitoring personnel to grasp key parameter.
The subprogram extracts for setting up visualized graphs is as follows:
As shown in Fig. 2 can provide a variety of monitoring parameters in this pair of reference axis chart, the title of every kind of monitoring parameter is opened up
Show on the right side of chart, and assign different colours line representing (gray-scale map is adjusted in figure, but it is understood that, Mei Gecan
Several broken line colors is different, to be distinguished from each other).The monitoring parameter that the chart is related to have " total CPU usage siq ",
total CPU usage hiq”、“total CPU usage wai”、“total CPU usage idl”、“total CPU
usage sys”、“total CPU usage usr”、“system csw”、“system int”、“dsk/total writ”、
“dsk/total read”、“paging out”、“paging in”、“memory usage free”、“memory usage
cach”、“memory usage buff”、“memory usage used”、“procs new”、“procs blk”、“procs
Run ", " net/total send " and " net/total recv ".Certainly, involved monitoring parameter is not limited to above-mentioned several
Kind, other different monitoring parameters can be obtained as needed.
Sometimes, monitoring personnel and all parameters need not be monitored, but is selected according to actual monitoring demand
Parameter monitoring interested.Therefore, it is further preferable that also including in step S3:The request of analysis monitoring parameter is received, really
The target monitoring parameter type asked in the request of the fixed analysis monitoring parameter, chooses institute in the monitoring parameter being collected into
State target monitoring Parameter analysis.Background monitoring system has provided the user a selection interface on monitoring parameter, Yong Huke
To be selected oneself to want the parameter type of monitoring according to the interface.User is so facilitated to obtain oneself prison interested in time
Parameter is controlled, is not used in various parameter screening observation, improves monitoring efficiency, on the other hand, background monitoring system is only to spy
Fixed monitoring parameter is analyzed, and without analyzing all parameters, the burden of the processor of reduction improves in computer-side
The treatment effeciency of monitoring data.
Below, the backstage monitoring resource side in system performance testing provided in an embodiment of the present invention is illustrated in user side
Method:
(1) user checks in linux system whether install dstat, if do not installed, operation yum install-y
Dstat, the step of having installed execution below step (2).
(2) Linux main frame background host computer monitoring systems are logged in, the IP address to be monitored is inputted, click starts, and monitoring terminates
After put conclusion button.
(3) interpretation of result is clicked on, then generates the form of monitoring data.
Embodiment two
Please also refer to Fig. 3, a kind of monitoring dress for being used to perform monitoring method described in embodiment one is present embodiments provided
Put, the device is specifically included:
First collector unit 101, for by performing Shell scripts to monitored Linux main frames transmission Shell lives
Order, to collect the monitoring parameter in monitored Linux main frames;These Shell orders contained in Shell scripts are used to obtain
Take a variety of monitoring parameters in monitored Linex main frames.The monitoring parameter includes but is not limited to:, Linux host computer systems CPU,
Internal memory, disk I/O, utilization rate of network I/O etc..
Second collector unit 102, the IP address for the Linux main frames according to input is sent to monitored Linux main frames
The request of monitoring parameter is obtained, Linux main frames is monitored after the request is received, the monitoring parameter being collected into is fed back to
Background monitoring system;In the second collector unit 102, the background monitoring system of Linux main frames needs the mesh inputted according to user
The IP address for marking Linux main frames sends the request for obtaining monitoring parameter, after the request is listened to, Linux to the Linux main frames
The monitoring parameter transmission interface of main frame is set up the monitoring for being connected and being collected into the first collector unit 101 with background monitoring system and joined
Number is sent.Background monitoring system can be by developing main program and being deployed in Linux server.
Analytic unit 103, monitoring parameter and analysis for obtaining Linux main frames.The analytic unit is specifically for receiving
The request of analysis monitoring parameter, the target monitoring parameter type asked in the request for determining the analysis monitoring parameter is being received
The target monitoring Parameter analysis is chosen in the monitoring parameter collected.
Further, the analytic unit 103 is specifically for monitoring parameter is showed in patterned mode.This is resulted in
More intuitively observe result.
It is patterned specific to show form and include:
The double reference axis charts of generation one, the ordinate of chart is the value of parameter, and abscissa is the time.The value of monitoring parameter
Change over time, then the shape of broken line is showed on chart.The abscissa of a point on broken line represent system operation when
Between, ordinate represents monitoring parameter value at that time.In order to make full use of the space of chart, as far as possible on a chart
It was observed that more monitoring parameters, can assign different parameter different colours, multiple tracks different colours are formed on a chart
Broken line represent that multiple monitoring parameters change with time.Preferably, background monitoring system is obtained on double reference axis charts
Break data, and be presented on double coordinate charts.Break data represent that monitoring parameter is undergone mutation, and break number is provided on chart
According to the change for being conducive to monitoring personnel to grasp key parameter.
As it was previously stated, the device that the present embodiment is provided is used to perform each step for implementing method in one, it is specific real
Existing mode is corresponded with each step in method, will not be repeated here.
The backstage resource monitoring method and device in a kind of system performance testing provided by the present invention are carried out above
It is discussed in detail.Specific case used herein is set forth to the principle and embodiment of the present invention, above example
Illustrate the core concept for being only intended to help to understand the present invention.It should be pointed out that coming for those skilled in the art
Say, under the premise without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these improve and modified
Also fall into the protection domain of the claims in the present invention.
Claims (10)
1. the backstage resource monitoring method in system performance testing, methods described includes:
By performing Shell scripts to monitored Linux main frames transmission Shell orders, to collect monitored Linux main frames
In monitoring parameter;
The request for obtaining monitoring parameter is sent to monitored Linux main frames according to the IP address of the Linux main frames of input, is monitored
The monitoring parameter being collected into is fed back to background monitoring system by Linux main frames after the request is received;And
Obtain monitoring parameter and the analysis of Linux main frames.
2. the backstage resource monitoring method in system performance testing according to claim 1, it is characterised in that the acquisition
The monitoring parameter of Linux main frames and analysis includes:Monitoring parameter is showed in patterned mode.
3. the backstage resource monitoring method in system performance testing according to claim 2, it is characterised in that described to supervise
Control parameter with patterned mode show including:The double reference axis charts of generation one, the ordinate of the chart is the value of parameter,
Abscissa is the time.
4. the backstage resource monitoring method in system performance testing according to claim 3, it is characterised in that described to supervise
Control parameter is showed in patterned mode and also included:Break data are shown on double reference axis charts.
5. according to the backstage resource monitoring method in any described system performance testings of claim 1-4, it is characterised in that institute
State the monitoring parameter for obtaining Linux main frames and analysis includes:The request of analysis monitoring parameter is received, the analysis monitoring ginseng is determined
The target monitoring parameter type asked in several requests, chooses the target monitoring parameter point in the monitoring parameter being collected into
Analysis.
6. the backstage monitoring resource device in a kind of system performance testing, including:
First collector unit, for by performing Shell scripts to monitored Linux main frames transmission Shell orders, to collect
Monitoring parameter in monitored Linux main frames;
Second collector unit, the IP address for the Linux main frames according to input is sent to monitored Linux main frames obtains monitoring
The request of parameter, is monitored Linux main frames after the request is received, the monitoring parameter being collected into is fed back into background monitoring
System;And
Analytic unit, monitoring parameter and analysis for obtaining Linux main frames.
7. the backstage monitoring resource device in system performance testing according to claim 6, it is characterised in that the analysis
Unit is specifically for monitoring parameter is showed in patterned mode.
8. the backstage monitoring resource device in system performance testing according to claim 7, it is characterised in that the analysis
Unit is specifically for one double reference axis chart of generation, and the ordinate of the chart is the value of parameter, and abscissa is the time.
9. the backstage monitoring resource device in system performance testing according to claim 8, it is characterised in that the analysis
Unit is additionally operable to show break data on double reference axis charts.
10. according to the backstage monitoring resource device in any described system performance testings of claim 5-9, it is characterised in that
The analytic unit is asked specifically for the request of reception analysis monitoring parameter in the request for determining the analysis monitoring parameter
Target monitoring parameter type, the target monitoring Parameter analysis is chosen in the monitoring parameter being collected into.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710126682.4A CN107066372A (en) | 2017-03-03 | 2017-03-03 | Backstage resource monitoring method and device in system performance testing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710126682.4A CN107066372A (en) | 2017-03-03 | 2017-03-03 | Backstage resource monitoring method and device in system performance testing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107066372A true CN107066372A (en) | 2017-08-18 |
Family
ID=59623050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710126682.4A Pending CN107066372A (en) | 2017-03-03 | 2017-03-03 | Backstage resource monitoring method and device in system performance testing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107066372A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109324950A (en) * | 2018-09-18 | 2019-02-12 | 郑州云海信息技术有限公司 | The output method and device of monitored results in monitoring system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201776A (en) * | 2006-12-14 | 2008-06-18 | 英业达股份有限公司 | Method for integrating and testing platform of multiple operating systems |
CN102075384A (en) * | 2010-12-20 | 2011-05-25 | 创新科存储技术有限公司 | Performance test system and method |
CN102508763A (en) * | 2011-10-11 | 2012-06-20 | 工业和信息化部计算机与微电子发展研究中心(中国软件评测中心) | Performance test system of GIS (Geographic Information System) platform |
CN103326902A (en) * | 2013-06-28 | 2013-09-25 | 广东电网公司电力科学研究院 | Configurable monitoring system and monitoring method for distributed type mainframe performance testing data |
CN104023071A (en) * | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | System and method of monitoring software performance test resources |
CN104407910A (en) * | 2014-10-29 | 2015-03-11 | 华南理工大学 | Virtualization server performance monitoring method and system |
CN104461832A (en) * | 2015-01-07 | 2015-03-25 | 浪潮(北京)电子信息产业有限公司 | Method and device for monitoring resources of application server |
CN105354128A (en) * | 2015-11-11 | 2016-02-24 | 中国建设银行股份有限公司 | Computer resource monitoring method, device and system |
-
2017
- 2017-03-03 CN CN201710126682.4A patent/CN107066372A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201776A (en) * | 2006-12-14 | 2008-06-18 | 英业达股份有限公司 | Method for integrating and testing platform of multiple operating systems |
CN102075384A (en) * | 2010-12-20 | 2011-05-25 | 创新科存储技术有限公司 | Performance test system and method |
CN102508763A (en) * | 2011-10-11 | 2012-06-20 | 工业和信息化部计算机与微电子发展研究中心(中国软件评测中心) | Performance test system of GIS (Geographic Information System) platform |
CN103326902A (en) * | 2013-06-28 | 2013-09-25 | 广东电网公司电力科学研究院 | Configurable monitoring system and monitoring method for distributed type mainframe performance testing data |
CN104023071A (en) * | 2014-06-13 | 2014-09-03 | 中国民航信息网络股份有限公司 | System and method of monitoring software performance test resources |
CN104407910A (en) * | 2014-10-29 | 2015-03-11 | 华南理工大学 | Virtualization server performance monitoring method and system |
CN104461832A (en) * | 2015-01-07 | 2015-03-25 | 浪潮(北京)电子信息产业有限公司 | Method and device for monitoring resources of application server |
CN105354128A (en) * | 2015-11-11 | 2016-02-24 | 中国建设银行股份有限公司 | Computer resource monitoring method, device and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109324950A (en) * | 2018-09-18 | 2019-02-12 | 郑州云海信息技术有限公司 | The output method and device of monitored results in monitoring system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103532780B (en) | O&M for IT field monitors integral system and integrated monitoring method | |
US9495473B2 (en) | Analytic dashboard with user interface for producing a single chart statistical correlation from source and target charts during a load test | |
US10489264B2 (en) | Monitoring activity on a computer | |
US10230601B1 (en) | Systems and methods for integrated modeling and performance measurements of monitored virtual desktop infrastructure systems | |
EP2698712B1 (en) | Computer program, method, and information processing apparatus for analyzing performance of computer system | |
EP2240858B1 (en) | Method for using dynamically scheduled synthetic transactions to monitor performance and availability of e-business systems | |
CN111124850A (en) | MQTT server performance testing method, system, computer equipment and storage medium | |
US10657036B2 (en) | Determining visual testing coverages | |
US8627147B2 (en) | Method and computer program product for system tuning based on performance measurements and historical problem data and system thereof | |
US8024713B2 (en) | Using ghost agents in an environment supported by customer service providers | |
CN102055622B (en) | System for network monitoring and network tester and its operation method | |
CN106992974A (en) | A kind of live video information monitoring method, device and equipment | |
US20140280912A1 (en) | System and method for determination and visualization of cloud processes and network relationships | |
CN113010392B (en) | Big data platform testing method, device, equipment, storage medium and system | |
Liu | Research of performance test technology for big data applications | |
CN110727564A (en) | Real-time monitoring method for test data of server performance pressure test | |
CN107066372A (en) | Backstage resource monitoring method and device in system performance testing | |
Tsouloupas et al. | Gridbench: A tool for the interactive performance exploration of grid infrastructures | |
CN110232026A (en) | AssetBundle resource detection method and system | |
Kao | Testing and evaluation framework for virtualization technologies | |
Hojati et al. | Redfish green500 benchmarker (rgb): Towards automation of the green500 process for data centers | |
CN114090382B (en) | Health inspection method and device for super-converged cluster | |
CN112148616B (en) | Performance test management platform | |
Tian | Real-time dashboard for container monitoring | |
Aggarwal et al. | Towards a Visualization-Driven Approach to Database Benchmarking Analysis |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170818 |