CN103942135B - A kind of method for monitoring performance based on SAP platform - Google Patents

A kind of method for monitoring performance based on SAP platform Download PDF

Info

Publication number
CN103942135B
CN103942135B CN201410141626.4A CN201410141626A CN103942135B CN 103942135 B CN103942135 B CN 103942135B CN 201410141626 A CN201410141626 A CN 201410141626A CN 103942135 B CN103942135 B CN 103942135B
Authority
CN
China
Prior art keywords
monitoring
program
cpu
newtask
time
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.)
Active
Application number
CN201410141626.4A
Other languages
Chinese (zh)
Other versions
CN103942135A (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.)
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Jiangsu Electric Power Information Technology Co Ltd
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
State Grid Jiangsu Electric Power Co Ltd
Jiangsu Electric Power Information Technology Co Ltd
Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, State Grid Jiangsu Electric Power Co Ltd, Jiangsu Electric Power Information Technology Co Ltd, Information and Telecommunication Branch of State Grid Jiangsu Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201410141626.4A priority Critical patent/CN103942135B/en
Publication of CN103942135A publication Critical patent/CN103942135A/en
Application granted granted Critical
Publication of CN103942135B publication Critical patent/CN103942135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention discloses a kind of method for monitoring performance based on SAP platform, New is passed through by user? the mode of Task is dished out program running example, the corresponding progress of work is found to carry out following the tracks of acquisition about the information of CPU and EMS memory occupation by user again, then by passing to displayed page after program computation process information, page Dynamic Display is complete adjusts back performance monitoring information again, so repeatedly until program example is finished. New? Task: a kind of asynchronous function provided in SAP platform calls mode, and can specify back tune course, for adjusting back after function is finished. The present invention can realize the monitor in real time of CPU when being run by program example and internal memory, coordinates the diagrammatic representation of webpage simultaneously, and the animation effect of change of sliding, it is possible to more friendly shows user dynamically.

Description

A kind of method for monitoring performance based on SAP platform
Technical field
The present invention relates to a kind of monitoring method, specifically a kind of method for monitoring performance based on SAP platform. Time under SAP platform environment by being run by ABAP program example, the corresponding progress of work is monitored, and monitored results carries out the method for real-time performance monitoring when computational analysis realizes being run by program example
Background technology
Existing SAP platform has the monitoring to the progress of work (WorkProgress) is provided, but not and program carry out direct correspondence, and the time taking CPU can not find out very intuitively, the program analysis tool of specialty, the function of RuntimeAnalysis provided such as affairs code SAT need by the time program after executing just can out analytical results, and only analysis for working time in analytical results; The function of the PerformanceAnalysis that affairs code ST05 provides is then mainly to the efficiency analysis of Programm ql statement. All the internal memory taken during the operation of whole program example and CPU can not be carried out real-time monitoring, result can only be analyzed.
Summary of the invention
In order to overcome prior art Problems existing, it is an object of the invention to provide a kind of method for monitoring performance based on SAP platform, program running example is carried out real-time performance monitoring by the method on SAP platform, not only real-time is relatively strong for it, has also carried out internal memory and the monitoring of CPU resource consumption for program example simultaneously.
The object of the present invention is achieved through the following technical solutions:
A kind of method for monitoring performance based on SAP platform, it is characterised in that the method comprises the following steps:
1) in homophony program, in the way of NewTask, asynchronous dishing out needs the program example of monitoring;
2) register NewTask mode call after return tune course, be denoted as sub_callback, notice monitoring facilities example be finished;
3) currently take CPU cumulative time t1 by what monitoring process recorded each progress of work, and carry out screening operation process by user and program information;
4) when homophony watchdog routine finds that the progress of work of the program example that NewTask mode is dished out occurs, starting to carry out record monitoring, recorded information comprises this process and currently adds up to take CPU time t2, and currently this process takies internal memory m, programexecution time T; And obtain the total internal memory M of server, CPU core calculation c;
5) CPU utilization ratio and EMS memory occupation rate is obtained by following formula;
This program example takies this process of Installed System Memory rate of utilization=currently and takies the total internal memory M of internal memory m/ current server;
CPU utilization ratio=(this process takies CPU cumulative time t1 before currently adding up to take CPU this monitoring the process of time t2-)/programexecution time T/CPU core number c;
6) by calling the function object of displayed page displaying animation effect packaged in advance, passing to displayed page, the page carries out animated show by javascript script;
7) page animation adjusts back the refreshing that the event triggering SAP carries out monitoring after being finished, and namely notifies that homophony program carries out next refreshing monitoring state taken turns and obtains;
8) until the monitored program example called in NewTask mode performs to terminate, the tune course sub_callback that returns calling earlier registration notifies that homophony program is finished and stops monitoring.
Present method is dished out program running example by the mode of NewTask mainly through user, the corresponding progress of work is found to carry out following the tracks of acquisition about the information of CPU and EMS memory occupation by user again, then by passing to displayed page after program computation process information, page Dynamic Display is complete adjusts back performance monitoring information again, so repeatedly until program example is finished. NewTask: a kind of asynchronous function provided in SAP platform calls mode, and can specify back tune course, for adjusting back after function is finished.
The present invention can realize the monitor in real time of CPU when being run by program example and internal memory, coordinates the diagrammatic representation of webpage simultaneously, and the animation effect of change of sliding, it is possible to more friendly shows user dynamically.
Accompanying drawing explanation
Fig. 1 is the performance monitoring schema of the present invention.
Fig. 2 is the performance monitoring sequential chart of the present invention.
Embodiment
A kind of method for monitoring performance based on SAP platform, dished out program running example by the mode of NewTask mainly through user, the corresponding progress of work is found to carry out following the tracks of acquisition about the information of CPU and EMS memory occupation by user again, then by passing to displayed page after program computation process information, page Dynamic Display is complete adjusts back performance monitoring information again, so repeatedly until program example is finished. The module composition that present method realizes, comprise homophony watchdog routine, support the displayed page of readjustment, obtain the module of the relevant information of present procedure case process, wherein homophony watchdog routine comprises to wanting that the newtask mode of watchdog routine is asynchronous dishes out, support the displayed page of readjustment comprise animated show part and animation terminate after callback module.
Step is as follows:
1. in homophony program, in the way of NewTask, asynchronous dishing out needs the program example of monitoring.
2. register NewTask mode call after return tune course [being denoted as sub_callback] notify that monitoring facilities example is finished.
3. currently take CPU cumulative time t1 by what monitoring process recorded each progress of work, and carry out screening operation process by user and program information.
4. when homophony watchdog routine finds that the progress of work of the program example that NewTask mode is dished out occurs, starting to carry out record monitoring, recorded information comprises this process and currently adds up to take CPU time t2, and currently this process takies internal memory m, programexecution time T. And obtain the total internal memory M of server, CPU core calculation c.
5. pass through formulae discovery:
This program example takies this process of Installed System Memory rate of utilization=currently and takies the total internal memory M of internal memory m/ current server;
CPU utilization ratio=(this process takies CPU cumulative time t1 before currently adding up to take CPU this monitoring the process of time t2-)/programexecution time T/CPU core number c.
Obtain the information such as CPU utilization ratio and EMS memory occupation rate.
6. by calling the function object of displayed page displaying animation effect packaged in advance, passing to displayed page, the page carries out animated show by javascript script.
7. page animation adjusts back the refreshing that the event triggering SAP carries out monitoring after being finished, and namely notifies that homophony program carries out next refreshing monitoring state taken turns and obtains.
Until the monitored program example called in NewTask mode performs to terminate, the tune course sub_callback that returns calling earlier registration notifies that homophony program is finished and stops monitoring.

