CN112711517A - Server performance monitoring method and device, storage medium and terminal - Google Patents

Server performance monitoring method and device, storage medium and terminal Download PDF

Info

Publication number
CN112711517A
CN112711517A CN202011578171.4A CN202011578171A CN112711517A CN 112711517 A CN112711517 A CN 112711517A CN 202011578171 A CN202011578171 A CN 202011578171A CN 112711517 A CN112711517 A CN 112711517A
Authority
CN
China
Prior art keywords
server
performance information
performance
instruction
information
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
CN202011578171.4A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011578171.4A priority Critical patent/CN112711517A/en
Publication of CN112711517A publication Critical patent/CN112711517A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • G06F11/3093Configuration details thereof, e.g. installation, enabling, spatial arrangement of the probes
    • 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/3409Recording 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
    • G06F11/3433Recording 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 for load management

Abstract

The invention provides a method, a device, a storage medium and a terminal for monitoring server performance, wherein the method comprises the following steps: sending a performance information acquisition instruction to the server to acquire performance information of the server; and displaying the acquired performance information. The scheme provided by the invention can monitor the performance of the server in real time.

Description

Server performance monitoring method and device, storage medium and terminal
Technical Field
The present invention relates to the field of servers, and in particular, to a method, an apparatus, a storage medium, and a terminal for monitoring server performance.
Background
Nowadays, the server architecture is increasingly huge, the servers are used more and more frequently, although the performance of the servers is already remarkable along with the development of the technology, the application requirements are heavier and heavier, and particularly along with the arrival of big data, the performance requirements of the servers must withstand tests, and when the server resources are seriously delayed, the server resources cannot be effectively adjusted in time. Therefore, a solution for monitoring the performance of the server is needed, which can be known in time when the performance of the server is severely delayed, so as to adjust the resource of the server.
Disclosure of Invention
The present invention is directed to overcome the defects of the prior art, and provides a server performance monitoring method, an apparatus, a storage medium, and a terminal, so as to solve the problem in the prior art that server resources cannot be processed in time when server resources are severely delayed.
One aspect of the present invention provides a server performance monitoring method, including: sending a performance information acquisition instruction to the server to acquire performance information of the server; and displaying the acquired performance information.
Optionally, the performance information obtaining instruction includes: a top instruction and/or a df instruction.
Optionally, sending a performance information obtaining instruction to the server includes: sending the performance information acquisition instruction to the server once every preset time; and/or, displaying the acquired performance information, including: and displaying the performance information and displaying the performance index parameters corresponding to the performance information.
Optionally, the method further comprises: and sending out reminding information when the performance information which does not meet the corresponding performance index exists in the performance information.
Another aspect of the present invention provides a server performance monitoring apparatus, including: the acquisition unit is used for sending a performance information acquisition instruction to the server so as to acquire the performance information of the server; and the display unit is used for displaying the performance information acquired by the acquisition unit.
Optionally, the performance information obtaining instruction includes: a top instruction and/or a df instruction.
Optionally, the obtaining unit sends the performance information obtaining instruction to the server, and includes: sending the performance information acquisition instruction to the server once every preset time; and/or the display unit displays the acquired performance information, and comprises: and displaying the performance information and displaying the performance index parameters corresponding to the performance information.
Optionally, the method further comprises: and sending out reminding information when the performance information which does not meet the corresponding performance index exists in the performance information.
A further aspect of the invention provides a storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of any of the methods described above.
A further aspect of the invention provides a terminal comprising a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when executing the program.
In another aspect, the present invention provides a terminal including any one of the foregoing server performance monitoring apparatuses.
According to the technical scheme of the invention, the performance condition of the server can be displayed very intuitively, so that the performance of the server can be monitored in real time, and when the server resources are limited, corresponding reminding can be performed, so that related personnel can process the performance problem. The performance information of the server is acquired and displayed through the application program, effective parameters are provided for load balancing, the performance of the server is monitored in real time, and the conditions of overload, resource waste and the like of the server are responded in time.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a server performance monitoring method according to an embodiment of the present invention;
FIG. 2 shows a schematic diagram of server feedback information;
FIG. 3 is a method diagram of another embodiment of a server performance monitoring method provided by the present invention;
FIG. 4 is a schematic diagram illustrating a method for monitoring server performance according to an embodiment of the present invention;
FIG. 5 is a block diagram of an embodiment of a server performance monitoring apparatus provided by the present invention;
fig. 6 is a block diagram of another embodiment of a server performance monitoring apparatus according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the specific embodiments of the present invention and the accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Fig. 1 is a schematic method diagram of an embodiment of a server performance monitoring method provided by the present invention. The method of the present invention may be implemented in a terminal, specifically a terminal device capable of running a program, such as a PC terminal.
As shown in fig. 1, according to an embodiment of the present invention, the server performance monitoring method includes at least step S110 and step S120.
Step S110, sending a performance information obtaining instruction to the server to obtain the performance information of the server.
Optionally, the performance information obtaining instruction includes a top instruction and/or a df instruction. The Top instruction is used for monitoring the use condition of a CPU and a memory of the server system. The df instructions are used to display the usage of each disk.
Specifically, a program end (a device capable of running a program, such as a PC end) remotely connects to a server through an application program, sends a top instruction and a df instruction to the server, the server executes the top instruction, feeds back a CPU occupation ratio and a memory usage condition of the server, and the server executes the df instruction and feeds back a file system occupation condition.
Optionally, the performance information obtaining instruction is sent to the server once every preset time. For example, the program is set as a timed task, and the above program operation is performed every five minutes.
And step S120, displaying the acquired performance information.
Specifically, after receiving the feedback information of the server, the received feedback information is calculated and processed to obtain the required server performance information, and then the obtained performance information is displayed, for example, by a touch screen. For example, the CPU, memory usage, and parameters obtained by the top instruction are processed, for example, k bytes are converted into M or G. For example, fig. 2 shows a schematic diagram of server feedback information. As described with reference to fig. 2, by sending a top instruction, the received character string information returned by the server is processed to obtain performance information such as CPU utilization, memory occupation ratio, and the like.
Optionally, the performance index parameter corresponding to the performance information is also displayed while the performance information is displayed. For example, performance index parameters corresponding to various pieces of performance information can be preset, so that the performance of the server can be known more visually when the server is checked, and the performance of the server can be monitored in real time.
Fig. 3 is a schematic method diagram of another embodiment of the server performance monitoring method provided by the present invention.
As shown in fig. 3, according to an embodiment of the present invention, the server performance monitoring method further includes step S130.
And step S130, sending out reminding information when the performance information which does not meet the corresponding performance index exists in the performance information.
The reminding information comprises mail reminding and/or short message notification. For example, when the CPU of the server is overloaded or the memory is excessively occupied and the performance of the server is severely delayed, the application program reports the mail or sends a short message to notify the relevant person, and adjusts the server resources to achieve the purpose of reasonably using the server resources.
For clearly illustrating the technical solution of the present invention, the following describes an execution flow of the server performance monitoring method provided by the present invention with a specific embodiment.
Fig. 4 is a schematic method diagram of a server performance monitoring method according to an embodiment of the present invention. As shown in fig. 4, the method comprises the following steps:
the method comprises the following steps: acquiring server performance information through an application program;
step two: processing information;
step three: the touch screen displays performance information;
step four: and when the performance is alarmed, informing related personnel to process through short messages and mails.
Fig. 5 is a block diagram of a server performance monitoring apparatus according to an embodiment of the present invention. The device of the invention can be implemented in a terminal, in particular to a terminal device capable of running programs, such as a PC terminal.
As shown in fig. 5, the server performance monitoring apparatus 100 includes an acquisition unit 110 and a display unit 120.
The obtaining unit 110 is configured to send a performance information obtaining instruction to the server to obtain performance information of the server.
Optionally, the performance information obtaining instruction includes a top instruction and/or a df instruction. The Top instruction is used for monitoring the use condition of a CPU and a memory of the server system. The df instructions are used to display the usage of each disk.
Specifically, a program end (a device capable of running a program, for example, a PC end) remotely connects to a server through an application program, the obtaining unit 110 sends a top instruction and a df instruction to the server, the server executes the top instruction, feeds back a CPU occupation ratio and a memory usage condition of the server, and the server executes the df instruction and feeds back a file system occupation condition.
Optionally, the performance information obtaining instruction is sent to the server once every preset time. For example, the program is set as a timed task, and the above program operation is performed every five minutes.
The display unit 120 is configured to display the performance information acquired by the acquisition unit.
Specifically, after receiving the feedback information of the server, the obtaining unit 110 calculates and processes the received feedback information to obtain the required server performance information, and then the display unit 120 displays the obtained performance information, for example, through a touch screen. For example, the CPU, memory usage, and parameters obtained by the top instruction are processed, for example, k bytes are converted into M or G. For example, fig. 2 shows a schematic diagram of server feedback information. As described with reference to fig. 2, by sending a top instruction, the received character string information returned by the server is processed to obtain performance information such as CPU utilization, memory occupation ratio, and the like.
Optionally, the performance index parameter corresponding to the performance information is also displayed while the performance information is displayed. For example, performance index parameters corresponding to various pieces of performance information can be preset, so that the performance of the server can be known more visually when the server is checked, and the performance of the server can be monitored in real time.
Fig. 6 is a block diagram of another embodiment of a server performance monitoring apparatus according to the present invention. As shown in fig. 6, the server performance monitoring apparatus 100 further includes a reminding unit 130.
A reminding unit 130, configured to send out reminding information when there is performance information that does not meet the corresponding performance index in the performance information.
The reminding information comprises mail reminding and/or short message notification. For example, when the CPU of the server is overloaded or the memory is excessively occupied and the performance of the server is severely delayed, the application program reports the mail or sends a short message to notify the relevant person, and adjusts the server resources to achieve the purpose of reasonably using the server resources.
The present invention also provides a storage medium corresponding to the server performance monitoring method, on which a computer program is stored, which when executed by a processor implements the steps of any of the methods described above.
The invention also provides a terminal corresponding to the server performance monitoring method, which comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any one of the methods.
The invention also provides a terminal corresponding to the server performance monitoring device, which comprises any one of the server performance monitoring devices.
Therefore, the scheme provided by the invention can display the performance condition of the server very intuitively, so that the performance of the server can be monitored in real time, and when the server resources are limited, corresponding reminding can be performed, so that related personnel can process the performance problem. The performance information of the server is acquired and displayed through the application program, effective parameters are provided for load balancing, the performance of the server is monitored in real time, and the conditions of overload, resource waste and the like of the server are responded in time.
The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Other examples and implementations are within the scope and spirit of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hardwired, or a combination of any of these. In addition, each functional unit may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and the parts serving as the control device may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above description is only an example of the present invention, and is not intended to limit the present invention, and it is obvious to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (10)

