JPH0264744A - Fault analyzing information acquiring system - Google Patents
Fault analyzing information acquiring systemInfo
- Publication number
- JPH0264744A JPH0264744A JP63217680A JP21768088A JPH0264744A JP H0264744 A JPH0264744 A JP H0264744A JP 63217680 A JP63217680 A JP 63217680A JP 21768088 A JP21768088 A JP 21768088A JP H0264744 A JPH0264744 A JP H0264744A
- Authority
- JP
- Japan
- Prior art keywords
- information
- program
- memory
- failure analysis
- management table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 5
- 238000007796 conventional method Methods 0.000 description 3
- 239000002699 waste material Substances 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、コンピュータシステムにおいて、メモリ上の
情報を磁気テープなどに書出すいわゆるダンプを行い、
この2次媒体にダンプした障害発生時のメモリ情報を編
集出力して障害解析情報を取得する障害解析情報の取得
方式に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention performs so-called dumping in which information in memory is written to a magnetic tape or the like in a computer system.
The present invention relates to a failure analysis information acquisition method for acquiring failure analysis information by editing and outputting memory information dumped to the secondary medium at the time of failure.
本発明は、障害発生時のメモリ上の障害情報を2次媒体
に書出して編集出力し障害解析処理を行う障害解析情報
取得方式において、
メモリ上に障害解析情報を格納する管理テーブルを設け
、この管理テーブルの情報も含めて2次媒体にダンプし
管理テーブルの情報を参照して必要な障害解析を行って
編集出力することにより、編集出力する障害解析情報の
量を必要最小限にしまた障害解析情報の変更の影響を小
さくするものである。The present invention provides a fault analysis information acquisition method that writes fault information on memory when a fault occurs to a secondary medium, edits and outputs it, and performs fault analysis processing. By dumping information including the management table information to a secondary medium, performing the necessary failure analysis by referring to the information in the management table, and editing and outputting it, the amount of failure analysis information to be edited and output can be minimized and the failure analysis can be carried out. This reduces the impact of changes in information.
〔従来の技1ボテ〕
従来、この種の障害解析情報の取得方式は、2次媒体に
ダンプしたダンプ情報を編集出力するプログラムがダン
プしたメモリ情報とは別の情報源、例えば、プログラム
への入力制御文、あるいは入力ファイルなどから取得す
る方式であった。[Conventional Technique 1 Failure] Conventionally, this type of failure analysis information acquisition method has been based on an information source other than the memory information dumped by a program that edits and outputs the dump information dumped to a secondary medium, such as an information source to the program. The method was to obtain it from input control statements or input files.
この従来の方式の一例を第5図に示す。An example of this conventional method is shown in FIG.
すなわち、メモリ上のプログラム1 (この例ではその
うちのプログラムA)を実行し障害解析情報を作成する
プログラム八と、プログラムの障害解析に必要な情報群
、この例ではプログラムAの障害解析に必要な情報群5
とを備えており、このメモリ上の障害解析情報を含む情
報を2次媒体6上にメモリダンプ情報として書出す。こ
の2次媒体にダンプされたメモリダンプ情報を障害解析
情報11に基づいてメモリダンプ情報編集出力プログラ
ム7で障害解析結果を編集し、メモリダンプ情報編集出
力リスト10として出力する構成であった。That is, program 8 executes program 1 (in this example, program A) on memory and creates failure analysis information, and a group of information necessary for failure analysis of the program, in this example, the information necessary for failure analysis of program A. Information group 5
The information including the failure analysis information on this memory is written onto the secondary medium 6 as memory dump information. The memory dump information dumped on the secondary medium was configured to be edited by a memory dump information editing/output program 7 based on the failure analysis information 11, and outputted as a memory dump information editing/output list 10.
〔発明が解決しようとする問題点〕
しかし、この第5図に示す従来の障害情報取得方式では
、メモリ上で障害解析情報を作成するプログラム1(A
)とメモリダンプ情報を編集出力するプログラムが使用
する障害解析情報11とが独立に存在する。[Problems to be Solved by the Invention] However, in the conventional fault information acquisition method shown in FIG.
) and failure analysis information 11 used by a program that edits and outputs memory dump information exist independently.
このため、プログラムのバージョンアップなどで障害解
析情報を変更する際には、メモリ上の障害情報を作成す
るプログラム1だけでなく、メモリダンプ情報を編集出
力するプログラムが使用する′障害解析情報11も変更
しなければならない欠点がある。Therefore, when changing the failure analysis information due to a program version upgrade, etc., not only the program 1 that creates the failure information in memory, but also the 'failure analysis information 11 used by the program that edits and outputs the memory dump information. There are shortcomings that must be changed.
さらに、バージョンアップでなくてもプログラムの実行
状態によって、障害解析に必要な情報は変わってくるの
で、従来の方式では、実行状態が分からないことから、
障害解析に必要な情報を得るためには、常に最大量の障
害解析情報を編集出力しておけねばならず、2次媒体上
にダンプされたメモリダンプ情報の編集出力に時間が多
くかかり無駄が多い欠点がある。Furthermore, even if there is no version upgrade, the information required for failure analysis changes depending on the execution status of the program, so with conventional methods, the execution status cannot be known.
In order to obtain the information necessary for failure analysis, it is necessary to always edit and output the maximum amount of failure analysis information, and it takes a lot of time and waste to edit and output the memory dump information dumped on the secondary medium. There are many drawbacks.
本発明は、上述の欠点を解消するものであり、編集出力
する障害解析情報の量を必要最小限にすることができ、
またプログラム変更等に伴う障害解析情報の変更時の影
響を小さくすることができる障害解析情報取得方式を提
供することを目的とする。The present invention solves the above-mentioned drawbacks, and makes it possible to minimize the amount of failure analysis information to be edited and output.
Another object of the present invention is to provide a fault analysis information acquisition method that can reduce the influence of changes in fault analysis information due to program changes and the like.
本発明は、障害発生時のメモリ上の障害情報を2次媒体
に書出してメモリ上の情報を解析して障害解析処理を行
い編集出力する障害解析処理手段を備えた障害解析情報
取得方式において、メモリ上に、障害解析情報を格納す
る管理テーブルと、障害が発生するごとにこの管理テー
ブルに障害解析情報を登録する管理テーブル登録手段と
を設け、上記障害解析処理手段は、2次媒体上に管理テ
ーブル上の障害解析情報を含む情報を書出す手段と、上
記管理テーブル上の障害解析情報を参照する手段とを含
むことを特徴とする。The present invention provides a failure analysis information acquisition method that includes a failure analysis processing means that writes failure information on memory when a failure occurs to a secondary medium, analyzes the information on the memory, performs failure analysis processing, and edits and outputs the information. A management table for storing failure analysis information and a management table registration means for registering failure analysis information in this management table each time a failure occurs are provided on the memory, and the failure analysis processing means stores information on a secondary medium. The present invention is characterized in that it includes means for writing information including failure analysis information on the management table, and means for referencing the failure analysis information on the management table.
プログラムを実行中に障害が発生するとそのプログラム
の障害解析に必要な情報をもとに障害解析を行い、障害
解析情報を管理テーブルにそれぞれ登録する。When a failure occurs during execution of a program, the failure is analyzed based on the information necessary for failure analysis of the program, and each failure analysis information is registered in a management table.
この障害解析情報は、2次媒体にダンプされ、メモリダ
ンプ情報編集出力プログラムにより、その管理テーブル
に登録された障害解析情報を含むメモリ内容が編集され
、障害解析情報のリストとして出力される。This fault analysis information is dumped onto a secondary medium, and a memory dump information editing/output program edits the memory contents including the fault analysis information registered in the management table and outputs it as a list of fault analysis information.
以下図面を参照して本発明の詳細な説明する。 The present invention will be described in detail below with reference to the drawings.
第1図は、本発明一実施例の障害解析情報取得方式の構
成を説明する図である。FIG. 1 is a diagram illustrating the configuration of a failure analysis information acquisition method according to an embodiment of the present invention.
この第1図において、上部はメモリ上の構成を示すもの
であり、プログラムA、Bを含むプログラム1と、この
プログラム1中の例えばプログラムAを実行中に発生し
た障害を解析に必要な情報群5に基づいて解析した障害
解析情報を管理テーブル3に登録する管理テーブル登録
プログラム2と、上記管理テーブル3へのポインタを登
録するルートテーブル4とを備えている。In Fig. 1, the upper part shows the memory configuration, and shows a program 1 including programs A and B, and a group of information necessary to analyze a failure that occurred during the execution of program A in program 1, for example. The management table registration program 2 is provided with a management table registration program 2 for registering failure analysis information analyzed based on 5 in the management table 3, and a route table 4 for registering a pointer to the management table 3.
このメモリ上の情報は、2次媒体6にメモリダンプ情報
として書出され、メモリダンプ情報編集出力プログラム
7によって、デフォルト解析プログラム8あるいは個別
解析プログラム9 (この場合プログラムA用障害解析
プログラム)等により、メモリ内容を数値から文字に変
換したリストや個別解析プログラムの解析結果を含むメ
モリダンプ情報編集出力リスト10を編集出力する構成
である。The information on this memory is written to the secondary medium 6 as memory dump information, and is written by the memory dump information editing output program 7, by the default analysis program 8 or by the individual analysis program 9 (in this case, the failure analysis program for program A), etc. This configuration edits and outputs a memory dump information editing output list 10 that includes a list obtained by converting memory contents from numerical values to characters and analysis results of an individual analysis program.
この第1図に示す障害解析情報取得方式は、障害発生時
の解析に必要な情報を作成するプログラム1自身が管理
テーブル登録プログラム2をコールして、メモリ上に障
害解析情報を存在させておくことにより、メモリダンプ
情報編集出力プログラムがメモリダンプされた内容を編
集出力する際に必要となる障害解析情報をメモリダンプ
情報自身からの取得を可能とすることを特徴としている
。In the fault analysis information acquisition method shown in Fig. 1, the program 1 itself that creates the information necessary for analysis when a fault occurs calls the management table registration program 2 and stores the fault analysis information in memory. This feature allows the memory dump information editing and output program to obtain failure analysis information necessary when editing and outputting the memory dumped contents from the memory dump information itself.
次に本実施例の動作を第2図ないし第4図を参照して説
明する。第2図は管理テーブルの構成を示す図であり、
第3図は管理テーブル登録プログラムの動作フローチャ
ート、第4図はメモリダンプ情報編集出力プログラムの
動作フローチャートを示す。Next, the operation of this embodiment will be explained with reference to FIGS. 2 to 4. FIG. 2 is a diagram showing the structure of the management table,
FIG. 3 shows an operation flowchart of the management table registration program, and FIG. 4 shows an operation flowchart of the memory dump information editing and output program.
(1)プログラムAはプログラムへの処理を実行してい
る途中で、障害が発生したときに備えて、みずからの処
理に関する障害解析情報、例えばプログラムAの実行状
態を示す情報、プログラムAのバージョン番号やロード
アドレスなどを管理テーブル3に登録するために管理テ
ーブル登録プログラム2を呼び出す。(1) Program A provides failure analysis information related to its own processing, such as information indicating the execution status of program A, and version number of program A, in case a failure occurs while executing processing for the program. The management table registration program 2 is called in order to register the information, load address, etc. in the management table 3.
(2)管理テーブル登録プログラム2は、プログラムA
からコールされるごとに、管理テーブル3用のメモリ領
域を確保しくステップS1)、入力パラメータの値を管
理テーブル3に設定する(ステップS2)。そして、ル
ートテーブル4からすでに作成ずみの管理テーブル3を
たどり、管理テーブルへのポインタで示される管理テー
ブル3のキューの末尾に作成した管理テーブル3をつな
ぎ込む(ステップ83〜S6)。そして、コール元のプ
ログラムAの位置に戻る。(2) Management table registration program 2 is program A
Each time it is called, a memory area for the management table 3 is secured (step S1), and the value of the input parameter is set in the management table 3 (step S2). Then, the management table 3 that has already been created is traced from the route table 4, and the created management table 3 is connected to the end of the queue of management tables 3 indicated by the pointer to the management table (steps 83 to S6). Then, the program returns to the calling program A.
この管理テーブルに登録するパラメータは、第2図に示
されるように、障害解析情報の識別子、デフォルト処理
要否、障害解析情報の先頭アドレス、障害解析情報長、
個別処理要否、個別解析プログラム名、次管理テーブル
へのポインタの情報であり、これらの情報を順次管理テ
ーブルに登録しておく。As shown in Figure 2, the parameters registered in this management table include the identifier of the failure analysis information, the necessity of default processing, the start address of the failure analysis information, the length of the failure analysis information,
This information includes the necessity of individual processing, the name of the individual analysis program, and a pointer to the next management table, and these pieces of information are registered in the management table in sequence.
(3)プログラムAによる管理テーブル登録プログラム
2のコールは、プログラムAの処理の状態に対応して、
障害解析に必要な時点でその都度行う。(3) The call to the management table registration program 2 by program A corresponds to the processing status of program A.
Perform each time it is necessary for failure analysis.
ただし、コール時に入力パラメータとして指定する障害
解析情報の使い分けにより、次の2種類の情報を登録す
ることができる。However, depending on how the failure analysis information is specified as an input parameter at the time of a call, the following two types of information can be registered.
(a) 情報の値は変わっても最新の値さえわかれば
障害解析が可能な場合は、同じ障害識別子を指定してコ
ールする。(a) Even if the information value changes, if fault analysis is possible as long as the latest value is known, call by specifying the same fault identifier.
(b) 情報の値がどのように変わっていったかとい
う履歴が分からないと障害解析が不可能な場合にはコー
ルするごとに障害情報識別子の値を変えてコールする。(b) If failure analysis is impossible without knowing the history of how information values have changed, the value of the failure information identifier is changed each time the call is made.
(4)プログラムAを実行中に、何らかの障害が発生す
ると、その障害解析情報は、管理テーブル3に登録され
るので、ダンプによりメモリ上の情報が、2次媒体中に
書き出されると、プログラムAの障害解析情報や管理テ
ーブル3も2次媒体6上に書き出される。(4) If a failure occurs while program A is running, the failure analysis information is registered in the management table 3, so when the information in memory is written to the secondary medium by dumping, program A The failure analysis information and management table 3 are also written onto the secondary medium 6.
(5)2次媒体6上のメモリダンプ情報は、メモリダン
プ情報編集出力プログラムにより、第4図に示される処
理により、障害解析情報が編集出力される。すなわち、
管理テーブル3の内容により、メモリ情報の数値を文字
変換とその編集出力を行うだけのデフォルト解析と、プ
ログラム毎に固有の障害解析処理を行う個別解析を行う
。(5) The memory dump information on the secondary medium 6 is edited and output as fault analysis information by the memory dump information editing and output program through the process shown in FIG. That is,
Depending on the contents of the management table 3, a default analysis is performed in which numerical values of memory information are simply converted into characters and edited and outputted, and an individual analysis is performed in which failure analysis processing unique to each program is performed.
その処理を順に説明する。The processing will be explained in order.
2次媒体6からメモリダンプ情報を読み(ステップ51
1)、ルートテーブル4から管理テーブル3をたどり障
害解析情報を得る(ステップ12)。Read memory dump information from the secondary medium 6 (step 51
1) Obtain failure analysis information by tracing the route table 4 to the management table 3 (step 12).
そして、障害解析情報の有無を判断しくステップ513
)、障害解析情報がない場合は処理は終了し、障害解析
情報がある場合には、障害解析情報にデフォルト処理が
必要か否かを判断する(ステップ514)。デフォルト
処理が必要な場合にはデフォルト障害解析プログラム8
をコールする(ステップ515)。デフォルト障害解析
プログラム8は、指定アドレスからの指定バイト数のメ
モリ内容を数値から文字に変換して編集出力する(ステ
ップ521)。Then, in step 513, it is determined whether or not there is failure analysis information.
), if there is no failure analysis information, the process ends; if there is failure analysis information, it is determined whether default processing is necessary for the failure analysis information (step 514). Default failure analysis program 8 if default processing is required
is called (step 515). The default failure analysis program 8 converts the memory contents of the specified number of bytes from the specified address from numerical values to characters, and edits and outputs the converted data (step 521).
また、障害解析情報は個別処理が必要か否かを判断しく
ステップ516)、必要と判断された場合には、個別解
析プログラム9 (この場合プログラムA用障害解析プ
ログラム)をコールする(ステップ517)。個別解析
プログラム9は、指定アドレスからの指定バイト数のメ
モリ内容からプログラム固有の障害解析情報を編集出力
する(ステップ531)。Also, it is determined whether individual processing is necessary for the failure analysis information (step 516), and if it is determined that it is necessary, the individual analysis program 9 (in this case, the failure analysis program for program A) is called (step 517). . The individual analysis program 9 edits and outputs program-specific failure analysis information from the memory contents of the specified number of bytes starting from the specified address (step 531).
このように、(1)〜(5)に示した手順で障害解析に
必要な情報の橋集出力結果を得ることができるので、必
要最小限の障害解析情報だけでよく、かつ障害解析に必
要な情報に変更があっても、プログラムAとプログラム
A用障害解析プログラムだけを修正すればよく、管理テ
ーブル登録プログラム2、管理テーブル3、メモリダン
プ情報編集出力プログラム7、デフォルト解析プログラ
ム8、その他のプログラム例えばプログラムBなどに影
響を与えることなく、必要な情報を修正すればよい。In this way, the steps shown in (1) to (5) can be used to obtain the bridge collection output result of the information necessary for failure analysis, so only the minimum necessary failure analysis information is required, and Even if there is a change in the information, it is only necessary to modify program A and the failure analysis program for program A, and the management table registration program 2, management table 3, memory dump information editing output program 7, default analysis program 8, and other The necessary information can be modified without affecting the program, for example, program B.
以上説明したように、本発明は、障害解析に必要な情報
を作成するプログラムがみずから作成する障害解析情報
をメモリ上に存在させておくので、メモリダンプ情報編
集出力プログラムは、メモリダンプ情報中に存在する障
害解析情報をもとに編集出力することができる。As explained above, in the present invention, the program that creates the information necessary for failure analysis stores the failure analysis information that it creates itself in memory, so the memory dump information editing output program It is possible to edit and output based on existing failure analysis information.
このため、編集出力する障害解析情報のlを必要最小限
にすることができるとともに障害解析情報を変更すると
きの影響をきわめて小さくすることが可能である。Therefore, it is possible to minimize l of the fault analysis information to be edited and output, and to minimize the influence when changing the fault analysis information.
第1図は本発明一実施例の構成を説明する図。
第2図は実施例管理テーブルの構成を説明する図。
第3図は実施例管理テーブル登録プログラムの動作フロ
ーチャート。
第4図は実施例管メモリダンプ情報編集出カプログラム
動作フローチャート。
第5図は従来例の構成を説明する図。
1・・・プログラム、2・・・管理テーブル登録プログ
ラム、3・・・管理テーブノペ4・・・ルートテーブル
、5・・・障害解析に必要な情報群、6・・・2次媒体
、7・・・メモリダンプ情報編集出力プログラム、訃・
・デフォルト解析プログラム、9・・・個別解析プログ
ラム、10・・・メモリダンプ情報編集出力リスト。FIG. 1 is a diagram illustrating the configuration of an embodiment of the present invention. FIG. 2 is a diagram illustrating the structure of the embodiment management table. FIG. 3 is an operation flowchart of the embodiment management table registration program. FIG. 4 is an operation flowchart of the tube memory dump information editing output program according to the embodiment. FIG. 5 is a diagram illustrating the configuration of a conventional example. DESCRIPTION OF SYMBOLS 1...Program, 2...Management table registration program, 3...Management table notebook 4...Route table, 5...Information group necessary for failure analysis, 6...Secondary medium, 7.・・Memory dump information editing output program, death・
- Default analysis program, 9... Individual analysis program, 10... Memory dump information editing output list.
Claims (1)
してメモリ上の情報を解析して障害解析処理を行い編集
出力する障害解析処理手段を備えた障害解析情報取得方
式において、 メモリ上に、 障害解析情報を格納する管理テーブルと、 障害が発生するごとにこの管理テーブルに障害解析情報
を登録する管理テーブル登録手段とを設け、 上記障害解析処理手段は、 2次媒体上に管理テーブル上の障害解析情報を含む情報
を書出す手段と、 上記管理テーブル上の障害解析情報を参照する手段と を含む ことを特徴とする障害解析情報取得方式。[Claims] 1. Fault analysis information provided with a fault analysis processing means that writes fault information on memory when a fault occurs to a secondary medium, analyzes the information on memory, performs fault analysis processing, and edits and outputs it. In the acquisition method, a management table for storing failure analysis information is provided in memory, and a management table registration means for registering failure analysis information in this management table every time a failure occurs, and the failure analysis processing means comprises: 2 A failure analysis information acquisition method comprising: means for writing information including failure analysis information on a management table onto a next medium; and means for referencing failure analysis information on the management table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63217680A JPH0264744A (en) | 1988-08-30 | 1988-08-30 | Fault analyzing information acquiring system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63217680A JPH0264744A (en) | 1988-08-30 | 1988-08-30 | Fault analyzing information acquiring system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0264744A true JPH0264744A (en) | 1990-03-05 |
Family
ID=16708035
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63217680A Pending JPH0264744A (en) | 1988-08-30 | 1988-08-30 | Fault analyzing information acquiring system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0264744A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0588882A (en) * | 1990-12-20 | 1993-04-09 | Internatl Business Mach Corp <Ibm> | Data processing system |
-
1988
- 1988-08-30 JP JP63217680A patent/JPH0264744A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0588882A (en) * | 1990-12-20 | 1993-04-09 | Internatl Business Mach Corp <Ibm> | Data processing system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0264744A (en) | Fault analyzing information acquiring system | |
| JP3660390B2 (en) | Term dictionary management device | |
| EP2587380A1 (en) | Runtime environment and method for non-invasive monitoring of software applications | |
| JP7563647B1 (en) | Programmable logic controller, support device, and display device | |
| JPH0256666A (en) | System for dynamically updating job network unitary control system generating information | |
| JPH05250210A (en) | Program trace system | |
| JP2613881B2 (en) | Automatic creation of shipping documents | |
| JP2604551B2 (en) | File dump output support method | |
| JPS6261130A (en) | Automatic graphic display system for test coverage | |
| JPH04107650A (en) | Shift system for data base reference structure | |
| JPH04186445A (en) | Automatic analytical system for system performance | |
| JPH02201673A (en) | Ccs trace file editing/output system | |
| JPH04273328A (en) | Generation system for cross-reference list | |
| JPH0212539A (en) | Table constitution information acquiring system | |
| JPH01310439A (en) | Editing history control system | |
| JPH064348A (en) | Program debugging system | |
| JPS61234435A (en) | Program development support method | |
| JPH01267731A (en) | System for preparing segment overlay program | |
| JPH04229343A (en) | Memory contents display system in interactive debugger | |
| JPH04117523A (en) | program editing device | |
| JPH07248840A (en) | Billing data compatibility method between different operating systems | |
| JPH03142628A (en) | Preparing device for latest source file | |
| JPH09128227A (en) | Automatic change history generation means for program | |
| JPH0668744B2 (en) | NCP load module update processing method | |
| JPS62216037A (en) | Message managing system using source library |