JPS63189949A - System for collecting information on cause analysis at end of abnormal program - Google Patents

System for collecting information on cause analysis at end of abnormal program

Info

Publication number
JPS63189949A
JPS63189949A JP62021310A JP2131087A JPS63189949A JP S63189949 A JPS63189949 A JP S63189949A JP 62021310 A JP62021310 A JP 62021310A JP 2131087 A JP2131087 A JP 2131087A JP S63189949 A JPS63189949 A JP S63189949A
Authority
JP
Japan
Prior art keywords
detailed analysis
analysis information
abnormal termination
information acquisition
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP62021310A
Other languages
Japanese (ja)
Inventor
Hideki Iida
飯田 秀樹
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP62021310A priority Critical patent/JPS63189949A/en
Publication of JPS63189949A publication Critical patent/JPS63189949A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To rapidly analyze the cause of abnormal end by collecting information necessary for analysis in accordance with the sort of abnormal end of a program. CONSTITUTION:When an operating system processing part 3 detects abnormality to execute abnormal end, an abnormal end code setting means 301 sets up an abnormal end code 20a in an abnormal end code setting area 20 and executes the abnormal end of the program 1. An abnormal end code acquiring means 401 acquires the code 20a and applies the code 20a to a detailed analysis information acquisition rule acquiring means 402 and a detailed analysis information acquisition rule registering file 6 is searched by a detailed analysis information acquisition rule registering means 5 to acquire the detailed analysis information acquisition rule. A detailed analysis information acquiring means 403 acquires and edits the detailed analysis information and outputs the edited result as a detailed analysis information report.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラムがオペレーティングシステムの実
行中に異常終了した場合、異常終了原因を迅速に解析で
きるようにしたプログラム異常終了時の原因解析情報収
集方式に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides information for analyzing the cause of abnormal termination of a program, which allows the cause of the abnormal termination to be quickly analyzed when the program terminates abnormally during execution of an operating system. Regarding collection methods.

〔従来の技術〕[Conventional technology]

コンピュータシステムで実行されるユーザプロダラム等
のプログラムが、オペレーティングシステムの実行中に
異常終了した場合、従来は異常終了コードや異常終了し
たプログラムのローカルな領域全体のダンプ等の画一的
で大量の情報を収集し、それらから異常終了原因を解析
していた。
When a program such as a user program executed in a computer system terminates abnormally while the operating system is running, conventionally, a uniform and large amount of information such as an abnormal termination code or a dump of the entire local area of the program that terminated abnormally has been generated. We collected information and used it to analyze the cause of the abnormal termination.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、上述した従来技術では、異常終了コードやプロ
グラムのローカルな領域全体のダンプ等画一的で且つ大
量の情報を収集しているので、異常終了原因毎にその原
因を解析する為に必要となる情報が一般に異なるという
事情と相俟って、プログラム或いはオペレーティングシ
ステムの異常終了の解析が困難で解析に長い時間を要す
る問題があった。
However, in the above-mentioned conventional technology, a large amount of uniform information is collected, such as the abnormal termination code and a dump of the entire local area of the program. Coupled with the fact that different types of information are generally different, there is a problem in that it is difficult to analyze abnormal termination of a program or an operating system, and it takes a long time to analyze.

また、場合によっては、解析を進めるために必要となる
情報がオペレーデインク1システムの管理する領域にあ
り、プログラムのローカルな領域にないことがあるが、
従来方式では、異常終了したプログラムのローカルな領
域全体のダンプしか収集しておらず、オペレーティング
システムの管理する領域にある情報は収集していなかっ
たため、上記したような時は異常原因を解析できない問
題がある。このような場合、従来はオペレーティングシ
ステムが管理する領域にある情報を取得するための準備
を行なった後、再度プログラムを実行させて事象を再現
させることが必要となり、やはり解析に長い時間を要す
る問題がある。また、プロクラムの異常終了時にオペレ
ーティングシステムの管理領域のダンプを収集するよう
にすることも考えられるが、このようにすると、収集さ
れる情報の量が膨大なものとなるので、やはり原因解析
に長い時間を要する問題がある。
In addition, in some cases, the information necessary to proceed with the analysis may be in the area managed by the operator index 1 system and not in the local area of the program.
With conventional methods, only a dump of the entire local area of a program that terminated abnormally was collected, and information in the area managed by the operating system was not collected, resulting in the problem of not being able to analyze the cause of the abnormality in cases such as the above. There is. In such cases, conventionally, it was necessary to make preparations to acquire information in the area managed by the operating system and then run the program again to reproduce the event, resulting in the problem of requiring a long time to analyze. There is. Another option is to collect a dump of the operating system's management area when a program terminates abnormally, but this would result in a huge amount of information being collected, which would take a long time to analyze the cause. There are problems that require time.

本発明は前述の如き問題点を解決したものであり、その
目的はプログラムの異常終了原因を迅速に解析できるよ
うにすることにある。
The present invention solves the above-mentioned problems, and its purpose is to quickly analyze the cause of abnormal termination of a program.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は前述の如き問題点を解決するため、コイピユー
タシステムで実行されるプログラムを異常終了させるこ
とが必要となる異常がオペレーティングシステムの実行
中に検出された場合、異常終了の種別を一意に表す異常
終了コードを前記プログラムのシステム制御領域に設定
して前記プログラムを異常終了させる異常終了コード設
定手段と、 前記プログラムの異常終了の詳細な原因解析に必要とな
る詳細解析情報を収集するための詳細解析情報取得規則
が異常終了コードに対応して予め登録されている詳細解
析情報取得規則登録ファイルと、 オペレーティングシステムの前記プログラムの異常終了
処理に於いて、前記プログラムのシステム制御領域に設
定されている異常終了コードを取得する異常終了コード
取得手段と、 前記詳細解析情報を得規則登録ファイルから前記異常終
了コード取得手段で得られた異常終了コードに対応する
詳細解析情報取得規則を獲得する詳細解析情報取得規則
獲得手段と、 該詳細解析情報取得規則獲得手段で獲得された詳細解析
情報取得規則に従って詳細解析情報を取得する詳細解析
情報取得手段と、 前記詳細解析情報取得手段により取得された詳細解析情
報を異常終了詳細解析情報として出力する詳細解析情報
出力手段とを設けたものである。
In order to solve the above-mentioned problems, the present invention uniquely identifies the type of abnormal termination when an abnormality that requires abnormal termination of the program executed on the computer system is detected during execution of the operating system. Abnormal termination code setting means for setting an abnormal termination code represented by in a system control area of the program to abnormally terminate the program; and collecting detailed analysis information necessary for detailed cause analysis of the abnormal termination of the program. Detailed analysis information acquisition rules are registered in advance in a detailed analysis information acquisition rule registration file corresponding to the abnormal termination code, and are set in the system control area of the program in the abnormal termination processing of the program of the operating system. Abnormal termination code acquisition means for acquiring an abnormal termination code obtained by the abnormal termination code acquisition means; Details for acquiring detailed analysis information acquisition rules corresponding to the abnormal termination code obtained by the abnormal termination code acquisition means from the detailed analysis information and rule registration file. analysis information acquisition rule acquisition means; detailed analysis information acquisition means for acquiring detailed analysis information according to the detailed analysis information acquisition rule acquired by the detailed analysis information acquisition rule acquisition means; and details acquired by the detailed analysis information acquisition means. A detailed analysis information output means for outputting the analysis information as abnormal termination detailed analysis information is provided.

〔作 用〕[For production]

詳細解析情報取得規則登録ファイルにはプログラムの異
常終了の種別を一意に表す異常終了コードに対応して、
その異常終了の原因解析に必要となる情報を収集する際
の詳細解析情報取得規則が登録されている。プログラム
の異常終了時、異常終了コード設定手段は異常終了コー
ドをプログラムのシステム制fa fil域に設定し、
詳細解析情報取得規則獲得手段は詳細解析情報取得規則
登録ファイルに登録されている詳細解析情報取得規則の
内から異常終了コード取得手段が取得した異常終了コー
ド対応の詳細解析情報取得規則を獲得し、詳細解析情報
取得手段は詳細解析情報取得規則獲得手段が獲得した詳
細解析情報取得規則に従って異常終了原因の解析に必要
となる情報を収集する。
In the detailed analysis information acquisition rule registration file, there are
Detailed analysis information acquisition rules for collecting information necessary for analyzing the cause of the abnormal termination are registered. When the program terminates abnormally, the abnormal termination code setting means sets the abnormal termination code in the system system fa file area of the program,
The detailed analysis information acquisition rule acquisition means acquires a detailed analysis information acquisition rule corresponding to the abnormal termination code acquired by the abnormal termination code acquisition means from among the detailed analysis information acquisition rules registered in the detailed analysis information acquisition rule registration file, The detailed analysis information acquisition means collects information necessary for analyzing the cause of abnormal termination according to the detailed analysis information acquisition rule acquired by the detailed analysis information acquisition rule acquisition means.

従って、プログラムの異常終了の種類に応じたその原因
解析に必要な原因解析情報のみを収集することが可能と
なる。
Therefore, it is possible to collect only the cause analysis information necessary for the cause analysis according to the type of abnormal termination of the program.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の実施例のブロック図であり、ユーザプ
ログラム等のプログラムlと、プログラム1の異常終了
コード20aが設定される異常終了コード設定領域20
を含むシステム制御領域2と、プログラム1に関するオ
ペレーティングシステム処理を実行するオペレーティン
グシステム処理部3と、プログラム1に関する異常終了
処理を行なうオペレーティングシステム異常終了処理部
4と、詳細解析情報取得規則登録手段5と、詳細解析情
報取得規則登録手段5によってプログラムの異常終了の
種別を一意に表す異常終了コードに対応して、その異常
終了の原因解析に必要となる情報を収集する際の詳細解
析情報取得規則(何処の情報をどのように取得すれば良
いかを示す規則)が予め登録されている詳細解析情報取
得規則登録ファイル6とから構成されている。また、オ
ペレーティングシステム処理部3の異常処理部には異常
終了コード設定手段301が設けられ、オペレーティン
グシステム異常終了処理部4には異常終了コード取得手
段401と、詳細解析情報取得規則獲得手段402と、
詳細解析情報取得手段403と、詳細解析情報編集出力
手段404とが設けられている。
FIG. 1 is a block diagram of an embodiment of the present invention, in which a program 1 such as a user program and an abnormal termination code setting area 20 in which an abnormal termination code 20a of program 1 is set.
an operating system processing section 3 that executes operating system processing regarding the program 1, an operating system abnormal termination processing section 4 that performs abnormal termination processing regarding the program 1, and a detailed analysis information acquisition rule registration means 5. , Detailed analysis information acquisition rules (detailed analysis information acquisition rules) for collecting information necessary for analyzing the cause of the abnormal termination in correspondence with the abnormal termination code that uniquely represents the type of abnormal termination of the program by the detailed analysis information acquisition rule registration means 5. The detailed analysis information acquisition rule registration file 6 includes a detailed analysis information acquisition rule registration file 6 in which rules indicating where and how information should be acquired are registered in advance. Further, the abnormality processing section of the operating system processing section 3 is provided with an abnormal termination code setting means 301, and the operating system abnormal termination processing section 4 is provided with an abnormal termination code acquisition means 401, a detailed analysis information acquisition rule acquisition means 402,
Detailed analysis information acquisition means 403 and detailed analysis information editing and outputting means 404 are provided.

次に、第1図の動作を説明する。Next, the operation shown in FIG. 1 will be explained.

保守者等は詳細解析情報取得規則登録手段5を用いて詳
細解析情報取得規則登録ファイル6に異常終了コードと
詳細解析情報取得規則とを対応させて予め登録しておく
A maintenance person or the like registers the abnormal termination code and the detailed analysis information acquisition rule in correspondence with each other in the detailed analysis information acquisition rule registration file 6 using the detailed analysis information acquisition rule registration means 5 in advance.

プログラムlは!10の発行等、種々のオペレーティン
グシステムの提供する機能を利用して動作している。こ
のオペレーティングシステム機能の処理に於いて、オペ
レーティングシステム処理部3がプログラム1を異常終
了させなければならない異常31を検出すると、オペレ
ーティングシステム処理部3の異常終了コード設定手段
301はプログ)ム1のシステム制御領域2の異常終了
コード設定領域20に、この異常終了の種別を一意に識
別できる異常終了コード20aを設定した上で、プログ
ラム1を異常終了させる。
The program is! It operates by utilizing functions provided by various operating systems, such as the issuance of 10. In the processing of this operating system function, when the operating system processing unit 3 detects an abnormality 31 that requires the program 1 to terminate abnormally, the abnormal termination code setting means 301 of the operating system processing unit 3 After setting an abnormal termination code 20a that can uniquely identify the type of abnormal termination in the abnormal termination code setting area 20 of the control area 2, the program 1 is terminated abnormally.

プログラムlが異常終了させられると、オペレーティン
グシステム異常終了処理部4内の異常終了コード取得手
段401は異常終了コード設定領域20からプログラム
1の異常終了コード20aを取得し、これを詳細解析情
報取得規則獲得手段402に加える。詳細解析情報取得
規則獲得手段402は異常終了コード取得手段401か
らの異常終了コードをキーとして、詳細解析情報取得規
則登録手段5によって異常終了コード対応に詳細解析情
報取得規則(何処の情報をどのように取得すれば良いか
を示す規則)が登録されている詳細解析情報取得規則登
録ファイル6をサーチし、異常終了コード20aに対応
した詳細解析情報取得規則を獲得する。
When the program 1 is terminated abnormally, the abnormal termination code acquisition means 401 in the operating system abnormal termination processing section 4 acquires the abnormal termination code 20a of the program 1 from the abnormal termination code setting area 20, and uses this as the detailed analysis information acquisition rule. It is added to the acquisition means 402. The detailed analysis information acquisition rule acquisition means 402 uses the abnormal termination code from the abnormal termination code acquisition means 401 as a key, and uses the detailed analysis information acquisition rule registration means 5 to create detailed analysis information acquisition rules (where information, how, etc.) corresponding to the abnormal termination code. The detailed analysis information acquisition rule registration file 6 in which detailed analysis information acquisition rules (rules indicating whether to acquire the detailed analysis information) are registered is searched, and the detailed analysis information acquisition rule corresponding to the abnormal termination code 20a is acquired.

詳細解析情報取得手段403は詳細解析情報取得規則獲
得手段402が得た詳細解析情報取得規則に従って詳細
解析情報を取得する。詳細解析情報編集出力手段404
は詳細解析情報取得手段4Q3が取得した詳細解析情報
を編集し、詳細解析情報レポートとして出力する。
Detailed analysis information acquisition means 403 acquires detailed analysis information according to the detailed analysis information acquisition rule obtained by detailed analysis information acquisition rule acquisition means 402. Detailed analysis information editing output means 404
edits the detailed analysis information acquired by the detailed analysis information acquisition means 4Q3 and outputs it as a detailed analysis information report.

第2図は詳細解析情報取得規則登録ファイル6に登録さ
れている詳細解析情報取得規則の一例を示した図であり
、同図はディスクファイルT10に於いてファイルの領
域外をアクセスすることによりプログラム1が異常終了
した場合に詳細解析情報取得規則獲得手段402によっ
て獲得される詳細解析情報取得規則を示している。
FIG. 2 is a diagram showing an example of detailed analysis information acquisition rules registered in the detailed analysis information acquisition rule registration file 6. 1 shows detailed analysis information acquisition rules acquired by the detailed analysis information acquisition rule acquisition means 402 when the detailed analysis information acquisition rule acquisition unit 402 terminates abnormally.

ディスクファイルI10に於いて、ファイルの領域外を
アクセスした場合、異常終了コード設定手段301は異
常終了コード設定領域20に異常終了コード(この場合
Flとする)を設定し、プログラムlを異常終了させる
。この時、異常終了原因の詳細解析には、ファイルの識
別子、ファイルのディスク上での物理アドレス及びアク
セスしようとしたデータのディスク上のアドレスが必要
となる。これらの情報を得るため、I10要求情報が格
納されているテーブルと、ファイル識別子及び物理アド
レス情報が格納されているテーブルとを得る必要があり
、これらを得るために、ファイルの領域外にアクセスし
た異常終了に対応する第2図に示した詳細解析情報取得
規則が予め詳細解析情報取得規則登録手段5により詳細
解析情報取得規則登録ファイル6に設定されている。尚
、アクセスしようとしたデータのディスク上のアドレス
はI10要求情報に含まれるものである。
When accessing outside the file area in the disk file I10, the abnormal termination code setting means 301 sets an abnormal termination code (in this case, Fl) in the abnormal termination code setting area 20, and abnormally terminates the program I. . At this time, detailed analysis of the cause of the abnormal termination requires the file identifier, the physical address of the file on the disk, and the address on the disk of the data to be accessed. In order to obtain this information, it is necessary to obtain a table that stores I10 request information and a table that stores file identifier and physical address information, and in order to obtain these, it is necessary to access outside the file area. The detailed analysis information acquisition rules shown in FIG. 2 corresponding to abnormal termination are set in advance in the detailed analysis information acquisition rule registration file 6 by the detailed analysis information acquisition rule registration means 5. Note that the address on the disk of the data to be accessed is included in the I10 request information.

次に、第3図を参照して第2図に示した詳細解析情報取
得規則登録ファイル6に登録されている各情報について
説明する。
Next, each piece of information registered in the detailed analysis information acquisition rule registration file 6 shown in FIG. 2 will be explained with reference to FIG. 3.

夏1はI10要求情報が格納されているテーブルを格納
しているオペレーティングシステムの管理領域内のセグ
メントのIDを示し、R1は前記セグメントのIDによ
って指されるセグメント内のI10要求情報の格納され
ているテーブルの位置を指すセグメント内アドレスがレ
ジスタR1に格納されていることを示し、SlはI10
要求情報が格納されているテーブルのテーブルサイズを
示している。また、D2はファイル識別子と物理アドレ
ス情報とが格納されているテーブルを格納しているセグ
メントの記述子がセグメント記述子レジスタD2に格納
されそいることを示している。
Summer 1 indicates the ID of the segment in the management area of the operating system that stores the table in which I10 request information is stored, and R1 indicates the ID of the segment in which the I10 request information is stored in the segment pointed to by the segment ID. Indicates that the intra-segment address pointing to the location of the table is stored in register R1, and Sl is I10.
Indicates the table size of the table in which request information is stored. Further, D2 indicates that a descriptor of a segment storing a table in which file identifiers and physical address information are stored is about to be stored in the segment descriptor register D2.

また、I10要求情報が格納されているテーブルにはセ
グメント記述子レジスタD2の内容によって指されるセ
グメント内に於けるファイル識別子の位置を示すアドレ
ス情報が含まれており、このアドレス情報からファイル
識別子を参照することができる。また、ファイルの物理
アドレス情報にはファイル識別子からポインタが出てお
り、これから参照可能である。従って、ファイル識別子
とファイルの物理アドレス情報とが格納されているテー
ブルを格納しているセグメント及びI10要求の情報を
格納しているテーブルを参照することにより、プログラ
ムlがファイルの領域外をアクセスした烏の異常終了原
因の詳細解析を行なうことが可能となる。尚、第2図で
D2の指すセグメントの情報に、セグメント内アドレス
情報及びサイズ情報がないのは、前記セグメント内の情
報を全て出力することを示し、セグメント内アドレス情
報及びサイズ情報がある場合にはこれらの情報によって
指定された情報のみが前記セグメントから出力される。
Additionally, the table storing the I10 request information includes address information indicating the position of the file identifier within the segment pointed to by the contents of the segment descriptor register D2, and the file identifier can be determined from this address information. You can refer to it. In addition, a pointer appears from the file identifier in the physical address information of the file, and can be referenced from now on. Therefore, by referring to the segment that stores the table that stores the file identifier and the physical address information of the file, and the table that stores the I10 request information, the program l accesses outside the file area. It becomes possible to conduct a detailed analysis of the cause of the abnormal termination of the crow. In addition, the fact that there is no intra-segment address information and size information in the information of the segment pointed to by D2 in Fig. 2 indicates that all information within the segment is to be output; Only the information specified by these pieces of information is output from the segment.

次に、ディスクファイルI10に於いて、ファイル領域
外をアクセスした場合の動作を説明する。
Next, the operation when accessing outside the file area in the disk file I10 will be explained.

ディスクファイルI10に於いてファイル領域外をアク
セスすると、オペレーティングシステム処理部3によっ
て異常が検出され、異常終了コード設定手段301は異
常終了コード設定領域20に異常終了コードF1を設定
した上でプログラム1を異常終了させる。異常終了コー
ド設定領域20に設定された異常終了コードFlは、異
常終了コード取得手段401によりて取得され、詳細解
析情報取得規則獲得手段402に通知される。詳細解析
情報取得規則獲得手段402は異常終了コード取得手段
401からの異常終了コードFlをキーとして詳細 。
When the disk file I10 is accessed outside the file area, the operating system processing unit 3 detects an abnormality, and the abnormal termination code setting means 301 sets the abnormal termination code F1 in the abnormal termination code setting area 20 and then starts the program 1. Terminate abnormally. The abnormal termination code Fl set in the abnormal termination code setting area 20 is acquired by the abnormal termination code acquisition means 401, and is notified to the detailed analysis information acquisition rule acquisition means 402. The detailed analysis information acquisition rule acquisition means 402 acquires details using the abnormal termination code Fl from the abnormal termination code acquisition means 401 as a key.

解析情報取得規則登録ファイル6をサーチし、異常終了
コードF1に対応した詳細解析情報取得規則+1.R1
,Sl、D2を獲得する。詳細解析情報取得手段403
は■1によって表されるセグメントの10と、レジスタ
R1に格納されているテーブルのセグメント内アドレス
と、Slによって表されるテーブルサイズとからI10
要求情報を得て、これとセグメント記述子レジスタD2
に格納されている記述子とからファイルの識別子と物理
アドレスとを取得する。そして、詳細解析情報編集出力
手段404は詳細解析情報取得手段403で取得したフ
ァイルの識別子と物理アドレスと■10要求情報テーブ
ルの内容とを編集し、異常終了コードFlの詳細解析情
報レポートとして出力する。
Search the analysis information acquisition rule registration file 6 and find the detailed analysis information acquisition rule +1 corresponding to the abnormal termination code F1. R1
, Sl, D2. Detailed analysis information acquisition means 403
is I10 from the segment 10 represented by ■1, the intra-segment address of the table stored in register R1, and the table size represented by Sl.
Obtain the request information and write this and segment descriptor register D2
The file identifier and physical address are obtained from the descriptor stored in the file. Then, the detailed analysis information editing and outputting means 404 edits the file identifier and physical address acquired by the detailed analysis information acquisition means 403, and the contents of the ■10 request information table, and outputs it as a detailed analysis information report with the abnormal termination code Fl. .

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、プログラムの異常終了
の種別を一意に表す異常終了コードに対応して詳細解析
情報取得規則が登録されている詳細解析情報取得規則登
録ファイルを備えており、プログラムの異常終了時、詳
細解析情報取得規則登録ファイルに登録されている詳細
解析情報取得規則の内の異常終了コード設定手段によっ
て設定された異常終了コードに対応して登録されている
詳細解析情報取得規則を取得し、この詳細解析情報取得
規則に従って異常終了原因の解析に必要となる情報を収
集するものであり、プログラムの異常終了の種別に応じ
て、異常終了原因の解析に必要となる情報を得ることが
できるものであるから、以下のような効果がある。
As described above, the present invention includes a detailed analysis information acquisition rule registration file in which detailed analysis information acquisition rules are registered corresponding to an abnormal termination code that uniquely represents the type of abnormal termination of a program. When the detailed analysis information acquisition rule is registered in the detailed analysis information acquisition rule registration file, the detailed analysis information acquisition rule is registered corresponding to the abnormal termination code set by the abnormal termination code setting means. This method collects the information necessary to analyze the cause of abnormal termination according to the detailed analysis information acquisition rules, and obtains the information necessary to analyze the cause of abnormal termination depending on the type of abnormal termination of the program. Because it can be done, it has the following effects.

■ プログラムの異常終了の種別毎に詳細解析に必要な
データは一般に異なるが、詳細解析情報取得規則登録フ
ァイル6の内容をそれに応じた内容としておくことによ
り、異常終了の原因解析に必要な情報のみを自動的に収
集することができるめで、迅速に異常原因を解析するこ
とが可能となる効果がある。
■ Generally, the data required for detailed analysis differs depending on the type of abnormal termination of a program, but by setting the contents of the detailed analysis information acquisition rule registration file 6 accordingly, only the information necessary for analyzing the cause of abnormal termination is possible. It is possible to automatically collect information, which has the effect of making it possible to quickly analyze the cause of the abnormality.

■ プログラム領域になくプログラムの異常時にダンプ
では得られないオペレーティングシステムの管理領域の
情報についても、詳細解析情報取得規則登録ファイル6
に登録しておけば、出力可能であり、障害解析に必要な
情報を全て得ることができるため、情報不足で解析でき
ないことがなるなる効果がある。
■ Detailed analysis information acquisition rule registration file 6 also contains information on the operating system management area that is not in the program area and cannot be obtained by dumping in the event of a program error.
If you register it in , you can output it and obtain all the information necessary for failure analysis, which has the effect of preventing analysis from being impossible due to lack of information.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例のブロック図、第2図は詳細解
析情報取得規則登録ファイル6の内容の一例を示す図及
び、 第3図は詳細解析情報取得規則登録ファイル6に格納さ
れている情報を説明するための図である。 図に於いて、1・・・プログラム、2・・・システム制
#1w!域、3・・・オペレーティングシステム処理部
、4・・・オペレーティングシステム異常終了処理部、
5・・・詳細解析情報取得規則登録手段、6・・・詳細
解析情報取得規則登録ファイル、20・・・異常終了コ
ード設定領域、301・・・異常終了コード設定手段、
401・・・異常終了コード取得手段、402・・・詳
細解析情報取得規則獲得手段、403・・・詳細解析情
報取得手段、404・・・詳細解析情報編集出力手段。
1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing an example of the contents of the detailed analysis information acquisition rule registration file 6, and FIG. 3 is a diagram showing an example of the contents of the detailed analysis information acquisition rule registration file 6. FIG. In the diagram, 1...Program, 2...System system #1w! area, 3... operating system processing unit, 4... operating system abnormal termination processing unit,
5...Detailed analysis information acquisition rule registration means, 6...Detailed analysis information acquisition rule registration file, 20...Abnormal termination code setting area, 301...Abnormal termination code setting means,
401: Abnormal termination code acquisition means, 402: Detailed analysis information acquisition rule acquisition means, 403: Detailed analysis information acquisition means, 404: Detailed analysis information editing output means.

Claims (1)

【特許請求の範囲】 コンピュータシステムで実行されるプログラムを異常終
了させることが必要となる異常がオペレーティングシス
テムの実行中に検出された場合、異常終了の種別を一意
に表す異常終了コードを前記プログラムのシステム制御
領域に設定して前記プログラムを異常終了させる異常終
了コード設定手段と、 前記プログラムの異常終了の詳細な原因解析に必要とな
る詳細解析情報を収集するための詳細解析情報取得規則
が異常終了コードに対応して予め登録されている詳細解
析情報取得規則登録ファイルと、 オペレーティングシステムの前記プログラムの異常終了
処理に於いて、前記プログラムのシステム制御領域に設
定されている異常終了コードを取得する異常終了コード
取得手段と、 前記詳細解析情報取得規則登録ファイルから前記異常終
了コード取得手段で得られた異常終了コードに対応する
詳細解析情報取得規則を獲得する詳細解析情報取得規則
獲得手段と、 該詳細解析情報取得規則獲得手段で獲得された詳細解析
情報取得規則に従って詳細解析情報を取得する詳細解析
情報取得手段と、 前記詳細解析情報取得手段により取得された詳細解析情
報を異常終了詳細解析情報として出力する詳細解析情報
出力手段とから構成されることを特徴とするプログラム
異常終了時の原因解析情報収集方式。
[Claims] When an abnormality that requires abnormal termination of a program executed in a computer system is detected during execution of the operating system, an abnormal termination code uniquely representing the type of abnormal termination is set for the program. an abnormal termination code setting means that is set in a system control area to cause the program to terminate abnormally; and a detailed analysis information acquisition rule for collecting detailed analysis information necessary for detailed analysis of the cause of the abnormal termination of the program that terminates abnormally. A detailed analysis information acquisition rule registration file registered in advance corresponding to the code, and an abnormality that acquires the abnormal termination code set in the system control area of the program in the abnormal termination processing of the program of the operating system. termination code acquisition means; detailed analysis information acquisition rule acquisition means for acquiring a detailed analysis information acquisition rule corresponding to the abnormal termination code obtained by the abnormal termination code acquisition means from the detailed analysis information acquisition rule registration file; detailed analysis information acquisition means for acquiring detailed analysis information according to the detailed analysis information acquisition rule acquired by the analysis information acquisition rule acquisition means; and outputting the detailed analysis information acquired by the detailed analysis information acquisition means as abnormal termination detailed analysis information. and a means for outputting detailed analysis information.
JP62021310A 1987-01-31 1987-01-31 System for collecting information on cause analysis at end of abnormal program Pending JPS63189949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62021310A JPS63189949A (en) 1987-01-31 1987-01-31 System for collecting information on cause analysis at end of abnormal program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62021310A JPS63189949A (en) 1987-01-31 1987-01-31 System for collecting information on cause analysis at end of abnormal program

Publications (1)

Publication Number Publication Date
JPS63189949A true JPS63189949A (en) 1988-08-05

Family

ID=12051575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62021310A Pending JPS63189949A (en) 1987-01-31 1987-01-31 System for collecting information on cause analysis at end of abnormal program

Country Status (1)

Country Link
JP (1) JPS63189949A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0449428A (en) * 1990-06-19 1992-02-18 Fujitsu Ltd Method for processing abnormal end
JPH09297679A (en) * 1996-05-02 1997-11-18 Nec Corp System and method for managing terminal software
US6202177B1 (en) 1996-12-20 2001-03-13 Nec Corporation Error information reporting system for an error monitoring system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0449428A (en) * 1990-06-19 1992-02-18 Fujitsu Ltd Method for processing abnormal end
JPH09297679A (en) * 1996-05-02 1997-11-18 Nec Corp System and method for managing terminal software
US6202177B1 (en) 1996-12-20 2001-03-13 Nec Corporation Error information reporting system for an error monitoring system

Similar Documents

Publication Publication Date Title
US7284238B2 (en) Multithread tracing method and apparatus
US20110307488A1 (en) Information processing apparatus, information processing method, and program
JP2557239B2 (en) In-program data name standardization method
US7085782B2 (en) Log grooming in a multi-log environment
JPS63189949A (en) System for collecting information on cause analysis at end of abnormal program
EP2587380B1 (en) Runtime environment and method for non-invasive monitoring of software applications
JP3547691B2 (en) Job inspection apparatus, job inspection method, and recording medium recording job inspection program
CN112925856B (en) Entity relationship analysis method, entity relationship analysis device, entity relationship analysis equipment and computer storage medium
JP2675088B2 (en) Information collection method
JPS6270944A (en) Collecting system for trace information
JP2885907B2 (en) Online processing time analysis method
JP2669128B2 (en) Language processing system
JP3122988B2 (en) Key value inquiry system
Collofello et al. Syntactic information useful for software maintenance
CN117951713A (en) Automatic generation method and system for abnormal sample data set for vulnerability classification evaluation
JPH02304640A (en) Memory dump collecting system
JPH0256647A (en) File state tracking processing system
JP2892663B2 (en) Autonomous failure diagnosis type analysis method
JPS63298542A (en) Analysis information collecting system after ending abnormality of system
JPH01305446A (en) Program debug support processing system
JPS62235653A (en) Data base migrating system
JPH04369706A (en) Terminal function key input system
JPH04186445A (en) Automatic analytical system for system performance
JPH02287638A (en) Analyzing system for transaction operating state
JPH01166146A (en) High-speed collecting system for log information