Claims (2)

1. the method for monitoring performance based on SAP platform, it is characterised in that the method comprises the following steps:
1) in homophony program, in the way of NewTask, asynchronous dishing out needs the program example of monitoring;
2) register NewTask mode call after return tune course, be denoted as sub_callback, notice monitoring facilities example be finished;
3) currently take CPU cumulative time t1 by what monitoring process recorded each progress of work, and carry out screening operation process by user and program information;
4) when homophony watchdog routine finds that the progress of work of the program example that NewTask mode is dished out occurs, starting to carry out record monitoring, recorded information comprises this process and currently adds up to take CPU time t2, and currently this process takies internal memory m, programexecution time T; And obtain the total internal memory M of server, CPU core calculation c;
5) CPU utilization ratio and EMS memory occupation rate is obtained by following formula;
This program example takies this process of Installed System Memory rate of utilization=currently and takies the total internal memory M of internal memory m/ current server;
CPU utilization ratio=(this process takies CPU cumulative time t1 before currently adding up to take CPU this monitoring the process of time t2-)/programexecution time T/CPU core number c;
6) by calling the function object of displayed page displaying animation effect packaged in advance, passing to displayed page, the page carries out animated show by javascript script;
7) page animation adjusts back the refreshing that the event triggering SAP carries out monitoring after being finished, and namely notifies that homophony program carries out next refreshing monitoring state taken turns and obtains;
8) until the monitored program example called in NewTask mode performs to terminate, the tune course sub_callback that returns calling earlier registration notifies that homophony program is finished and stops monitoring.
2. the method for monitoring performance based on SAP platform according to claim 1, it is characterized in that: homophony watchdog routine comprises dishes out to the NewTask mode to be monitored is asynchronous, support the displayed page of readjustment comprise animated show part and animation terminate after readjustment.
CN201410141626.4A 2014-04-10 2014-04-10 A kind of method for monitoring performance based on SAP platform Active CN103942135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410141626.4A CN103942135B (en) 2014-04-10 2014-04-10 A kind of method for monitoring performance based on SAP platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410141626.4A CN103942135B (en) 2014-04-10 2014-04-10 A kind of method for monitoring performance based on SAP platform

Publications (2)

