CN105468501A - Performance monitoring method and device of Linux system - Google Patents

Performance monitoring method and device of Linux system Download PDF

Info

Publication number
CN105468501A
CN105468501A CN201510792395.8A CN201510792395A CN105468501A CN 105468501 A CN105468501 A CN 105468501A CN 201510792395 A CN201510792395 A CN 201510792395A CN 105468501 A CN105468501 A CN 105468501A
Authority
CN
China
Prior art keywords
rate
linux system
internal memory
operation information
offered load
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
Application number
CN201510792395.8A
Other languages
Chinese (zh)
Inventor
范冬冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201510792395.8A priority Critical patent/CN105468501A/en
Publication of CN105468501A publication Critical patent/CN105468501A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording 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/3466Performance evaluation by tracing or monitoring
    • G06F11/3495Performance evaluation by tracing or monitoring for systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs
    • G06F11/3612Software analysis for verifying properties of programs by runtime analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Abstract

The embodiment of the invention provides a performance monitoring method and device of a Linux system. The method comprises the following steps: collecting resource operation information in the Linux system at a preset time interval, wherein the resource information comprises processor operation information, memory operation time, disc operation information and network operation information; and according to the processor operation information, the memory operation time, the disc operation information and the network operation information, obtaining a processor use ratio, a memory occupancy ratio, a disc use ratio and a network load ratio, judging whether the processor use ratio, the memory occupancy ratio, the disc use ratio and the network load ratio do not exceed the corresponding preset threshold values, and if the processor use ratio, the memory occupancy ratio, the disc use ratio and the network load ratio exceed the corresponding preset threshold values, outputting alarm information. The resource operation situation in the Linux system is monitored in real time, once an overload phenomenon is in the presence in the Linux system, the alarm information is output to inform the user that the Linux system has the overload phenomenon, a phenomenon that an influence degree of the load phenomenon of the Linux system is aggravated to affect the normal operation of the Linux system when a user does not know the phenomenon can be avoided.

Description

A kind of linux system performance monitoring method and device
Technical field
The present invention relates to linux system technical field, particularly relate to a kind of linux system performance monitoring method and device.
Background technology
Linux system is the class Unix operating system of a set of free use and Free propagation, can realize controlling the management of hardware resource and software resource, the operation of application software all needs the support of operating system, and operating system provides infrastructure service for the stable operation of business software.Due to the difference of different release versions and different kernel parameters, the performance that operating system shows also can difference to some extent, the quality of performance directly affects the efficiency and quality of operating system being run business, so, the situation of real-time grasp current operation system performance is most important with the running status allowing to adjustment System in time.
At present, mainly through using the system command that provides of linux system to monitor the system performance of linux system.Such as, in order line, input top order, then can the utilization rate of dynamic display processing device, in order line, input free order, then can show the memory usage of current system.The system performance of linux system is monitored by input system order in order line, the system performance information of linux system just can be obtained after needing artificial input command, when occurring overload phenomenon in linux system, when a certain attribute of performance numerical value exceeds normal operating range, if user does not inquire about this performance attributes data of linux system, then cannot learn that this linux system occurs overload, may in unwitting situation, still the hardware facility or software program etc. that use this performance are operated, increase the weight of the load of the hardware facility using this performance etc., increase the weight of the influence degree of linux system overload phenomenon, have influence on the normal operation of linux system.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of linux system performance monitoring method and device, with solve need artificial input command in prior art after just can obtain the system performance information of linux system, when attribute of performance a certain in linux system exceeds normal operating range, if user does not inquire about this performance attributes data in linux system, then cannot learn that this attribute of performance exceedes normal operating range, may in unwitting situation, still the hardware facility or software program etc. that use this performance are operated, increase the weight of the loads such as the hardware facility using this performance, have influence on the problem of the normal operation of linux system.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of linux system performance monitoring method, comprises
Gather resource operation information in linux system every prefixed time interval, described resource information comprises processor operation information, internal memory operation information, disk operation information and network operations information;
Respectively according to described processor operation information, internal memory operation information, disk operation information and network operations information, obtain the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate;
Judge whether described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, if not, then output alarm information.
Wherein, also comprise after obtaining the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate described in:
Respectively according to described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate rendering processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure;
Export described processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
Wherein, export described warning message to comprise:
Determine the data message exceeding its corresponding predetermined threshold value in described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate;
Default equipment is sent to show resource operation information corresponding with described data message for the numerical value of described data message.
Wherein, also comprise after obtaining the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate described in:
Default storage space is sent to store described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate.
Wherein, describedly gather linux system domestic-investment source information every prefixed time interval and comprise:
After starting described linux system, gather resource information in described linux system every prefixed time interval;
Or start described linux system, after receptivity Monitoring instruction, gather resource information in described linux system every prefixed time interval.
Wherein, described linux system method for testing performance, also comprises:
When judgement non-described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, then give the alarm, described warning is that audible alarm and/or flashlamp are reported to the police.
A kind of linux system performance monitoring device, comprising: information acquisition module, computing module and judgement output module; Wherein,
Described information acquisition module, for gathering resource operation information in linux system every prefixed time interval, described resource information comprises processor operation information, internal memory operation information, disk operation information and network operations information;
Described computing module, for respectively according to described processor operation information, internal memory operation information, disk operation information and network operations information, obtains the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate;
Described judgement output module, for judging whether described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, if not, then output alarm information.
Wherein, described linux system performance monitoring device, also comprises: graphics module and image output module; Wherein,
Described graphics module, for respectively according to described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate rendering processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure;
Described image output module, for exporting described processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
Wherein, described judgement output module comprises: data determination unit and data transmission unit; Wherein,
Described data determination unit, for determining the data message exceeding its corresponding predetermined threshold value in described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate;
Described data transmission unit, for sending to default equipment to show resource operation information corresponding with described data message for the numerical value of described data message.
Wherein, described linux system performance monitoring device, also comprises: the first sending module, for sending to default storage space to store described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate.
Based on technique scheme, the linux system performance monitoring method that the embodiment of the present invention provides and device, resource operation information in linux system is gathered every prefixed time interval, this resource information comprises processor operation information, internal memory operation information, disk operation information and network operations information, respectively according to this processor operation information, internal memory operation information, disk operation information and network operations information, obtain the processor utilization rate of linux system, internal memory occupation rate, disk utilization and offered load rate, judge the processor utilization rate obtained, internal memory occupation rate, whether disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, if not, the processor utilization rate even obtained, internal memory occupation rate, arbitraryly in disk utilization and offered load rate be more than its corresponding predetermined threshold value, then output alarm information, inform that this linux system of user stores overload phenomenon.By every prefixed time interval Acquisition Processor operation information, internal memory operation information, disk operation information and network operations information, obtain processor utilization rate, internal memory occupation rate, disk utilization and offered load rate, resource ruuning situation in Real-Time Monitoring linux system, once there is overload phenomenon in discovery linux system, namely once find processor utilization rate, internal memory occupation rate, arbitraryly in disk utilization and offered load rate exceed its corresponding predetermined threshold value, then output alarm information, inform that this linux system of user exists overload phenomenon, avoid user in unwitting situation, increase the weight of the influence degree of linux system load phenomenon, have influence on the normal operation of linux system.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The process flow diagram of the linux system performance monitoring method that Fig. 1 provides for the embodiment of the present invention;
The method flow diagram of output curve diagram in the linux system method for testing performance that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram of output alarm information in the linux system method for testing performance that Fig. 3 provides for the embodiment of the present invention;
The system chart of the linux system performance monitoring device that Fig. 4 provides for the embodiment of the present invention;
Another system chart of the linux system device for detecting performance that Fig. 5 provides for the embodiment of the present invention;
The structured flowchart of output module is judged in the linux system device for detecting performance that Fig. 6 provides for the embodiment of the present invention;
The another system chart of the linux system device for detecting performance that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The process flow diagram of the linux system performance monitoring method that Fig. 1 provides for the embodiment of the present invention, resource ruuning situation in Real-Time Monitoring linux system, once there is overload phenomenon in discovery linux system, then output alarm information, inform that this linux system of user exists overload phenomenon, avoid user in unwitting situation, increase the weight of the influence degree of linux system load phenomenon, have influence on the normal operation of linux system; With reference to Fig. 1, this linux system performance monitoring method can comprise:
Step S100: gather resource operation information in linux system every prefixed time interval, described resource information comprises processor operation information, internal memory operation information, disk operation information and network operations information;
Optionally, can be after the described linux system of startup, gather resource information in described linux system every prefixed time interval, also can be after the described linux system of startup, after receptivity Monitoring instruction, gather resource information in described linux system every prefixed time interval.
Optionally, all resource operation informations in linux system can be gathered every prefixed time interval, resource operation information described in linux system is monitored simultaneously, also every prefixed time interval, processor operation information, internal memory operation information, disk operation information and network operations information are gathered respectively, make separate between the detection of processor operation information, internal memory operation information, disk operation information and network operations information.
Step S110: respectively according to described processor operation information, internal memory operation information, disk operation information and network operations information, obtains the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate;
Optionally, can respectively according to processor operation information, internal memory operation information, disk operation information and network operations information, obtain the processor utilization rate of linux system, internal memory occupation rate, after disk utilization and offered load rate, respectively according to the processor utilization rate obtained, internal memory occupation rate, disk utilization and offered load rate rendering processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure, then the processor utilization rate curve map will obtained, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure export.
Optionally, after obtaining processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure, the processor utilization rate curve map obtained, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure can be exported at least one in computer display screen, server and client side and show.So, can real-time monitored to the system performance information of linux system, without the need to just obtaining the system performance information of linux system after artificial input command, and what observe is view data, more intuitively.
Optionally, processor utilization rate can obtained, internal memory occupation rate, after disk utilization and offered load rate, by the processor utilization rate that will obtain, internal memory occupation rate, there is meeting plotting equipment or program in disk utilization and offered load rate, make this plotting equipment or program by new processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are added into former processor utilization rate curve map, internal memory occupation rate curve map, in disk utilization curve map and offered load rate curve figure, obtain processor utilization rate curve map respectively, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
Optionally, can after obtaining processor utilization rate, internal memory occupation rate, disk utilization and offered load rate, by obtaining all processor utilization rates, internal memory occupation rate, disk utilization and the offered load rate that obtain in preset time period, come respectively according to all processor utilization rates obtained, internal memory occupation rate, disk utilization and offered load rate rendering processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
Optionally, after obtaining processor utilization rate, internal memory occupation rate, disk utilization and offered load rate, processor utilization rate, internal memory occupation rate, disk utilization and the offered load rate that can will obtain, send to default storage space to store.
Step S120: judge whether described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value;
These four data messages of processor utilization rate, internal memory occupation rate, disk utilization and offered load rate all have its corresponding predetermined threshold value, if certain data message exceedes this threshold value, the equipment overwork that these data are corresponding is then described, there is overload phenomenon in linux system, if these four data messages of processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, then illustrate that linux system can normally work, and does not exist overload phenomenon.
Step S130: if not, then output alarm information.
Optionally, can by determining the data message exceeding its corresponding predetermined threshold value in the processor utilization rate, internal memory occupation rate, disk utilization and the offered load rate that obtain, which which namely determine to exceed its predetermined threshold value for or in processor utilization rate, internal memory occupation rate, disk utilization and offered load rate, send to default equipment to show resource operation information corresponding with this data message for the numerical value of this data message, inform which user is specially or that several data message exceeds predetermined threshold value.Such as, if processor utilization rate exceeds predetermined threshold value in processor utilization rate, internal memory occupation rate, disk utilization and offered load rate, the numerical value of processor utilization rate then will obtained, i.e. current processor utilization rate, the processor operation information corresponding with processor utilization rate sends to default equipment to show.
Optionally, resource operation information corresponding with this data message for the numerical value of data message can be sent at least one in computer display screen, server and client side and show.
Optionally, when judgement not all processor utilization rate, internal memory occupation rate, disk utilization and these four data messages of offered load rate are all no more than its corresponding predetermined threshold value, namely when in all processor utilization rates, internal memory occupation rate, disk utilization and offered load rate four data messages, existence exceedes the data message of its corresponding threshold value, outside output alarm information, also can be able to give the alarm.
Optionally, the warning sent can be reported to the police for audible alarm and/or flashlamp, optionally, can use hummer to sound warning.
Optionally, can arrange when different data messages exceedes its predetermined threshold value in processor utilization rate, internal memory occupation rate, disk utilization and offered load rate, send different warnings.Such as, yowl audible alarm can being sent when decision processor utilization rate exceeds its predetermined threshold value, sending short ring audible alarm when judging that internal memory occupation rate exceeds its predetermined threshold value.
Based on technique scheme, the linux system performance monitoring method that the embodiment of the present invention provides and device, resource operation information in linux system is gathered every prefixed time interval, this resource information comprises processor operation information, internal memory operation information, disk operation information and network operations information, respectively according to this processor operation information, internal memory operation information, disk operation information and network operations information, obtain the processor utilization rate of linux system, internal memory occupation rate, disk utilization and offered load rate, judge the processor utilization rate obtained, internal memory occupation rate, whether disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, if not, the processor utilization rate even obtained, internal memory occupation rate, arbitraryly in disk utilization and offered load rate be more than its corresponding predetermined threshold value, then output alarm information, inform that this linux system of user stores overload phenomenon.By every prefixed time interval Acquisition Processor operation information, internal memory operation information, disk operation information and network operations information, obtain processor utilization rate, internal memory occupation rate, disk utilization and offered load rate, resource ruuning situation in Real-Time Monitoring linux system, once there is overload phenomenon in discovery linux system, namely once find processor utilization rate, internal memory occupation rate, arbitraryly in disk utilization and offered load rate exceed its corresponding predetermined threshold value, then output alarm information, inform that this linux system of user exists overload phenomenon, avoid user in unwitting situation, increase the weight of the influence degree of linux system load phenomenon, have influence on the normal operation of linux system.
Optionally, Fig. 2 shows the method flow diagram of output curve diagram in the linux system method for testing performance that the embodiment of the present invention provides, and with reference to Fig. 2, the method for this output curve diagram comprises:
Step S200: respectively according to described processor operation information, internal memory operation information, disk operation information and network operations information, obtains the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate;
Step S210: respectively according to described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate rendering processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure;
Optionally, processor utilization rate can obtained, internal memory occupation rate, after disk utilization and offered load rate, by the processor utilization rate that will obtain, internal memory occupation rate, there is meeting plotting equipment or program in disk utilization and offered load rate, make this plotting equipment or program by new processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are added into former processor utilization rate curve map, internal memory occupation rate curve map, in disk utilization curve map and offered load rate curve figure, obtain processor utilization rate curve map respectively, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
Optionally, can after obtaining processor utilization rate, internal memory occupation rate, disk utilization and offered load rate, by obtaining all processor utilization rates, internal memory occupation rate, disk utilization and the offered load rate that obtain in preset time period, come respectively according to all processor utilization rates obtained, internal memory occupation rate, disk utilization and offered load rate rendering processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
Step S220: export described processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
Optionally, after obtaining processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure, the processor utilization rate curve map obtained, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure can be exported at least one in computer display screen, server and client side and show.Real-time monitored to the system performance information of linux system, without the need to the system performance information of linux system just can be obtained after artificial input command, and observe for view data, more intuitively.
Optionally, Fig. 3 shows the method flow diagram of output alarm information in the linux system method for testing performance that the embodiment of the present invention provides, and with reference to Fig. 3, the method for this output alarm information comprises:
Step S300: determine the data message exceeding its corresponding predetermined threshold value in described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate;
These four data messages of processor utilization rate, internal memory occupation rate, disk utilization and offered load rate all have its corresponding predetermined threshold value, if certain data message exceedes this threshold value, the equipment overwork that these data are corresponding is then described, there is overload phenomenon in linux system, if these four data messages of processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, then illustrate that linux system can normally work, and does not exist overload phenomenon.
Determine the data message exceeding its corresponding predetermined threshold value in described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate, namely determine to exceed its predetermined threshold value for which or which in processor utilization rate, internal memory occupation rate, disk utilization and offered load rate.
Step S310: send to default equipment to show resource operation information corresponding with described data message for the numerical value of described data message.
Optionally, resource operation information corresponding with this data message for the numerical value of data message can be sent at least one in computer display screen, server and client side and show.
The linux system method for testing performance that the embodiment of the present invention provides, resource ruuning situation in Real-Time Monitoring linux system, once there is overload phenomenon in discovery linux system, then output alarm information, inform that this linux system of user exists overload phenomenon, avoid user in unwitting situation, increase the weight of the influence degree of linux system load phenomenon, have influence on the normal operation of linux system.
Be introduced the linux system performance monitoring device that the embodiment of the present invention provides below, linux system performance monitoring device described below can mutual corresponding reference with above-described linux system performance monitoring method.
The system chart of the linux system performance monitoring device that Fig. 4 provides for the embodiment of the present invention, with reference to Fig. 4, this linux system performance monitoring device can comprise: information acquisition module 100, computing module 200 and judge output module 300; Wherein,
Information acquisition module 100, for gathering resource operation information in linux system every prefixed time interval, described resource information comprises processor operation information, internal memory operation information, disk operation information and network operations information;
Computing module 200, for respectively according to described processor operation information, internal memory operation information, disk operation information and network operations information, obtains the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate;
Judge output module 300, for judging whether described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, if not, then output alarm information.
Optionally, Fig. 5 shows another system chart of the linux system device for detecting performance that the embodiment of the present invention provides, and with reference to Fig. 5, this linux system device for detecting performance can also comprise: graphics module 400 and image output module 500; Wherein,
Graphics module 400, for respectively according to described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate rendering processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure;
Image output module 500, for exporting described processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
Optionally, Fig. 6 shows the structured flowchart judging output module 300 in the linux system device for detecting performance that the embodiment of the present invention provides, and with reference to Fig. 6, this judgement output module 300 can comprise: data determination unit 310 and data transmission unit 320; Wherein,
Data determination unit 310, for determining the data message exceeding its corresponding predetermined threshold value in described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate;
Data transmission unit 320, for sending to default equipment to show resource operation information corresponding with described data message for the numerical value of described data message.
Optionally, Fig. 7 shows the another system chart of the linux system device for detecting performance that the embodiment of the present invention provides, and with reference to Fig. 7, this linux system device for detecting performance can also comprise: data transmission blocks 600.
Data transmission blocks 600, for sending to default storage space to store described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate.
The linux system performance monitoring device that the embodiment of the present invention provides, resource ruuning situation in Real-Time Monitoring linux system, once there is overload phenomenon in discovery linux system, then output alarm information, inform that this linux system of user exists overload phenomenon, avoid user in unwitting situation, increase the weight of the influence degree of linux system load phenomenon, have influence on the normal operation of linux system
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a linux system performance monitoring method, is characterized in that, comprises
Gather resource operation information in linux system every prefixed time interval, described resource information comprises processor operation information, internal memory operation information, disk operation information and network operations information;
Respectively according to described processor operation information, internal memory operation information, disk operation information and network operations information, obtain the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate;
Judge whether described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, if not, then output alarm information.
2. linux system method for testing performance according to claim 1, is characterized in that, described in obtain the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate after also comprise:
Respectively according to described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate rendering processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure;
Export described processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
3. linux system method for testing performance according to claim 1, is characterized in that, exports described warning message and comprises:
Determine the data message exceeding its corresponding predetermined threshold value in described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate;
Default equipment is sent to show resource operation information corresponding with described data message for the numerical value of described data message.
4. linux system method for testing performance according to claim 1, is characterized in that, described in obtain the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate after also comprise:
Default storage space is sent to store described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate.
5. linux system method for testing performance according to claim 1, is characterized in that, describedly gathers linux system domestic-investment source information every prefixed time interval and comprises:
After starting described linux system, gather resource information in described linux system every prefixed time interval;
Or start described linux system, after receptivity Monitoring instruction, gather resource information in described linux system every prefixed time interval.
6. linux system method for testing performance according to claim 1, is characterized in that, also comprise:
When judgement non-described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, then give the alarm, described warning is that audible alarm and/or flashlamp are reported to the police.
7. a linux system performance monitoring device, is characterized in that, comprising: information acquisition module, computing module and judgement output module; Wherein,
Described information acquisition module, for gathering resource operation information in linux system every prefixed time interval, described resource information comprises processor operation information, internal memory operation information, disk operation information and network operations information;
Described computing module, for respectively according to described processor operation information, internal memory operation information, disk operation information and network operations information, obtains the processor utilization rate of described linux system, internal memory occupation rate, disk utilization and offered load rate;
Described judgement output module, for judging whether described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate are all no more than its corresponding predetermined threshold value, if not, then output alarm information.
8. linux system performance monitoring device according to claim 7, is characterized in that, also comprise: graphics module and image output module; Wherein,
Described graphics module, for respectively according to described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate rendering processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure;
Described image output module, for exporting described processor utilization rate curve map, internal memory occupation rate curve map, disk utilization curve map and offered load rate curve figure.
9. linux system performance monitoring device according to claim 7, is characterized in that, described judgement output module comprises: data determination unit and data transmission unit; Wherein,
Described data determination unit, for determining the data message exceeding its corresponding predetermined threshold value in described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate;
Described data transmission unit, for sending to default equipment to show resource operation information corresponding with described data message for the numerical value of described data message.
10. linux system performance monitoring device according to claim 7, it is characterized in that, also comprise: the first sending module, for sending to default storage space to store described processor utilization rate, internal memory occupation rate, disk utilization and offered load rate.
CN201510792395.8A 2015-11-17 2015-11-17 Performance monitoring method and device of Linux system Pending CN105468501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510792395.8A CN105468501A (en) 2015-11-17 2015-11-17 Performance monitoring method and device of Linux system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510792395.8A CN105468501A (en) 2015-11-17 2015-11-17 Performance monitoring method and device of Linux system

Publications (1)

Publication Number Publication Date
CN105468501A true CN105468501A (en) 2016-04-06

Family

ID=55606232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510792395.8A Pending CN105468501A (en) 2015-11-17 2015-11-17 Performance monitoring method and device of Linux system

Country Status (1)

Country Link
CN (1) CN105468501A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557407A (en) * 2016-11-14 2017-04-05 腾讯科技(深圳)有限公司 A kind of monitoring method and device of apparatus of load
CN106776248A (en) * 2016-11-11 2017-05-31 乐视控股(北京)有限公司 A kind of method and apparatus of data processing
CN107704368A (en) * 2017-08-30 2018-02-16 安徽天达网络科技有限公司 A kind of monitoring and control system based on the computer speed of service
CN108228435A (en) * 2017-04-21 2018-06-29 珠海市魅族科技有限公司 Processor based on Ftrace performs state model building method and system
CN108804292A (en) * 2018-06-20 2018-11-13 郑州云海信息技术有限公司 A kind of CPU pressure test monitoring methods for Linux
CN109032892A (en) * 2018-07-25 2018-12-18 浪潮(北京)电子信息产业有限公司 A kind of method for drafting of performance chart, device, equipment and medium
CN109101356A (en) * 2018-07-18 2018-12-28 沈文策 A kind of method and apparatus of monitoring software state
CN109495396A (en) * 2017-09-11 2019-03-19 美的智慧家居科技有限公司 Environmental quality detection device and its data transmission method, environmental monitoring system
CN110457133A (en) * 2019-08-02 2019-11-15 深圳互联先锋科技有限公司 A kind of processing method and system of operating-system resources exception
CN110971444A (en) * 2019-10-09 2020-04-07 中移(杭州)信息技术有限公司 Alarm management method, device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005276053A (en) * 2004-03-26 2005-10-06 Mitsubishi Electric Corp Information collecting system
CN101707632A (en) * 2009-10-28 2010-05-12 浪潮电子信息产业股份有限公司 Method for dynamically monitoring performance of server cluster and alarming real-timely
US20120314573A1 (en) * 2006-08-22 2012-12-13 Embarq Holdings Company, Llc System and method for monitoring and altering performance of a packet network
CN103092738A (en) * 2012-12-26 2013-05-08 杭州华为数字技术有限公司 Method and device of resource visualization
CN104572405A (en) * 2014-12-12 2015-04-29 集时通(福建)信息科技有限公司 Pc server operation system and database operation environment monitoring alarm system
CN104657250A (en) * 2014-12-16 2015-05-27 无锡华云数据技术服务有限公司 Monitoring method for monitoring performance of cloud host

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005276053A (en) * 2004-03-26 2005-10-06 Mitsubishi Electric Corp Information collecting system
US20120314573A1 (en) * 2006-08-22 2012-12-13 Embarq Holdings Company, Llc System and method for monitoring and altering performance of a packet network
CN101707632A (en) * 2009-10-28 2010-05-12 浪潮电子信息产业股份有限公司 Method for dynamically monitoring performance of server cluster and alarming real-timely
CN103092738A (en) * 2012-12-26 2013-05-08 杭州华为数字技术有限公司 Method and device of resource visualization
CN104572405A (en) * 2014-12-12 2015-04-29 集时通(福建)信息科技有限公司 Pc server operation system and database operation environment monitoring alarm system
CN104657250A (en) * 2014-12-16 2015-05-27 无锡华云数据技术服务有限公司 Monitoring method for monitoring performance of cloud host

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776248A (en) * 2016-11-11 2017-05-31 乐视控股(北京)有限公司 A kind of method and apparatus of data processing
CN106557407A (en) * 2016-11-14 2017-04-05 腾讯科技(深圳)有限公司 A kind of monitoring method and device of apparatus of load
CN106557407B (en) * 2016-11-14 2020-03-17 腾讯科技(深圳)有限公司 Method and device for monitoring equipment load
CN108228435A (en) * 2017-04-21 2018-06-29 珠海市魅族科技有限公司 Processor based on Ftrace performs state model building method and system
CN108228435B (en) * 2017-04-21 2021-01-26 珠海市魅族科技有限公司 Ftrace-based processor execution state model building method and system
CN107704368A (en) * 2017-08-30 2018-02-16 安徽天达网络科技有限公司 A kind of monitoring and control system based on the computer speed of service
CN109495396A (en) * 2017-09-11 2019-03-19 美的智慧家居科技有限公司 Environmental quality detection device and its data transmission method, environmental monitoring system
CN108804292A (en) * 2018-06-20 2018-11-13 郑州云海信息技术有限公司 A kind of CPU pressure test monitoring methods for Linux
CN109101356A (en) * 2018-07-18 2018-12-28 沈文策 A kind of method and apparatus of monitoring software state
CN109032892A (en) * 2018-07-25 2018-12-18 浪潮(北京)电子信息产业有限公司 A kind of method for drafting of performance chart, device, equipment and medium
CN110457133A (en) * 2019-08-02 2019-11-15 深圳互联先锋科技有限公司 A kind of processing method and system of operating-system resources exception
CN110971444A (en) * 2019-10-09 2020-04-07 中移(杭州)信息技术有限公司 Alarm management method, device, server and storage medium
CN110971444B (en) * 2019-10-09 2023-04-07 中移(杭州)信息技术有限公司 Alarm management method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN105468501A (en) Performance monitoring method and device of Linux system
CN111049705B (en) Method and device for monitoring distributed storage system
CN103236948B (en) A kind of telecommunications network alarm method and system
CN106557407B (en) Method and device for monitoring equipment load
CN109088775B (en) Abnormity monitoring method and device and server
CN105373460B (en) The alarm method and system of monitoring message
CA3230388A1 (en) Method of and device for monitoring business data, method of and device for generating rule data, and system
US11228506B2 (en) Systems and methods for detecting anomalies in performance indicators of network devices
CN104320285A (en) Website running status monitoring method and device
CN105471938B (en) Server load management method and device
CN110933172A (en) Remote monitoring system and method based on cloud computing
CN111130867B (en) Intelligent household equipment alarm method and device based on Internet of things
CN110191016B (en) Cloud platform service monitoring method, device, equipment and system and readable storage medium
CN111339062A (en) Data monitoring method and device, electronic equipment and storage medium
CN105490835B (en) Information monitoring method and device
CN111953569B (en) State information reporting method, device, equipment and medium
JP2011526121A (en) Notification to users targeted for messages in the surveillance system
CN104601369A (en) Alarm method, device and system for IT (information technology) operation and maintenance
CN111625410B (en) Information processing method, apparatus, and computer storage medium
CN109753399B (en) Automatic notification and response method for system unit state change
CN114268799A (en) Streaming media transmission method and device, electronic equipment and medium
CN115269225A (en) Data processing method and device and computer equipment
CN114003480A (en) APP starting time monitoring system and method
CN112711517A (en) Server performance monitoring method and device, storage medium and terminal
CN109120439B (en) Distributed cluster alarm output method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20160406