CN109828885A - RocketMQ internal memory monitoring method, device, electronic equipment and storage medium - Google Patents

RocketMQ internal memory monitoring method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN109828885A
CN109828885A CN201811537778.0A CN201811537778A CN109828885A CN 109828885 A CN109828885 A CN 109828885A CN 201811537778 A CN201811537778 A CN 201811537778A CN 109828885 A CN109828885 A CN 109828885A
Authority
CN
China
Prior art keywords
memory
rocketmq
utilization rate
configuration
electronic equipment
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.)
Granted
Application number
CN201811537778.0A
Other languages
Chinese (zh)
Other versions
CN109828885B (en
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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811537778.0A priority Critical patent/CN109828885B/en
Publication of CN109828885A publication Critical patent/CN109828885A/en
Application granted granted Critical
Publication of CN109828885B publication Critical patent/CN109828885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of RocketMQ internal memory monitoring method, device, electronic equipment and storage medium.The RocketMQ internal memory monitoring method includes: to detect the operating status of RocketMQ when receiving the instruction of RocketMQ internal memory monitoring;When the operating status is available mode, using PS order, in conjunction with the first nominal key, the Process identifier PID of RocketMQ process is obtained from the process of all operations;According to the PID, the stack information of the RocketMQ is recalled using JMAP order;In conjunction with the second nominal key, the RocketMQ is obtained from the stack information has used memory and configuration memory;Memory and the configuration memory have been used according to described, has determined the current memory utilization rate of the RocketMQ;It saves and shows the current memory utilization rate.The present invention can be monitored the memory of RocketMQ, to realize more accurate memory detection, avoid the phenomenon that running Caton, improve O&M efficiency.

Description

RocketMQ internal memory monitoring method, device, electronic equipment and storage medium
Technical field
The present invention relates to O&M technical field more particularly to a kind of RocketMQ internal memory monitoring methods, device, electronic equipment And storage medium.
Background technique
In the prior art scheme, the standard Spring Boot product of market will not usually make the memory of rocketMQ It is monitored with rate, this index is the core index of interest using O&M, and the actual memory distribution of rocketMQ is usually low In configuration memory, since the actual memory of rocketMQ is embodied in the form of storehouse, by obtaining in storehouse It deposits, the electronic equipment can get the accurate internal storage data of the rocketMQ, avoid causing since EMS memory occupation is excessively high System operation slowly, promotes user experience.
Summary of the invention
In view of the foregoing, it is necessary to a kind of RocketMQ internal memory monitoring method, device, electronic equipment and storage are provided and are situated between Matter can be monitored the memory of RocketMQ, to realize more accurate memory detection, improve O&M efficiency.
A kind of RocketMQ internal memory monitoring method, which comprises
When receiving the instruction of RocketMQ internal memory monitoring, the operating status of RocketMQ is detected;
When the operating status is available mode, using PS order, in conjunction with the first nominal key, from all operations The Process identifier PID of RocketMQ process is obtained in process;
According to the PID, the stack information of the RocketMQ is recalled using JMAP order;
In conjunction with the second nominal key, the RocketMQ is obtained from the stack information has used memory and configuration Memory;
Memory and the configuration memory have been used according to described, has determined the current memory utilization rate of the RocketMQ;
It saves and shows the current memory utilization rate.
Preferred embodiment according to the present invention, it is described use PS order, in conjunction with the first nominal key, from all operations into The PID of acquisition RocketMQ process includes: in journey
Using PS order, all progress informations of the RocketMQ are transferred from the process of all operations;
In conjunction with the first nominal key NamesrvStartup and BrokerStartup, believe from all processes The PID of the RocketMQ process is obtained in breath.
Preferred embodiment according to the present invention, the stack information include the combination of following one or more:
It used memory, configuration memory, memory, example number, memory configurations mode be not used.
Preferred embodiment according to the present invention, second nominal key of combination, obtaining from the stack information has made Include: with memory and configuration memory
In conjunction with the Space and used in second nominal key, is obtained from the stack information and used memory;
In conjunction with the MaxHeapSize in second nominal key, configuration memory is obtained from the stack information.
Preferred embodiment according to the present invention, it is described to have used memory and the configuration memory according to, determine described in The current memory utilization rate of RocketMQ includes:
Calculate the ratio for having used memory and the configuration memory;
According to the ratio, the current memory utilization rate of the RocketMQ is determined.
Preferred embodiment according to the present invention, the method also includes:
When the current memory utilization rate is more than or equal to the first Configuration Values, sound an alarm.
Preferred embodiment according to the present invention, the method also includes:
Obtain the initial memory utilization rate in a configuration period;
Calculate the difference of the current memory utilization rate Yu the initial memory utilization rate;
Calculate the ratio of the difference Yu the initial memory utilization rate;
When the ratio is more than or equal to the second Configuration Values, sound an alarm.
A kind of RocketMQ internal memory monitoring device, described device include:
Detection unit, for detecting the operating status of RocketMQ when receiving the instruction of RocketMQ internal memory monitoring;
Acquiring unit is used for when the operating status is available mode, using PS order, in conjunction with the first designated key Word obtains the Process identifier PID of RocketMQ process from the process of all operations;
Unit is recalled, for recalling the stack information of the RocketMQ using JMAP order according to the PID;
The acquiring unit is also used to combine the second nominal key, from the stack information described in acquisition RocketMQ's has used memory and configuration memory;
Determination unit determines that the RocketMQ's is current for having used memory and the configuration memory according to described Memory usage;
Display unit, for saving and showing the current memory utilization rate.
Preferred embodiment according to the present invention, the acquiring unit uses PS order, in conjunction with the first nominal key, from owning The PID of acquisition RocketMQ process includes: in the process of operation
Using PS order, all progress informations of the RocketMQ are transferred from the process of all operations;
In conjunction with the first nominal key NamesrvStartup and BrokerStartup, believe from all processes The PID of the RocketMQ process is obtained in breath.
Preferred embodiment according to the present invention, the stack information include the combination of following one or more:
It used memory, configuration memory, memory, example number, memory configurations mode be not used.
Preferred embodiment according to the present invention, the acquiring unit combines the second nominal key, from the stack information It obtains and includes: using memory and configuration memory
In conjunction with the Space and used in second nominal key, is obtained from the stack information and used memory;
In conjunction with the MaxHeapSize in second nominal key, configuration memory is obtained from the stack information.
Preferred embodiment according to the present invention, the specific unit of determination unit:
Calculate the ratio for having used memory and the configuration memory;
According to the ratio, the current memory utilization rate of the RocketMQ is determined.
Preferred embodiment according to the present invention, described device further include:
Issue unit, for sounding an alarm when the current memory utilization rate is more than or equal to the first Configuration Values.
Preferred embodiment according to the present invention, the acquiring unit are also used to obtain the initial memory in a configuration period Utilization rate;
Described device further include:
Computing unit, for calculating the difference of the current memory utilization rate Yu the initial memory utilization rate;
The computing unit is also used to calculate the ratio of the difference Yu the initial memory utilization rate;
The issue unit is also used to sound an alarm when the ratio is more than or equal to the second Configuration Values.
A kind of electronic equipment, the electronic equipment include:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize the RocketMQ internal memory monitoring method.
A kind of computer readable storage medium is stored at least one instruction, institute in the computer readable storage medium At least one instruction is stated to be executed by the processor in electronic equipment to realize the RocketMQ internal memory monitoring method.
As can be seen from the above technical solutions, the present invention can after receiving RocketMQ internal memory monitoring instruction, The operating status of RocketMQ is detected, and when the operating status is available mode, using PS order, in conjunction with the first specified pass Key word obtains the PID of RocketMQ process from the process of all operations, to avoid extra operation is carried out, increases workload, Further according to the PID, the stack information of the RocketMQ is recalled using JMAP order, to reach the mesh accurately monitored , and combine the second nominal key, from obtained in the stack information RocketMQ use memory and configure in It deposits, has used memory and the configuration memory according to described, determined the current memory utilization rate of the RocketMQ, save and open up Show the current memory utilization rate, to achieve the purpose that automatically-monitored memory, avoid EMS memory occupation excessively high, and improves O&M effect Rate.
Detailed description of the invention
Fig. 1 is the flow chart of the preferred embodiment of RocketMQ internal memory monitoring method of the present invention.
Fig. 2 is the functional block diagram of the preferred embodiment of RocketMQ internal memory monitoring device of the present invention.
Fig. 3 is the structural representation of the electronic equipment for the preferred embodiment that the present invention realizes RocketMQ internal memory monitoring method Figure.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments The present invention is described in detail.
As shown in Figure 1, being the flow chart of the preferred embodiment of RocketMQ internal memory monitoring method of the present invention.According to different Demand, the sequence of step can change in the flow chart, and certain steps can be omitted.
The RocketMQ internal memory monitoring method is applied in one or more electronic equipment, and the electronic equipment is one Kind can be according to the instruction for being previously set or storing, the automatic equipment for carrying out numerical value calculating and/or information processing, and hardware includes But be not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), Programmable gate array (Field-Programmable Gate Array, FPGA), digital processing unit (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment can be any electronic product that human-computer interaction can be carried out with user, for example, personal meter Calculation machine, tablet computer, smart phone, personal digital assistant (Personal Digital Assistant, PDA), game machine, friendship Mutual formula Web TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment can also include the network equipment and/or user equipment.Wherein, the network equipment includes, but It is not limited to single network server, the server group of multiple network servers composition or based on cloud computing (Cloud Computing the cloud being made of a large amount of hosts or network server).
Network locating for the electronic equipment include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
S10, when receiving the instruction of RocketMQ internal memory monitoring, the operation shape of the electronic equipment detection RocketMQ State.
In at least one embodiment of the present invention, the standard Spring Boot product of market usually will not be right The memory of RocketMQ is monitored, and in traditional host level, internal memory monitoring generally include in operating system it is all into Journey, still, in the case where host is equipped with 4G memory, the practical memory distributed of the RocketMQ may only have 2G.
Since the memory of the RocketMQ is indicated in the form of storehouse, in the technical scheme, the electricity Sub- equipment obtains the stack information of the RocketMQ, to be monitored to the memory of the RocketMQ, to realize more Accurate memory detection.
In at least one embodiment of the present invention, the RocketMQ client is among the message of a queuing model Part, it may be assumed that an independent system software or service routine, on client computer or the operating system of server, management is calculated Machine resource and network communication can connect two stand-alone utilities or autonomous system, realize message system function.
In at least one embodiment of the present invention, the electronic equipment, which receives RocketMQ internal memory monitoring and instructs, includes, But it is not limited to the combination of following one or more kinds of modes:
(1) electronic equipment receives the RocketMQ internal memory monitoring instruction of user's triggering.
Specifically, the user can trigger the RocketMQ internal memory monitoring by clicking trigger key and instruct, described Triggering key can be virtual key or physical button etc..
The user can also input corresponding phonetic order, to be instructed as the RocketMQ internal memory monitoring, this hair It is bright not limit.
Either, the user can also input finger print information, to trigger described RocketMQ internal memory monitoring instruction etc..
(2) letter that the electronic equipment triggers the RocketMQ internal memory monitoring instruction every prefixed time interval is received Number.
Specifically, the prefixed time interval can be configured by the electronic equipment, can also by the user into Row custom-configures, and the present invention does not limit.
Such as: the prefixed time interval can be every 1 minute etc..
(3) receive the electronic equipment configuration triggers the letter of the RocketMQ internal memory monitoring instruction in preset time Number.
Specifically, the preset time can be configured by the electronic equipment, can also be carried out certainly by the user Definition configuration, the present invention do not limit.
Such as: the preset time can be 10 points of the morning of December 1 etc..
(4) the RocketMQ internal memory monitoring instruction that the electronic equipment triggers under configuration status is received.
Specifically, the configuration status includes, but are not limited to electronic equipment the operation Caton or the state of obstruction etc., with The reason of making the electronic equipment automatically determine operation Caton or obstruction.
Further, the operating status of the RocketMQ includes available mode and down state.
Specifically, the available mode refers to that the electronic equipment is in operating status;The down state refers to institute It states electronic equipment and is in crash state or off-mode etc..
It is understood that the electronic equipment is just needed to described only when the operating status is available mode The instruction of RocketMQ internal memory monitoring responds.
Specifically, the electronic equipment can use the operating status that script rocketmq.sh detects the RocketMQ.
Such as: the associated script of the electronic equipment input rocketmq.sh writes mode according to the script, when Output be " rocketmq is not running " when, then illustrate the operating status be it is unavailable, otherwise, illustrate the fortune Row state is available.
S11, when the operating status is available mode, the electronic equipment uses PS order, in conjunction with the first specified pass Key word obtains PID (Process Identification, the process identification (PID) of RocketMQ process from the process of all operations Symbol).
In at least one embodiment of the present invention, the ps in Linux (Process Status) is for showing system In currently running all processes so that the electronic equipment inquires all processes.
Specifically, the nominal key includes NamesrvStartup and BrokerStartup, described NamesrvStartup and BrokerStartup is used for the RocketMQ middleware, is the fortune of the RocketMQ middleware Therefore the class name traveled far and wide in originally by the nominal key NamesrvStartup and BrokerStartup, and calls institute PS order is stated, the PID of the RocketMQ process can be got.
Further, the electronic equipment uses PS order, in conjunction with the first nominal key, from the process of all operations Obtain RocketMQ process PID include:
The electronic equipment uses PS order, and all processes letter of the RocketMQ is transferred from the process of all operations Breath, the electronic equipment own in conjunction with the first nominal key NamesrvStartup and BrokerStartup from described The PID of the RocketMQ process is obtained in progress information.
Such as: the electronic equipment is using order: PID=`ps-fC java | grep " $ INSTANCES " | egrep " NamesrvStartup | BrokerStartup " | awk'{ print $ 2 } ', available operation result: [root@SZC- L0075300rocketmq]#ps-fC java|grep"rmq_lcloud-config-prd-ins5201"|egrep" NamesrvStartup | BrokerStartup " | awk'{ print $ 2 } ' 16056, therefore, the electronic equipment can determine institute The PID for stating RocketMQ process is 16056.
S12, the electronic equipment recall the stack information of the RocketMQ using JMAP order according to the PID.
In at least one embodiment of the present invention, the electronic equipment utilizes the JMAP order, can export all Object in memory, and exported with binary system into text.
Specifically, the electronic equipment transfers the process with specific PID using the JMAP order in conjunction with the PID Stack information.
Such as: the electronic equipment can pass through script PWD="/wls/apache/servers/ $ INSTANCES " $ JMAP-heap $ PID 2 >/dev/null > $ PWD/.mem.tmp, gets the corresponding stack information of the PID 2, and with The form of mem.tmp file exports.
Specifically, the stack information includes, but are not limited to the combination of following one or more:
Used memory, configuration memory, memory, example number, memory configurations mode is not used etc..
S13, the electronic equipment combine the second nominal key, obtain the RocketMQ's from the stack information Memory and configuration memory are used.
In at least one embodiment of the present invention, second nominal key is the ginseng in the RocketMQ script Several titles or suffix, such as: Space and used is suffix, and MaxHeapSize is parameter name, therefore, by described in matching Second nominal key can get data corresponding with second nominal key.
Specifically, the electronic equipment combines the second nominal key, obtains from the stack information and has used memory And configuration memory includes:
The electronic equipment is obtained from the stack information in conjunction with Space and used in second nominal key It takes and has used memory, in conjunction with the MaxHeapSize in second nominal key, configuration is obtained from the stack information Memory.
Such as: the electronic equipment uses script Memuse=`cat $ PWD/.mem.tmp | egrep-A3-w " Space:| Concurrent " | grep " used " | awk'{ sum+=$ 3 } END { print sum }, searches suffix letter from mem.tmp file Breath be Space, and rear 3 row include used keyword numerical value, and take third field sum, obtain described in used memory;
Further, the electronic equipment uses script MemMax=`cat $ PWD/.mem.tmp | grep-w MaxHeapSize | awk'{ print $ 3 } ', second nominal key is intercepted from mem.tmp file " MaxHeapSize ", and third field is taken, obtain the configuration memory.
S14, the electronic equipment have used memory and the configuration memory according to described, have determined working as the RocketMQ Preceding memory usage.
In at least one embodiment of the present invention, the current memory utilization rate is able to reflect out in the RocketMQ The occupancy situation deposited.
Preferably, the electronic equipment has used memory and the configuration memory according to described, determines the RocketMQ Current memory utilization rate include:
The electronic equipment calculates the ratio for having used memory and the configuration memory, and according to the ratio, really The current memory utilization rate of the fixed RocketMQ.
Such as: 2G is saved as using interior when described, when saving as 4G in the configuration, the electronic equipment calculates described made Ratio with memory 2G and the configuration memory 4G is 0.5, then the electronic equipment can determine the current memory utilization rate It is 50%.
S15, the electronic equipment save and show the current memory utilization rate.
In at least one embodiment of the present invention, the electronic equipment saves the current memory utilization rate to configuration Database is transferred with facilitating, and the type of the configuration database is unlimited.
Further, the electronic equipment can be shown described current by Grafana display platform or Highcharts Memory usage.
Specifically, the Grafana display platform is a visualization panel (Dashboard), support various charts and Layout is shown, supports Graphite, zabbix, InfluxDB, Prometheus and OpenTSDB as data source.It is described Grafana display platform has characteristics that flexible graphical option abundant;A variety of styles can be mixed;Support daytime and Night;Support multiple data sources.
The Highcharts is the chart library write with pure JavaScript language, can very simply, easily It is added with the chart of interactivity in web site or weblication, and supports the various legends of monitor supervision platform.
Preferably, the method also includes:
When the current memory utilization rate is more than or equal to the first Configuration Values, the electronic equipment is sounded an alarm.
Specifically, first Configuration Values are a preset threshold values, and first Configuration Values can be set by the electronics It is standby to be configured, it can also be configured according to actual needs by the user, the present invention does not limit.For example, described first matches Setting value can be 90%, that is to say, that when the current memory utilization rate is more than or equal to 90%, the electronic equipment will Make alarm response.
Preferably, the method also includes:
The electronic equipment obtains the initial memory utilization rate in a configuration period, and calculates the current memory and use The difference of rate and the initial memory utilization rate, the electronic equipment calculate the ratio of the difference and the initial memory utilization rate Value, when the ratio is more than or equal to the second Configuration Values, the electronic equipment is sounded an alarm.
Such as: the current memory utilization rate is that the sampled data of this week a whole morning 10:00 is 50%, the electronic equipment After the initial memory utilization rate 40% for obtaining a whole morning last week 10:00, calculate the current memory utilization rate 50% with it is described just First difference of beginning memory usage 40% is 10%, and the electronic equipment further calculates out first difference 10% and institute The ratio for stating initial memory utilization rate 40% is 25%, and is greater than second Configuration Values 20%, then the electronic equipment issues Alarm.
Specifically, second Configuration Values are a preset threshold values, and second Configuration Values can be set by the electronics It is standby to be configured, it can also be configured according to actual needs by the user, the present invention does not limit.
By above embodiment, the baseline alarm of memory usage is may be implemented in the electronic equipment, described in guaranteeing Electronic equipment operates normally.
In conclusion the present invention can detect RocketMQ's after receiving the RocketMQ internal memory monitoring instruction Operating status, and when the operating status is available mode, using PS order, in conjunction with the first nominal key, from all fortune The PID of RocketMQ process is obtained in capable process, to avoid extra operation is carried out, increases workload, further according to institute PID is stated, the stack information of the RocketMQ is recalled using JMAP order, to achieve the purpose that accurately to monitor, and combines second Nominal key, obtained from the stack information RocketMQ has used memory and configuration memory, according to it is described Using memory and the configuration memory, it is described current interior the current memory utilization rate of the RocketMQ to be determined, save and shown Utilization rate is deposited, to achieve the purpose that automatically-monitored memory, avoids EMS memory occupation excessively high, and improve O&M efficiency.
As shown in Fig. 2, being the functional block diagram of the preferred embodiment of RocketMQ internal memory monitoring device of the present invention.It is described RocketMQ internal memory monitoring device 11 includes detection unit 110, acquiring unit 111, recalls unit 112, determination unit 113, exhibition Show unit 114, issue unit 115 and computing unit 116.So-called module/the unit of the present invention refers to that one kind can be by processor Performed by 13, and the series of computation machine program segment of fixed function can be completed, storage is in memory 12.In this implementation In example, the function about each module/unit will be described in detail in subsequent embodiment.
When receiving the instruction of RocketMQ internal memory monitoring, detection unit 110 detects the operating status of RocketMQ.
In at least one embodiment of the present invention, the standard Spring Boot product of market usually will not be right The memory of RocketMQ is monitored, and in traditional host level, internal memory monitoring generally include in operating system it is all into Journey, still, in the case where host is equipped with 4G memory, the practical memory distributed of the RocketMQ may only have 2G.
Since the memory of the RocketMQ is indicated in the form of storehouse, in the technical scheme, obtain single Member 111 obtains the stack information of the RocketMQ, so that the memory of the RocketMQ is monitored, it is more quasi- to realize True memory detection.
In at least one embodiment of the present invention, the RocketMQ client is among the message of a queuing model Part, it may be assumed that an independent system software or service routine, on client computer or the operating system of server, management is calculated Machine resource and network communication can connect two stand-alone utilities or autonomous system, realize message system function.
In at least one embodiment of the present invention, the electronic equipment, which receives RocketMQ internal memory monitoring and instructs, includes, But it is not limited to the combination of following one or more kinds of modes:
(1) electronic equipment receives the RocketMQ internal memory monitoring instruction of user's triggering.
Specifically, the user can trigger the RocketMQ internal memory monitoring by clicking trigger key and instruct, described Triggering key can be virtual key or physical button etc..
The user can also input corresponding phonetic order, to be instructed as the RocketMQ internal memory monitoring, this hair It is bright not limit.
Either, the user can also input finger print information, to trigger described RocketMQ internal memory monitoring instruction etc..
(2) letter that the electronic equipment triggers the RocketMQ internal memory monitoring instruction every prefixed time interval is received Number.
Specifically, the prefixed time interval can be configured by the electronic equipment, can also by the user into Row custom-configures, and the present invention does not limit.
Such as: the prefixed time interval can be every 1 minute etc..
(3) receive the electronic equipment configuration triggers the letter of the RocketMQ internal memory monitoring instruction in preset time Number.
Specifically, the preset time can be configured by the electronic equipment, can also be carried out certainly by the user Definition configuration, the present invention do not limit.
Such as: the preset time can be 10 points of the morning of December 1 etc..
(4) the RocketMQ internal memory monitoring instruction that the electronic equipment triggers under configuration status is received.
Specifically, the configuration status includes, but are not limited to electronic equipment the operation Caton or the state of obstruction etc., with The reason of making the electronic equipment automatically determine operation Caton or obstruction.
Further, the operating status of the RocketMQ includes available mode and down state.
Specifically, the available mode refers to that the electronic equipment is in operating status;The down state refers to institute It states electronic equipment and is in crash state or off-mode etc..
It is understood that the electronic equipment is just needed to described only when the operating status is available mode The instruction of RocketMQ internal memory monitoring responds.
Specifically, the detection unit 110 can use the operation shape that script rocketmq.sh detects the RocketMQ State.
Such as: the detection unit 110 inputs the associated script of rocketmq.sh, writes mode according to the script, When output be " rocketmq is not running " when, then illustrate the operating status be it is unavailable, otherwise, described in explanation Operating status is available.
When the operating status is available mode, the acquiring unit 111 uses PS order, in conjunction with the first designated key Word obtains the PID of RocketMQ process from the process of all operations.
In at least one embodiment of the present invention, the ps in Linux (Process Status) is for showing system In currently running all processes so that the electronic equipment inquires all processes.
Specifically, the nominal key includes NamesrvStartup and BrokerStartup, described NamesrvStartup and BrokerStartup is used for the RocketMQ middleware, is the fortune of the RocketMQ middleware Therefore the class name traveled far and wide in originally by the nominal key NamesrvStartup and BrokerStartup, and calls institute PS order is stated, the PID of the RocketMQ process can be got.
Further, the acquiring unit 111 uses PS order, in conjunction with the first nominal key, from all operations into The PID of acquisition RocketMQ process includes: in journey
The acquiring unit 111 uses PS order, transferred from the process of all operations the RocketMQ it is all into Journey information, the acquiring unit 111 in conjunction with the first nominal key NamesrvStartup and BrokerStartup, from The PID of the RocketMQ process is obtained in all progress informations.
Such as: the acquiring unit 111 is using order: PID=`ps-fC java | grep " $ INSTANCES " | egrep " NamesrvStartup | BrokerStartup " | awk'{ print $ 2 } ', available operation result: [root@SZC- L0075300rocketmq]#ps-fC java|grep"rmq_lcloud-config-prd-ins5201"|egrep" NamesrvStartup | BrokerStartup " | awk'{ print $ 2 } ' 16056, therefore, the acquiring unit 111 can be true The PID of the fixed RocketMQ process is 16056.
Unit 112 is recalled according to the PID, the stack information of the RocketMQ is recalled using JMAP order.
In at least one embodiment of the present invention, the unit 112 that recalls utilizes the JMAP order, can export institute There is the object in memory, and is exported with binary system into text.
Specifically, described to recall unit 112 and transferred using the JMAP order with specific PID's in conjunction with the PID The stack information of process.
Such as: the unit 112 that recalls can be by script PWD="/wls/apache/servers/ $ INSTANCES " $ JMAP-heap $ PID 2 >/dev/null > $ PWD/.mem.tmp, gets the corresponding stack information of the PID 2, and with The form of mem.tmp file exports.
Specifically, the stack information includes, but are not limited to the combination of following one or more:
Used memory, configuration memory, memory, example number, memory configurations mode is not used etc..
The acquiring unit 111 combines the second nominal key, obtains the RocketMQ's from the stack information Memory and configuration memory are used.
In at least one embodiment of the present invention, second nominal key is the ginseng in the RocketMQ script Several titles or suffix, such as: Space and used is suffix, and MaxHeapSize is parameter name, therefore, by described in matching Second nominal key can get data corresponding with second nominal key.
Specifically, the acquiring unit 111 combines the second nominal key, is obtained in having used from the stack information Depositing and configure memory includes:
The acquiring unit 111 is in conjunction with the Space and used in second nominal key, from the stack information Acquisition has used memory, in conjunction with the MaxHeapSize in second nominal key, obtains and matches from the stack information Set memory.
Such as: the acquiring unit 111 uses script Memuse=`cat $ PWD/.mem.tmp | egrep-A3-w " Space:| concurrent " | grep " used " | awk'{ sum+=$ 3 } END { print sum }, is looked into from mem.tmp file Looking for suffix information is Space, and rear 3 row includes the keyword numerical value of used, and third field is taken to sum, and obtains described made Use memory;
Further, the acquiring unit 111 uses script MemMax=`cat $ PWD/.mem.tmp | grep-w MaxHeapSize | awk'{ print $ 3 } ', second nominal key is intercepted from mem.tmp file " MaxHeapSize ", and third field is taken, obtain the configuration memory.
Determination unit 113 has used memory and the configuration memory according to described, determines that the RocketMQ's is current interior Deposit utilization rate.
In at least one embodiment of the present invention, the current memory utilization rate is able to reflect out in the RocketMQ The occupancy situation deposited.
Preferably, the determination unit 113 has used memory and the configuration memory according to described, determine described in The current memory utilization rate of RocketMQ includes:
The determination unit 113 calculate it is described use memory and the ratio for configuring memory, and according to the ratio, Determine the current memory utilization rate of the RocketMQ.
Such as: 2G is saved as using interior when described, when saving as 4G in the configuration, the determination unit 113 calculates described Having used the ratio of memory 2G and the configuration memory 4G is 0.5, then the determination unit 113 can determine the current memory Utilization rate is 50%.
Display unit 114 saves and shows the current memory utilization rate.
In at least one embodiment of the present invention, the display unit 114 by the current memory utilization rate save to Configuration database is transferred with facilitating, and the type of the configuration database is unlimited.
Further, the display unit 114 can be by working as described in Grafana display platform or Highcharts displaying Preceding memory usage.
Specifically, the Grafana display platform is a visualization panel (Dashboard), support various charts and Layout is shown, supports Graphite, zabbix, InfluxDB, Prometheus and OpenTSDB as data source.It is described Grafana display platform has characteristics that flexible graphical option abundant;A variety of styles can be mixed;Support daytime and Night;Support multiple data sources.
The Highcharts is the chart library write with pure JavaScript language, can very simply, easily It is added with the chart of interactivity in web site or weblication, and supports the various legends of monitor supervision platform.
Preferably, the method also includes:
When the current memory utilization rate is more than or equal to the first Configuration Values, the issue unit 115 is sounded an alarm.
Specifically, first Configuration Values are a preset threshold values, and first Configuration Values can be single by the sending Member 115 is configured, and can also be configured according to actual needs by the user, the present invention does not limit.For example, described first Configuration Values can be 90%, that is to say, that when the current memory utilization rate is more than or equal to 90%, the issue unit 115 could be made that alarm response.
Preferably, the method also includes:
Acquiring unit 111 obtains the initial memory utilization rate in a configuration period, and computing unit 116 calculates described current The difference of memory usage and the initial memory utilization rate, the computing unit 116 calculate the difference and it is described it is initial in The ratio for depositing utilization rate, when the ratio is more than or equal to the second Configuration Values, the issue unit 115 is sounded an alarm.
Such as: the current memory utilization rate is that the sampled data of this week a whole morning 10:00 is 50%, the acquiring unit After 111 obtain the initial memory utilization rate 40% of a whole morning last week 10:00, computing unit 116 calculates the current memory and uses First difference of rate 50% and the initial memory utilization rate 40% is 10%, and the computing unit 116 further calculates out institute The ratio for stating the first difference 10% and the initial memory utilization rate 40% is 25%, and is greater than second Configuration Values 20%, Then the issue unit 115 sounds an alarm.
Specifically, second Configuration Values are a preset threshold values, and second Configuration Values can be single by the sending Member 115 is configured, and can also be configured according to actual needs by the user, the present invention does not limit.
By above embodiment, the baseline alarm of memory usage is may be implemented in the issue unit 115, to guarantee State electronic equipment normal operation.
In conclusion the present invention can detect RocketMQ's after receiving the RocketMQ internal memory monitoring instruction Operating status, and when the operating status is available mode, using PS order, in conjunction with the first nominal key, from all fortune The PID of RocketMQ process is obtained in capable process, to avoid extra operation is carried out, increases workload, further according to institute PID is stated, the stack information of the RocketMQ is recalled using JMAP order, to achieve the purpose that accurately to monitor, and combines second Nominal key, obtained from the stack information RocketMQ has used memory and configuration memory, according to it is described Using memory and the configuration memory, it is described current interior the current memory utilization rate of the RocketMQ to be determined, save and shown Utilization rate is deposited, to achieve the purpose that automatically-monitored memory, avoids EMS memory occupation excessively high, and improve O&M efficiency.
As shown in figure 3, being the knot of the electronic equipment for the preferred embodiment that the present invention realizes RocketMQ internal memory monitoring method Structure schematic diagram.
The electronic equipment 1 be it is a kind of can according to the instruction for being previously set or store, automatic progress numerical value calculating and/or The equipment of information processing, hardware include but is not limited to microprocessor, specific integrated circuit (Application Specific Integrated Circuit, ASIC), programmable gate array (Field-Programmable Gate Array, FPGA), number Word processing device (Digital Signal Processor, DSP), embedded device etc..
The electronic equipment 1, which can also be but not limited to any one, to pass through keyboard, mouse, remote controler, touching with user The modes such as template or voice-operated device carry out the electronic product of human-computer interaction, for example, personal computer, tablet computer, smart phone, Personal digital assistant (Personal Digital Assistant, PDA), game machine, Interactive Internet TV (Internet Protocol Television, IPTV), intellectual wearable device etc..
The electronic equipment 1 can also be that the calculating such as desktop PC, notebook, palm PC and cloud server are set It is standby.
Network locating for the electronic equipment 1 include but is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, it is virtual specially With network (Virtual Private Network, VPN) etc..
In one embodiment of the invention, the electronic equipment 1 includes, but are not limited to memory 12, processor 13, And it is stored in the computer program that can be run in the memory 12 and on the processor 13, such as RocketMQ memory Monitoring programme.
It will be understood by those skilled in the art that the schematic diagram is only the example of electronic equipment 1, not structure paired electrons The restriction of equipment 1 may include perhaps combining certain components or different components, example than illustrating more or fewer components Such as described electronic equipment 1 can also include input-output equipment, network access equipment, bus.
Alleged processor 13 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng the processor 13 is arithmetic core and the control centre of the electronic equipment 1, entire using various interfaces and connection The various pieces of electronic equipment 1, and execute the operating system of the electronic equipment 1 and types of applications program, the program of installation Code etc..
The processor 13 executes the operating system of the electronic equipment 1 and the types of applications program of installation.The place Reason device 13 executes the application program to realize the step in above-mentioned each RocketMQ internal memory monitoring method embodiment, such as schemes Step S10, S11, S12, S13, S14, S15 shown in 1.
Alternatively, the processor 13 realizes each module in above-mentioned each Installation practice/mono- when executing the computer program The function of member, such as: when receiving the instruction of RocketMQ internal memory monitoring, detect the operating status of RocketMQ;When the fortune When row state is available mode, obtained from the process of all operations using PS order in conjunction with the first nominal key The Process identifier PID of RocketMQ process;According to the PID, believed using the storehouse that JMAP order recalls the RocketMQ Breath;In conjunction with the second nominal key, the RocketMQ is obtained from the stack information has used memory and configuration memory; Memory and the configuration memory have been used according to described, has determined the current memory utilization rate of the RocketMQ;It saves and shows The current memory utilization rate.
Illustratively, the computer program can be divided into one or more module/units, one or more A module/unit is stored in the memory 12, and is executed by the processor 13, to complete the present invention.It is one Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouching State implementation procedure of the computer program in the electronic equipment 1.For example, the computer program can be divided into inspection Unit 110, acquiring unit 111 are surveyed, unit 112, determination unit 113, display unit 114, issue unit 115 is recalled and calculates single Member 116.
The memory 12 can be used for storing the computer program and/or module, the processor 13 by operation or The computer program and/or module being stored in the memory 12 are executed, and calls the data being stored in memory 12, Realize the various functions of the electronic equipment 1.The memory 12 can mainly include storing program area and storage data area, In, storing program area can application program needed for storage program area, at least one function (such as sound-playing function, image Playing function etc.) etc.;Storage data area, which can be stored, uses created data (such as audio data, phone directory according to mobile phone Deng) etc..In addition, memory 12 may include high-speed random access memory, it can also include nonvolatile memory, such as firmly Disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) block, flash card (Flash Card), at least one disk memory, flush memory device or other volatile solid-states Part.
The memory 12 can be the external memory and/or internal storage of electronic equipment 1.Further, described Memory 12 can be the circuit with store function for not having physical form in integrated circuit, such as RAM (Random-Access Memory, random access memory), FIFO (First In First Out) etc..Alternatively, the memory 12 is also possible to Memory with physical form, such as memory bar, TF card (Trans-flash Card).
If the integrated module/unit of the electronic equipment 1 is realized in the form of SFU software functional unit and as independent Product when selling or using, can store in a computer readable storage medium.Based on this understanding, the present invention is real All or part of the process in existing above-described embodiment method, can also instruct relevant hardware come complete by computer program At the computer program can be stored in a computer readable storage medium, which is being executed by processor When, it can be achieved that the step of above-mentioned each embodiment of the method.
Wherein, the computer program includes computer program code, and the computer program code can be source code Form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: can Carry any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer of the computer program code Memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium The content for including can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as in certain departments Method administrative area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
In conjunction with Fig. 1, the memory 12 in the electronic equipment 1 stores multiple instruction to realize in a kind of RocketMQ Monitoring method is deposited, the multiple instruction can be performed to realize in the processor 13: referring to when receiving RocketMQ internal memory monitoring When enabling, the operating status of RocketMQ is detected;When the operating status is available mode, using PS order, refer in conjunction with first Determine keyword, the Process identifier PID of RocketMQ process is obtained from the process of all operations;According to the PID, use JMAP order recalls the stack information of the RocketMQ;In conjunction with the second nominal key, institute is obtained from the stack information That states RocketMQ has used memory and configuration memory;Used memory and the configuration memory according to described, determine described in The current memory utilization rate of RocketMQ;It saves and shows the current memory utilization rate.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Using PS order, all progress informations of the RocketMQ are transferred from the process of all operations;
In conjunction with the first nominal key NamesrvStartup and BrokerStartup, believe from all processes The PID of the RocketMQ process is obtained in breath.
Preferred embodiment according to the present invention, the stack information include the combination of following one or more:
It used memory, configuration memory, memory, example number, memory configurations mode be not used.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
In conjunction with the Space and used in second nominal key, is obtained from the stack information and used memory;
In conjunction with the MaxHeapSize in second nominal key, configuration memory is obtained from the stack information.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Calculate the ratio for having used memory and the configuration memory;
According to the ratio, the current memory utilization rate of the RocketMQ is determined.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
When the current memory utilization rate is more than or equal to the first Configuration Values, sound an alarm.
Preferred embodiment according to the present invention, the processor 13 also execute multiple instruction and include:
Obtain the initial memory utilization rate in a configuration period;
Calculate the difference of the current memory utilization rate Yu the initial memory utilization rate;
Calculate the ratio of the difference Yu the initial memory utilization rate;
When the ratio is more than or equal to the second Configuration Values, sound an alarm.
Specifically, the processor 13 can refer to the concrete methods of realizing of above-metioned instruction related in Fig. 1 corresponding embodiment The description of step, this will not be repeated here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds software function module.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.
Therefore, in all respects, the present embodiments are to be considered as illustrative and not restrictive, this The range of invention is indicated by the appended claims rather than the foregoing description, it is intended that the equivalent requirements of the claims will be fallen in All changes in meaning and scope are included in the present invention.Any attached associated diagram label in claim should not be considered as limit Claim involved in making.
Furthermore, it is to be understood that one word of " comprising " does not exclude other units or steps, odd number is not excluded for plural number.In system claims The multiple units or device of statement can also be implemented through software or hardware by a unit or device.Second equal words are used It indicates title, and does not indicate any particular order.
Finally it should be noted that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting, although reference Preferred embodiment describes the invention in detail, those skilled in the art should understand that, it can be to of the invention Technical solution is modified or equivalent replacement, without departing from the spirit and scope of the technical solution of the present invention.

Claims (10)

1. a kind of RocketMQ internal memory monitoring method, which is characterized in that the described method includes:
When receiving the instruction of RocketMQ internal memory monitoring, the operating status of RocketMQ is detected;
When the operating status is available mode, using PS order, in conjunction with the first nominal key, from the process of all operations The middle Process identifier PID for obtaining RocketMQ process;
According to the PID, the stack information of the RocketMQ is recalled using JMAP order;
In conjunction with the second nominal key, from obtaining having used in memory and configuration of the RocketMQ in the stack information It deposits;
Memory and the configuration memory have been used according to described, has determined the current memory utilization rate of the RocketMQ;
It saves and shows the current memory utilization rate.
2. RocketMQ internal memory monitoring method as described in claim 1, which is characterized in that it is described to use PS order, in conjunction with the One nominal key, the PID that RocketMQ process is obtained from the process of all operations include:
Using PS order, all progress informations of the RocketMQ are transferred from the process of all operations;
In conjunction with the first nominal key NamesrvStartup and BrokerStartup, from all progress informations Obtain the PID of the RocketMQ process.
3. RocketMQ internal memory monitoring method as described in claim 1, which is characterized in that the stack information includes with next Kind or a variety of combinations:
It used memory, configuration memory, memory, example number, memory configurations mode be not used.
4. RocketMQ internal memory monitoring method as described in claim 1, which is characterized in that second designated key of combination Word, obtained from the stack information using memory and configuration memory include:
In conjunction with the Space and used in second nominal key, is obtained from the stack information and used memory;
In conjunction with the MaxHeapSize in second nominal key, configuration memory is obtained from the stack information.
5. RocketMQ internal memory monitoring method as described in claim 1, which is characterized in that described to have used memory according to And the configuration memory, determine that the current memory utilization rate of the RocketMQ includes:
Calculate the ratio for having used memory and the configuration memory;
According to the ratio, the current memory utilization rate of the RocketMQ is determined.
6. RocketMQ internal memory monitoring method as described in claim 1, which is characterized in that the method also includes:
When the current memory utilization rate is more than or equal to the first Configuration Values, sound an alarm.
7. RocketMQ internal memory monitoring method as described in claim 1, which is characterized in that the method also includes:
Obtain the initial memory utilization rate in a configuration period;
Calculate the difference of the current memory utilization rate Yu the initial memory utilization rate;
Calculate the ratio of the difference Yu the initial memory utilization rate;
When the ratio is more than or equal to the second Configuration Values, sound an alarm.
8. a kind of RocketMQ internal memory monitoring device, which is characterized in that described device includes:
Detection unit, for detecting the operating status of RocketMQ when receiving the instruction of RocketMQ internal memory monitoring;
Acquiring unit, for when the operating status is available mode, using PS order, in conjunction with the first nominal key, from The Process identifier PID of RocketMQ process is obtained in the process of all operations;
Unit is recalled, for recalling the stack information of the RocketMQ using JMAP order according to the PID;
The acquiring unit is also used to combine the second nominal key, obtains the RocketMQ's from the stack information Memory and configuration memory are used;
Determination unit determines the current memory of the RocketMQ for having used memory and the configuration memory according to described Utilization rate;
Display unit, for saving and showing the current memory utilization rate.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Memory stores at least one instruction;And
Processor executes the instruction stored in the memory to realize as claimed in any of claims 1 to 7 in one of claims RocketMQ internal memory monitoring method.
10. a kind of computer readable storage medium, it is characterised in that: be stored at least one in the computer readable storage medium A instruction, at least one described instruction are executed by the processor in electronic equipment to realize such as any one of claim 1 to 7 The RocketMQ internal memory monitoring method.
CN201811537778.0A 2018-12-15 2018-12-15 RocketMQ memory monitoring method and device, electronic equipment and storage medium Active CN109828885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811537778.0A CN109828885B (en) 2018-12-15 2018-12-15 RocketMQ memory monitoring method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811537778.0A CN109828885B (en) 2018-12-15 2018-12-15 RocketMQ memory monitoring method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109828885A true CN109828885A (en) 2019-05-31
CN109828885B CN109828885B (en) 2023-02-07