Publication Number Publication Date
CN103942135A CN103942135A (en) 2014-07-23
CN103942135B true CN103942135B (en) 2016-06-08

Family

ID=51189808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410141626.4A Active CN103942135B (en) 2014-04-10 2014-04-10 A kind of method for monitoring performance based on SAP platform

Country Status (1)

Country Link
CN (1) CN103942135B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106294408B (en) * 2015-05-22 2019-08-30 阿里巴巴集团控股有限公司 The method and apparatus that the Asynchronous Request of dynamic web page is monitored
CN105550099B (en) * 2015-12-08 2018-05-01 江苏电力信息技术有限公司 A kind of SAP system method for evaluating state
WO2017125777A1 (en) * 2016-01-22 2017-07-27 Bnw Consulting Pty, Ltd. Enterprise metric visualization platform
CN107046581A (en) * 2017-05-19 2017-08-15 北京奇艺世纪科技有限公司 A kind of monitoring method, device and the server of service operation state

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478445A (en) * 2008-10-09 2009-07-08 卞旭东 General monitoring model technique used for information system monitoring
CN102831046A (en) * 2011-06-16 2012-12-19 中兴通讯股份有限公司 Method and device for collecting software performance in communication system
JP2013117808A (en) * 2011-12-02 2013-06-13 Nomura Research Institute Ltd Analysis device and analysis method
CN103164321A (en) * 2013-03-20 2013-06-19 华为技术有限公司 Occupancy rate measuring method and device of central processing unit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8880792B2 (en) * 2012-01-13 2014-11-04 Lenovo (Singapore) Pte. Ltd. Memory watch

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101478445A (en) * 2008-10-09 2009-07-08 卞旭东 General monitoring model technique used for information system monitoring
CN102831046A (en) * 2011-06-16 2012-12-19 中兴通讯股份有限公司 Method and device for collecting software performance in communication system
JP2013117808A (en) * 2011-12-02 2013-06-13 Nomura Research Institute Ltd Analysis device and analysis method
CN103164321A (en) * 2013-03-20 2013-06-19 华为技术有限公司 Occupancy rate measuring method and device of central processing unit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SAP ERP系统性能监控解决方案;刘涛等;《数字技术与应用 》;20130531;第2013年卷(第5期);第139页 *

Also Published As

Publication number Publication date
CN103942135A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
CN103942135B (en) A kind of method for monitoring performance based on SAP platform
JP6478976B2 (en) Battery consumption analysis and prediction of wireless devices
RU2011108549A (en) CONTENT RECOMMENDATIONS BASED ON BROWSING INFORMATION
MY197612A (en) Method and device for processing service calling information
CN104778185B (en) Anomaly sxtructure query language SQL statement determines method and server
RU2015153190A (en) COMBINATION OF GEOZONE EVENTS
CN110245374B (en) Process time sequence interval analysis method, system, device and storage medium
CN104111836A (en) Method for collecting and processing asynchronous loading data by network
CN104052809A (en) Distribution control method and device for web testing
CN104809224A (en) Method and device for presenting application information
WO2015084584A3 (en) Method and system for collecting resource access information
CN102609501B (en) Data cleaning method based on real-time historical database
CN103092757A (en) Construction method for bug automatic generation system
CN107153679B (en) Extraction statistical method and system for semi-structured big data
CN103761096B (en) The automated input methodology realized based on IBinder mechanism and device
GB0604117D0 (en) Real time paged computing device and method of operation
CN103793232A (en) Component calling and extending frame implementation method based on AOP
CN104142885B (en) A kind of method and apparatus for carrying out abnormality test to tested program
CN110311806A (en) A kind of mobile applications interface operating lag diagnostic method, system and terminal
CN102866830B (en) Interface dynamic display method and device
CN103164776B (en) A kind of medicine traceability system and medicine retroactive method thereof and flow monitoring method
Yin et al. Visualization dynamic monitoring system of production execution for multi-variety and small-batch Job Shop
CN106301621B (en) A method of with K line chart discovery wireless station and analysis air interference
CN106033576A (en) Method and apparatus for displaying object information
CN106156162A (en) Data base querying amount statistical method and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: JIANGSU ELECTRIC POWER COMPANY JIANGSU ELECTRIC PO

Free format text: FORMER OWNER: JIANGSU ELECTRIC POWER COMPANY JIANGSU ELECTRIC POWER INFORMATION TECHNOLOGY CO., LTD.

Effective date: 20140911

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20140911

Address after: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant after: State Grid Corporation of China

Applicant after: Jiangsu Electric Power Company

Applicant after: Jiangsu Electric Power Information Technology Co., Ltd.

Applicant after: Information & Telecommunication Branch of State Grid Jiangsu Electric Power Company

Address before: 100031 Xicheng District West Chang'an Avenue, No. 86, Beijing

Applicant before: State Grid Corporation of China

Applicant before: Jiangsu Electric Power Company

Applicant before: Jiangsu Electric Power Information Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant