JPS63201741A - Dump information editing and outputting system - Google Patents
Dump information editing and outputting systemInfo
- Publication number
- JPS63201741A JPS63201741A JP62034227A JP3422787A JPS63201741A JP S63201741 A JPS63201741 A JP S63201741A JP 62034227 A JP62034227 A JP 62034227A JP 3422787 A JP3422787 A JP 3422787A JP S63201741 A JPS63201741 A JP S63201741A
- Authority
- JP
- Japan
- Prior art keywords
- history information
- information
- dump
- data area
- outputting
- 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
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はオンライン処理システム等の計算機システムの
異常終了時にダンプ情報を編集して出力するダンプ情報
編集出力方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a dump information editing and output method for editing and outputting dump information when a computer system such as an online processing system terminates abnormally.
従来、オンライン処理システム等の計算機システムに於
いては、システムが異常終了した場合、システムの実行
に関与した全てのデータ領域に記憶されている情報をダ
ンプ情報として全て無条件で出力するようにしている。Conventionally, in computer systems such as online processing systems, when the system terminates abnormally, all information stored in all data areas involved in system execution is unconditionally output as dump information. There is.
従来は上述したように、システムの実行に関与していた
全てのデータ領域に記憶されていた情報をダンプ情報と
して出力していたため、その情報量が膨大なものとなり
、印字出力時にラインプリンタ用紙が大量に使用された
り、出力時間が長大化する問題があった。また、更に、
バグ解析等の障害解析に使用されるのは、出力されたダ
ンプ情報の一部であることが多いので、効率的な原因解
析を行なうことができない問題もあった。Conventionally, as mentioned above, the information stored in all data areas involved in system execution was output as dump information, which resulted in a huge amount of information, and the line printer paper was used up when printing. There was a problem that it was used in large quantities and the output time became long. Moreover, furthermore,
Since a portion of the output dump information is often used for failure analysis such as bug analysis, there is also the problem that efficient cause analysis cannot be performed.
本発明は前述の如き問題点を解決したものであり、その
目的は障害解析に必要となるデータのみをダンプ情報と
して出力できるようにすることにある。The present invention solves the above-mentioned problems, and its purpose is to make it possible to output only the data necessary for failure analysis as dump information.
本発明は前述の如き問題点を解決するため、計算機シス
テムの異常終了時のダンプ情報編集出力方式に於いて、
前記計算機システムの稼動中に使用されたデータ領域を
示す履歴情報が書き込まれる履歴情報格納手段と、
該履歴情報格納手段に履歴情報を書き込む履歴情報書き
込み手段と、
前記計算機システムの異常終了後に前記履歴情報格納手
段に格納されている履歴情報を読み込む履歴情報読み込
み手段と、
異常終了時点でのダンプ情報の内の前記履歴情報読み込
み手段で読み込んだ履歴情報が指し示すデータ領域対応
の情報のみを出力するダンプ情報編集出力手段とを設け
たものである。In order to solve the above-mentioned problems, the present invention provides a dump information editing and outputting method when a computer system terminates abnormally, which includes history information in which history information indicating the data area used during the operation of the computer system is written. storage means; history information writing means for writing history information into the history information storage means; history information reading means for reading history information stored in the history information storage means after abnormal termination of the computer system; and a point in time of abnormal termination. and dump information editing/output means for outputting only information corresponding to the data area indicated by the history information read by the history information reading means in the dump information.
履歴情報格納手段には、履歴情報書き込み手段により、
計算機システムが稼動中に使用したデータ領域を示す履
歴情報が書き込まれるので、システムの異常終了時点に
於いて使用されていたデータ領域を履歴情報格納手段に
格納□されている履歴情報に基づいて知ることができる
。また、障害解析を行なうためには、通常、異常終了時
点に於いて使用されていたデータ領域の情報があれば必
要十分である。従って、ダンプ情報編集出力手段で、異
常終了時点でのダンプ情報の内の履歴情報が指し示す情
報のみを出力することにより、障害解析に必要十分なダ
ンプ情報のみを得ることができる。In the history information storage means, the history information writing means writes,
Since history information indicating the data area used while the computer system was in operation is written, the data area that was being used at the time of abnormal termination of the system can be known based on the history information stored in the history information storage means. be able to. Further, in order to perform failure analysis, it is usually necessary and sufficient to have information on the data area that was being used at the time of abnormal termination. Therefore, by outputting only the information indicated by the history information in the dump information at the time of abnormal termination by the dump information editing/output means, it is possible to obtain only the dump information necessary and sufficient for failure analysis.
次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の実施例のブロック図であり、履歴情報
書き込み手段1と、履歴情報格納手段2と、履歴情報読
み込み手段3と、ダンプ情報編集出力手段4と、ライン
プリンタ等の出力装置5と、計算機の各部にあってダン
プ対象とするデータを保持している主記憶装置等の記憶
装置6とを含んでいる。FIG. 1 is a block diagram of an embodiment of the present invention, which includes a history information writing means 1, a history information storage means 2, a history information reading means 3, a dump information editing and outputting means 4, and an output device such as a line printer. 5, and a storage device 6, such as a main storage device, which is located in each part of the computer and holds data to be dumped.
第2図は計算機システム上で稼動するオンライン処理プ
ログラム等のプログラムステップの一例を示す図であり
、マクロ命令等により記述された履歴情報書き込み処理
を行なうステップ2−1〜2−nが設けられている。履
歴情報書き込み処理を行なうステップ2−1〜2−nは
プログラム中の任意の箇所に設けることができるが、例
えば、使用するデータ領域を変更する箇所に設けておく
ものであり、第2図に示した例では、ステップ2−1.
2−2.2−、nはそれぞれ使用するデータ領域をデー
タ領域A、データ領域B、データ領域Cに変更する箇所
に設けられている。FIG. 2 is a diagram showing an example of program steps such as an online processing program running on a computer system, and includes steps 2-1 to 2-n for writing history information written by macro instructions, etc. There is. Steps 2-1 to 2-n for performing history information writing processing can be provided at any location in the program, but for example, steps 2-1 to 2-n are provided at a location where the data area to be used is to be changed. In the example shown, step 2-1.
2-2.2- and n are provided at locations where the data area to be used is changed to data area A, data area B, and data area C, respectively.
計算機システムの稼動時に、これらのステップ2−1〜
2−nが実行されることにより、履歴情報書き込み手段
1は、記憶装置6中のその時点に於いて使用されている
データ領域を指し示す記述□子を履歴情報格納手段2に
書き込む。尚、履歴情報書き込み手段1は履歴情報格納
手段2に記述子を書き込む際、前回の履歴情報書き込み
処理実行時に書込んだ記述子を消去した後、記述子の書
き込みを行なうものである。従って、計算機システムが
異常終了した場合、異常終了の直前の履歴情報書き込み
処理によって履歴情報格納手段2に格納された記述子が
異常終了時点に於いて使用されていたデータ領域を指し
示すことになり、例えば、ステップ2−1とステップ2
−2との間で、異常終了した場合はステップ2−1で書
込んだ記述子が異常終了時に於いて使用されていたデー
タ領域を示すことになる。When operating the computer system, these steps 2-1~
By executing 2-n, the history information writing means 1 writes into the history information storage means 2 a description □ indicating the data area being used at that point in the storage device 6. Incidentally, when writing a descriptor to the history information storage means 2, the history information writing means 1 writes the descriptor after erasing the descriptor written during the previous history information writing process. Therefore, when the computer system terminates abnormally, the descriptor stored in the history information storage means 2 by the history information writing process immediately before the abnormal termination will point to the data area that was being used at the time of the abnormal termination. For example, step 2-1 and step 2
-2, if the process terminates abnormally, the descriptor written in step 2-1 will indicate the data area that was being used at the time of the abnormal termination.
第3図は履歴情報格納手段2の内容を示した図であり、
履歴情報書き込み手段lによって履歴情報格納手段2に
格納される記述子は記述子基と記述子値とから構成され
る。記述子基は、記憶装置6中の計算機システム上で稼
動しているオンライン処理プログラム等が現在使用して
いるデータ領域を指し示す情報(例えばデータ領域の先
頭アドレスとそのサイズとからなる)がセットされてい
るレジスタのレジスタ名を表し、記述子値はレジスタの
内容を表す。第3図に示した例は、現在使用しているデ
ータ領域を指し示す情報がセットされているレジスタが
3個あり、そのレジスタ名がabc ptr、def
ptr、ghi ptrであることを示すと共に
、3個のレジスタの内容が123xxx、456xxx
、789xxxであることを示している。FIG. 3 is a diagram showing the contents of the history information storage means 2,
The descriptor stored in the history information storage means 2 by the history information writing means 1 is composed of a descriptor base and a descriptor value. The descriptor base is set with information (for example, consisting of the start address of the data area and its size) that indicates the data area currently being used by an online processing program or the like running on the computer system in the storage device 6. The descriptor value represents the contents of the register. In the example shown in Figure 3, there are three registers in which information pointing to the currently used data area is set, and the register names are abc ptr, def
ptr, ghi ptr, and the contents of the three registers are 123xxx, 456xxx
, 789xxx.
第4図はオンライン処理システム等の計算機システムの
異常終了後の処理内容を示す図である。FIG. 4 is a diagram showing the contents of processing after abnormal termination of a computer system such as an online processing system.
システム異常終了後、オペレーティングシステムによっ
て制御を渡された履歴情報読み込み手段3は履歴情報格
納手段2に格納されている記述子を全て読み込み、読込
んだ記述子をダンプ情報編集出力手段4へ引き渡す(ス
テップ3−1)。After the system terminates abnormally, the history information reading means 3, which is given control by the operating system, reads all the descriptors stored in the history information storage means 2, and passes the read descriptors to the dump information editing and outputting means 4 ( Step 3-1).
ダンプ情報編集出力手段4は、先ず、履歴情報読み込み
手段3から引き渡された記述子の内の1つを選択しくス
テップ3−2)、次にステップ3−2で選択した記述子
の記述子値が正当であるか否かを、例えば記述子値が正
であるか負であるかによって判断する(ステップ3−3
)。そして、ステップ3−3で記述子値が異常であると
判断した場合はステップ3−7の処理を行ない、正常で
あると判断した場合はステップ3−4の処理に進む。こ
こで、記述子値が正当であるか否かを判定し、負の値で
ある等正当でないと判定した場合はステップ3−4〜3
−6の処理を行なわないようにしたのは、正当でない記
述子値に基づいてデータアクセスしたこと自体が異常終
了の原因であったとも考えられるので、正当でない記述
子値に基づいてステップ3−4〜3−6の処理を行なう
と、再び異常終了する惧れがあるからである。The dump information editing output means 4 first selects one of the descriptors delivered from the history information reading means 3 (step 3-2), and then selects the descriptor value of the descriptor selected in step 3-2. It is determined whether the descriptor value is valid or not, for example, by whether the descriptor value is positive or negative (step 3-3
). If it is determined in step 3-3 that the descriptor value is abnormal, the process proceeds to step 3-7, and if it is determined that the descriptor value is normal, the process proceeds to step 3-4. Here, it is determined whether the descriptor value is valid or not, and if it is determined that it is not valid, such as a negative value, steps 3-4 to 3-4
The reason for not performing the process in step 6 is that accessing data based on an invalid descriptor value itself may have been the cause of the abnormal termination. This is because if processes 4 to 3-6 are performed, there is a risk that the process will end abnormally again.
ステップ3−4では計算機システムの異常終了時点での
計算機各部の情報の内からステップ3−2で選択した記
述子の記述子値が指し示す部分をダンプ情報の一部とし
て抜き出す処理が行なわれ、ステップ3−5ではステッ
プ3−4で抜き出された情報に出力のための付加情報(
例えば、その情報の格納場所情報)を付は加える処理が
行なわれ、ステップ3−6では付加情報の付加された情
報を出力装置5に出力する処理が行なわれ、出力装置5
より編集済ダンプ情報が出力される。そして、ステップ
3−6の処理が終了すると、履歴情報読み込み手段3か
ら引き渡された記述千金てについて上述した処理を行な
ったか否かを判断しくステップ3−7> 、全ての記述
子について上述した処理を行なったと判断した場合は、
処理を終了し、行なっていないと判断した場合は、再び
ステップ3−2の処理を行なう。In step 3-4, the part pointed to by the descriptor value of the descriptor selected in step 3-2 is extracted from the information of each part of the computer at the time of abnormal termination of the computer system as part of the dump information. In step 3-5, additional information (for output) is added to the information extracted in step 3-4.
For example, processing is performed to add information (for example, storage location information) to the information, and in step 3-6, processing is performed to output the information to which the additional information has been added to the output device 5.
Edited dump information is output. Then, when the process of step 3-6 is completed, it is determined whether the above-described process has been performed for the description sent from the history information reading means 3. In step 3-7>, the process described above for all the descriptors is performed. If it is determined that the
When the process is completed and it is determined that the process has not been performed, the process of step 3-2 is performed again.
尚、上述した実施例に於いては、プロゲラ□ム中の各所
に履歴情報書き込み処理を行なうステップを設けておき
、上記ステップが実行されることにより、その時に使用
されていたデータ領域を指し示す記述子を履歴情報格納
手段2に格納するようにしたが、プログラムが論理的エ
ラーを検出して自らアボードする場合に、その時に使用
していたデータ領域を指し示す記述子を履歴情報格納手
段2に格納する処理を実行することも可能である。In the above-mentioned embodiment, a step for writing history information is provided at various locations in the program program, and by executing the above step, a description pointing to the data area that was being used at that time is written. Although the child is stored in the history information storage means 2, if the program detects a logical error and aborts itself, a descriptor pointing to the data area that was being used at that time is stored in the history information storage means 2. It is also possible to perform processing to
以上説明したように、本発明は、オンライン処理システ
ム等の計算機システムの稼動中、システムが使用したデ
ータ領域を指し示す記述子等の履歴情報を履歴情報格納
手段に格納しておき、システムが異常終了した場合は、
ダンプ情報の内の履歴情報が指し示す部分のみを選択出
力するようにしたものであるから、以下に示す効果があ
る。As explained above, the present invention stores history information such as descriptors pointing to data areas used by the system in a history information storage means while a computer system such as an online processing system is in operation, and when the system terminates abnormally. If you do,
Since only the portion of the dump information indicated by the history information is selectively output, the following effects are achieved.
■ 障害解析に必要十分なダンプ情報が得られ、しかも
冗長性が減るので障害解析を効率的に行なうことが可能
となる。■ Sufficient dump information for failure analysis can be obtained, and redundancy is reduced, making it possible to perform failure analysis efficiently.
■ 出力するダンプ情報の量が少なくなるので、例えば
印字出力する際には、ラインプリンタ用紙等の無駄を無
くすことができる。(2) Since the amount of dump information to be output is reduced, it is possible to eliminate waste of line printer paper, etc. when printing out, for example.
■ 出力するダンプ情報の量が少なくなるので、ダンプ
情報を出力する際に要する時間を少なくすることができ
る。■ Since the amount of dump information to be output is reduced, the time required to output dump information can be reduced.
第1図は本発明の実施例のブロック図、第2図は履歴情
報書き込み手段1の処理内容を説明するための図、
第3図の履歴情報格納手段2の内容を示す図及び、
第4図はシステム異常終了後の処理内容を示す図である
。
図に於いて、1・・・履歴情報書き込み手段、2・・・
履歴情報格納手段、3・・・履歴情報読み込み手段、4
・・・ダンプ情報編集出力手段、5・・・出力装置、6
・・・記憶装置。1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram for explaining the processing contents of the history information writing means 1, FIG. 3 is a diagram showing the contents of the history information storage means 2, and The figure is a diagram showing the contents of processing after the system terminates abnormally. In the figure, 1... history information writing means, 2...
History information storage means, 3...History information reading means, 4
... Dump information editing output means, 5... Output device, 6
···Storage device.
Claims (1)
に於いて、 前記計算機システムの稼動中に使用されたデータ領域を
示す履歴情報が書き込まれる履歴情報格納手段と、 該履歴情報格納手段に履歴情報を書き込む履歴情報書き
込み手段と、 前記計算機システムの異常終了後に前記履歴情報格納手
段に格納されている履歴情報を読み込む履歴情報読み込
み手段と、 異常終了時点でのダンプ情報の内の前記履歴情報読み込
み手段で読み込んだ履歴情報が指し示すデータ領域対応
の情報のみを出力するダンプ情報編集出力手段とを含む
ことを特徴とするダンプ情報編集出力方式。[Scope of Claims] A dump information editing and output method when a computer system terminates abnormally includes: a history information storage means into which history information indicating a data area used during operation of the computer system is written; and the history information. History information writing means for writing history information into a storage means; History information reading means for reading history information stored in the history information storage means after abnormal termination of the computer system; A dump information editing/outputting method comprising: dump information editing/outputting means for outputting only information corresponding to a data area indicated by the history information read by the history information reading means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62034227A JPS63201741A (en) | 1987-02-17 | 1987-02-17 | Dump information editing and outputting system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62034227A JPS63201741A (en) | 1987-02-17 | 1987-02-17 | Dump information editing and outputting system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS63201741A true JPS63201741A (en) | 1988-08-19 |
Family
ID=12408260
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62034227A Pending JPS63201741A (en) | 1987-02-17 | 1987-02-17 | Dump information editing and outputting system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS63201741A (en) |
-
1987
- 1987-02-17 JP JP62034227A patent/JPS63201741A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH05225076A (en) | Method and device for managing common information | |
| JPS63201741A (en) | Dump information editing and outputting system | |
| JP2731047B2 (en) | Program operand check method | |
| JPH11259335A (en) | Tracer device, trace data compressing method and compressed trace data reading method | |
| JPH03255547A (en) | Memory dump output system | |
| JP3130798B2 (en) | Bus transfer device | |
| JP2647044B2 (en) | History management method | |
| JP2718676B2 (en) | Virtual memory dump processing method | |
| JPH05197596A (en) | Tracer | |
| JPS63201740A (en) | Data editing system for service processor | |
| JPS6254347A (en) | Processing system for fault of file | |
| JPH09325900A (en) | Program execution trace device | |
| JPH0431129B2 (en) | ||
| JPS6254348A (en) | Processing system for fault of file | |
| JPS6144339B2 (en) | ||
| JPH04155545A (en) | Dump collection processing method | |
| JPS6130299B2 (en) | ||
| JPS6113488A (en) | Storage management method for non-erasable disk devices | |
| JPH05265799A (en) | Data processor | |
| JPH01302429A (en) | Source program editing system | |
| JPH0332823B2 (en) | ||
| JPH01130237A (en) | Information processor | |
| JPS62151947A (en) | Memory address tracing system | |
| JPS59173846A (en) | Program correcting system | |
| JPS62224833A (en) | Suitability inspecting system of data form |