Family

ID=66858919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811537778.0A Active CN109828885B (en) 2018-12-15 2018-12-15 RocketMQ memory monitoring method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109828885B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984538A (en) * 2020-08-24 2020-11-24 深圳市捷诚技术服务有限公司 System information output method and device, computer readable storage medium and terminal

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182320A (en) * 2013-05-23 2014-12-03 联想(北京)有限公司 Method and device for monitoring leakage of memory
US20140365834A1 (en) * 2013-06-07 2014-12-11 Apple Inc. Memory management tools
CN105224433A (en) * 2014-06-23 2016-01-06 阿里巴巴集团控股有限公司 A kind of internal memory monitoring method and server
CN107302476A (en) * 2017-08-04 2017-10-27 上海爱数信息技术股份有限公司 A kind of automated testing method and system for testing asynchronous interactive system
CN107423198A (en) * 2017-07-10 2017-12-01 中核核电运行管理有限公司 A kind of EAM platform monitorings management method and system
CN107436845A (en) * 2017-07-27 2017-12-05 南京华飞数据技术有限公司 A kind of Dram monitoring system and its monitoring method
CN107623642A (en) * 2017-08-30 2018-01-23 山东中创软件商用中间件股份有限公司 A kind of message traffic control method and device
US20180248771A1 (en) * 2017-02-24 2018-08-30 Ciena Corporation Monitoring and auto-correction systems and methods for microservices
CN108874624A (en) * 2018-05-31 2018-11-23 康键信息技术(深圳)有限公司 Server, the method and storage medium for monitoring Java process
CN108920322A (en) * 2018-06-04 2018-11-30 郑州云海信息技术有限公司 A kind of method, apparatus and computer storage medium of middleware operational monitoring

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182320A (en) * 2013-05-23 2014-12-03 联想(北京)有限公司 Method and device for monitoring leakage of memory
US20140365834A1 (en) * 2013-06-07 2014-12-11 Apple Inc. Memory management tools
CN105224433A (en) * 2014-06-23 2016-01-06 阿里巴巴集团控股有限公司 A kind of internal memory monitoring method and server
US20180248771A1 (en) * 2017-02-24 2018-08-30 Ciena Corporation Monitoring and auto-correction systems and methods for microservices
CN107423198A (en) * 2017-07-10 2017-12-01 中核核电运行管理有限公司 A kind of EAM platform monitorings management method and system
CN107436845A (en) * 2017-07-27 2017-12-05 南京华飞数据技术有限公司 A kind of Dram monitoring system and its monitoring method
CN107302476A (en) * 2017-08-04 2017-10-27 上海爱数信息技术股份有限公司 A kind of automated testing method and system for testing asynchronous interactive system
CN107623642A (en) * 2017-08-30 2018-01-23 山东中创软件商用中间件股份有限公司 A kind of message traffic control method and device
CN108874624A (en) * 2018-05-31 2018-11-23 康键信息技术(深圳)有限公司 Server, the method and storage medium for monitoring Java process
CN108920322A (en) * 2018-06-04 2018-11-30 郑州云海信息技术有限公司 A kind of method, apparatus and computer storage medium of middleware operational monitoring

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111984538A (en) * 2020-08-24 2020-11-24 深圳市捷诚技术服务有限公司 System information output method and device, computer readable storage medium and terminal

Also Published As

Publication number Publication date
CN109828885B (en) 2023-02-07

Similar Documents

Publication Publication Date Title
WO2020258290A1 (en) Log data collection method, log data collection apparatus, storage medium and log data collection system
CN112527848B (en) Report data query method, device and system based on multiple data sources and storage medium
US20120066694A1 (en) Event overflow handling by coalescing and updating previously-queued event notification
CN110955578A (en) Log collection method and device based on host machine, computer equipment and storage medium
US20190319911A1 (en) Confusion reduction in an online social network
CN112214155B (en) View information playing method, device, equipment and storage medium
CN109840141B (en) Thread control method and device based on cloud monitoring, electronic equipment and storage medium
CN112328448A (en) Zookeeper-based monitoring method, monitoring device, equipment and storage medium
CN111880879A (en) Playing method, device, equipment and storage medium of dynamic wallpaper
CN115185434A (en) Vehicle application scene processing method, device, equipment and storage medium
CN109683880A (en) Webpage exchange method, device, equipment and storage medium
CN109597810A (en) A kind of task cutting method, device, medium and electronic equipment
CN109800124A (en) CPU usage monitoring method, device, electronic equipment and storage medium
CN113760638A (en) Log service method and device based on kubernets cluster
CN112084044A (en) Event processing method in system and related device
KR20210023635A (en) Method and system for providing document timeline using cluster of long-term related issue unit
CN116258435A (en) Logistics information display method, device, equipment, storage medium and product
CN109828885A (en) RocketMQ internal memory monitoring method, device, electronic equipment and storage medium
CN109766236A (en) KAFKA message queue number monitoring method, device, electronic equipment and storage medium
CN109815082B (en) KAFKA theme monitoring method and device, electronic equipment and storage medium
CN109889399A (en) RocketMQ client connection number monitoring method, device, electronic equipment and storage medium
CN109840179A (en) RocketMQ Thread Count monitoring method, device, electronic equipment and storage medium
CN109828719A (en) Magnetic disc control method, device and relevant device where commitLog file based on cloud monitoring
CN109144838A (en) Method for monitoring application program and device, computer installation and computer storage medium
CN109766238B (en) Session number-based operation and maintenance platform performance monitoring method and device and related 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
GR01 Patent grant
GR01 Patent grant