1. A method for monitoring server performance, comprising:
sending a performance information acquisition instruction to the server to acquire performance information of the server;
and displaying the acquired performance information.
2. The method of claim 1, wherein the performance information fetch instruction comprises: a top instruction and/or a df instruction.
3. The method according to claim 1 or 2,
sending a performance information acquisition instruction to the server, including:
sending the performance information acquisition instruction to the server once every preset time;
and/or the presence of a gas in the gas,
displaying the acquired performance information, including:
and displaying the performance information and displaying the performance index parameters corresponding to the performance information.
4. The method of claim 1 or 2, further comprising:
and sending out reminding information when the performance information which does not meet the corresponding performance index exists in the performance information.
5. A server performance monitoring apparatus, comprising:
the acquisition unit is used for sending a performance information acquisition instruction to the server so as to acquire the performance information of the server;
and the display unit is used for displaying the performance information acquired by the acquisition unit.
6. The apparatus of claim 5, wherein the performance information obtaining instruction comprises: a top instruction and/or a df instruction.
7. The apparatus of claim 5 or 6,
the acquiring unit sends a performance information acquiring instruction to the server, and the acquiring unit includes:
sending the performance information acquisition instruction to the server once every preset time;
and/or the presence of a gas in the gas,
the display unit displays the acquired performance information, and includes:
and displaying the performance information and displaying the performance index parameters corresponding to the performance information.
8. The apparatus of claim 5 or 6, further comprising:
and the reminding information is used for sending out reminding information when the performance information which does not meet the corresponding performance index exists in the performance information.
9. A storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
10. A terminal comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, the processor when executing the program implementing the steps of the method of any of claims 1 to 4, or comprising the server performance monitoring apparatus of any of claims 5 to 8.
CN202011578171.4A 2020-12-28 2020-12-28 Server performance monitoring method and device, storage medium and terminal Pending CN112711517A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011578171.4A CN112711517A (en) 2020-12-28 2020-12-28 Server performance monitoring method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011578171.4A CN112711517A (en) 2020-12-28 2020-12-28 Server performance monitoring method and device, storage medium and terminal

Publications (1)

Publication Number Publication Date
CN112711517A true CN112711517A (en) 2021-04-27

Family

ID=75545714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011578171.4A Pending CN112711517A (en) 2020-12-28 2020-12-28 Server performance monitoring method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN112711517A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115934A (en) * 2021-10-25 2022-03-01 珠海格力电器股份有限公司 Program issuing method, electronic device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011015012A (en) * 2009-06-30 2011-01-20 Toshiba Corp Title sending device and title sending method thereof
CN111444061A (en) * 2020-03-30 2020-07-24 浪潮商用机器有限公司 Server resource monitoring method and system
CN111858257A (en) * 2020-07-28 2020-10-30 浪潮云信息技术股份公司 System and method for acquiring container cluster resource use data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011015012A (en) * 2009-06-30 2011-01-20 Toshiba Corp Title sending device and title sending method thereof
CN111444061A (en) * 2020-03-30 2020-07-24 浪潮商用机器有限公司 Server resource monitoring method and system
CN111858257A (en) * 2020-07-28 2020-10-30 浪潮云信息技术股份公司 System and method for acquiring container cluster resource use data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谭会生: "《ARM嵌入式系统原理及应用开发》", 28 February 2017, 西安电子科技大学出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115934A (en) * 2021-10-25 2022-03-01 珠海格力电器股份有限公司 Program issuing method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
US9369521B2 (en) Naming of distributed business transactions
US20190026344A1 (en) Application Recommending Method and System, and Server
CN106557407B (en) Method and device for monitoring equipment load
CN109660380A (en) Monitoring method, platform, system and the readable storage medium storing program for executing of operation condition of server
CN111049705A (en) Method and device for monitoring distributed storage system
CN104301140B (en) Service request response method, device and system
CN101707632A (en) Method for dynamically monitoring performance of server cluster and alarming real-timely
CN104022902A (en) Method and system of monitoring server cluster
CN109669835B (en) MySQL database monitoring method, device, equipment and readable storage medium
CN104834582A (en) Monitoring event display method
CN112653577A (en) Network element management method, device and storage medium
CN109783311A (en) Monitor processing method, device, equipment and the readable storage medium storing program for executing of breakpoint behavior
CN114996085A (en) Prometheus-based real-time service monitoring method and system
CN111339466A (en) Interface management method and device, electronic equipment and readable storage medium
CN112711517A (en) Server performance monitoring method and device, storage medium and terminal
CN111130867A (en) Intelligent household equipment alarm method and device based on Internet of things
CN110224872B (en) Communication method, device and storage medium
CN110442059B (en) Controlled equipment expanding method and device and control equipment
CN113760634A (en) Data processing method and device
CN111130944A (en) System monitoring method and system
CN106681894B (en) Monitoring method and monitoring device of intelligent equipment
CN110888770B (en) Method and device for transmitting information
JP2015082131A (en) Monitoring system, monitoring method, monitoring program, and monitoring device
CN109388546B (en) Method, device and system for processing faults of application program
CN116260747A (en) Monitoring method and device of terminal test equipment and electronic equipment

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: 20210427