JPH03246643A - Processing for editing dump summary - Google Patents

Processing for editing dump summary

Info

Publication number
JPH03246643A
JPH03246643A JP2043482A JP4348290A JPH03246643A JP H03246643 A JPH03246643 A JP H03246643A JP 2043482 A JP2043482 A JP 2043482A JP 4348290 A JP4348290 A JP 4348290A JP H03246643 A JPH03246643 A JP H03246643A
Authority
JP
Japan
Prior art keywords
information
task
dump
control block
tcb
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
JP2043482A
Other languages
Japanese (ja)
Inventor
Katsuto Tayama
田山 克人
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2043482A priority Critical patent/JPH03246643A/en
Publication of JPH03246643A publication Critical patent/JPH03246643A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent necessary information from being leaked by detecting a task being executed at the time of dumping the contents of a memory and adding the relational information of the task to a summary list. CONSTITUTION:The relational information of the task being executed at the time of dumping the contents of the memory is added to the summary list. Namely, in the case of forming the summary list 3 from a dump file 2, an editing program 1 detects a task control block (TCB) whose completion code is other than a normal end value from dump information and extracts information having the prescribed relation with the TCB. When the completion code is the normal end value, an execution request control block (RB) relating to the TCB is retrieved, and at the time of detecting a record inditacting the execution of a prescribed dump program in the RB, the relational information of the TCB is extracted. The extracted information is edited to form the summary list. Thus, data important for retrieving the cause of an abnormal state can be prevented from being leaked from the summary list.

Description

【発明の詳細な説明】 〔概 要〕 計算機のダンプ情報から所要情報を抽出してダンプサマ
リに編集するための処理に関し、メモリ内容のダンプを
とった時に実行されていたタスクを検出して、そのタス
クの関連情報をサマリリストに加えて、必要情報の脱落
を防ぐようにしたダンプサマリ編集処理方法を目的とし
、所与のダンプ情報から、完了コードが所定の正常終了
値以外であるタスク制御ブロックを検出して、当該タス
ク制御ブロックに所定の関連を有する情報を抽出し、該
完了コードが該正常終了値である場合には、当該タスク
制御ブロックにつながり、当該タスクで実行したプログ
ラムの情報を実行順に示す実行要求制御ブロックを検索
し、該実行要求制御ブロックに所定のダンププログラム
を実行した記録を検出した場合には、該タスク制御ブロ
ックに所定の関連を有する情報を抽出し、該抽出した情
報を編集して所定形式のサマリリストを作成するように
構成する。
[Detailed Description of the Invention] [Summary] Regarding the process of extracting necessary information from dump information of a computer and editing it into a dump summary, the task that was being executed when the memory contents were dumped is detected, and the The purpose of this dump summary editing processing method is to add task-related information to the summary list and prevent necessary information from being omitted.The task control block whose completion code is other than the predetermined normal completion value is extracted from the given dump information. Detect and extract information having a predetermined relationship with the task control block, and if the completion code is the normal completion value, connect to the task control block and execute the information of the program executed in the task. The execution request control blocks shown in order are searched, and if a record of execution of a predetermined dump program is detected in the execution request control block, information having a predetermined relationship with the task control block is extracted, and the extracted information is searched for. , and create a summary list in a predetermined format.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機のダンプ情報から所要情報を抽出して
サマリリストに編集するための処理、特に必要情報の抽
出洩れを防いだダンプサマリ編集処理方法に関する。
The present invention relates to a process for extracting necessary information from dump information of a computer and editing it into a summary list, and particularly to a dump summary editing processing method that prevents omission of extraction of necessary information.

〔従来の技術と発明が解決しようとする課題〕計算機で
実行するジョブが異常状態であることを、例えば利用者
が検出した場合に、所定のコマンドを入力して、いlわ
ゆるメモリダンプを行い、異常状態の情報を保存する。
[Prior art and the problem to be solved by the invention] For example, when a user detects that a job to be executed on a computer is in an abnormal state, the user inputs a predetermined command to perform a so-called memory dump. and save the abnormal state information.

メモリダンプでは、ダンププログラムが起動されて、そ
の時の主記憶領域の記憶内容をすべて磁気ディスク記憶
装置等に書き出して、ダンプファイルを作成する。
In a memory dump, a dump program is started and all the contents stored in the main storage area at that time are written out to a magnetic disk storage device or the like to create a dump file.

利用者がその後、異常状態の原因探索のために、ダンプ
ファイルの内容を調べる場合に、一般にダンプファイル
の全情報は膨大な量なので、例えば第2図に示すように
先ずダンプサマリを作る編集プログラム1によって、ダ
ンプファイル2の内容から異常状態に関連する情報を抽
出し、サマリリスト3として印刷出力して利用する。
When a user subsequently examines the contents of a dump file in order to find the cause of an abnormal condition, the total amount of information in the dump file is generally enormous, so for example, as shown in Figure 2, first the editing program 1 that creates a dump summary is used. The information related to the abnormal state is extracted from the contents of the dump file 2, and is printed out and used as a summary list 3.

このための情報抽出条件としてタスク制御ブロック(T
CBとする)の完了コードを使用し、編集プログラム1
はダンプファイル2の情報を読み出して、主記憶領域の
一定アドレスから始まるタスク制御ブロックを順次検索
し、タスク制御ブロック中の一定の項にある完了コード
をチエツクし、完了コードの値がタスクの正常終了を示
す0のものを除き、0以外の値を持つ場合に、当該タス
ク制御ブロックから指示される、当タスクの各種制御表
から所定の情報を抽出し、該当する各タスクについて、
例えば第3図に示すようなサマリリストに編集する。
The information extraction condition for this purpose is the task control block (T
Edit program 1 using the completion code of CB)
reads the information in dump file 2, sequentially searches the task control blocks starting from a certain address in the main memory area, checks the completion code in a certain section in the task control block, and checks if the completion code value indicates that the task is normal. Excluding 0 indicating completion, if the value is other than 0, predetermined information is extracted from the various control tables for this task as instructed by the task control block, and for each applicable task,
For example, edit the summary list as shown in FIG.

TCBは公知のように、計算機で実行されるジョブの実
行管理単位であるタスクごとに、当該タスクのための各
種制御情報を保持するブロックであり、その中に完了コ
ードの設定項があって、初期値をOとし、各プログラム
の完了時にシステムのタスク管理機能によって、終了状
態に応じた所定の値が設定され、正常終了は0とする。
As is well known, the TCB is a block that holds various control information for each task, which is the execution management unit of a job executed on a computer, and includes a completion code setting item. The initial value is 0, and upon completion of each program, a predetermined value is set according to the termination state by the task management function of the system, and 0 indicates normal termination.

各TCBには、第4図に示すように実行要求制御ブロッ
ク(RBとする)がリンクされる。各RBは当タスクで
実行中又は実行された各プログラムに対応して設けられ
、最近実行の現プログラムのRBがTCBの直後につな
がり、直前に実行されていて、制御を現プログラムに渡
したプログラムがあるときは、そのプログラムのRBは
現プログラムのRBの次につながる。各RBには、プロ
グラムを指示する情報、そのプログラムの完了コード、
レジスタ退避領域その他を持つ。
An execution request control block (referred to as RB) is linked to each TCB as shown in FIG. Each RB is provided corresponding to each program that is being executed or has been executed in this task, and the RB of the recently executed current program is connected immediately after the TCB, and the program that was executed immediately before and passed control to the current program. If there is, the RB of that program is connected to the next RB of the current program. Each RB contains information that instructs the program, a completion code for that program,
Has register save area and other areas.

計算機で実行するジョブが、いわゆるループ或いはウェ
イト状態に入ることは、正常な処理状態でもプログラム
によって起こり得るが、又プログラムに関わらず、何等
かのエラーによってループ或いはウェイト状態になるこ
とがある。
A job executed by a computer may enter a so-called loop or wait state due to a program even in a normal processing state, but it may also enter a loop or wait state due to some kind of error regardless of the program.

そこで利用者は、計算機を監視して、予定しないループ
或いはウェイト状態が起こったり、その状態が異常に長
く続く場合には、異常状態が発生している可能性がある
ので、メモリダンプを採取して調査することがしばしば
あり、利用者は前記のように所定のコマンドを入力して
要求すると、実行中のタスクのTCBにダンププログラ
ムのRBを接続して、ダンププログラムが起動されてメ
モリダンプを実行する。
Therefore, the user should monitor the computer and if an unexpected loop or wait state occurs, or if the state continues for an abnormally long time, an abnormal state may have occurred, so the user should collect a memory dump. When the user requests this by inputting a predetermined command as described above, the dump program's RB is connected to the TCB of the task being executed, and the dump program is started and performs a memory dump. Execute.

このような状況で作成されたダンプファイルから、前記
のサマリリストを作成すると、異常状態を示していたタ
スクに関する情報がサマリリストから除かれる場合がし
ばしばある。これは、当該タスクが実行中であって、そ
の前に異常終了したプログラムが無いために、TCBの
完了コードが0であり、従って前記により情報抽出の対
象でないとされるーからである。その結果、サマリリス
トの情報では異常状態の原因を探索できず、ダンプファ
イルの膨大な内容を印刷出力して調べなければならなく
なるという問題がある。
When the above-mentioned summary list is created from a dump file created in such a situation, information regarding the task that was in an abnormal state is often removed from the summary list. This is because the task is currently being executed and no program has terminated abnormally before it, so the completion code of the TCB is 0, and therefore the task is not a target for information extraction as described above. As a result, it is not possible to search for the cause of an abnormal state using the information in the summary list, and it becomes necessary to print out and investigate the enormous contents of the dump file.

本発明は、メモリ内容のダンプをとった時点に実行され
ていたタスクを検出して、そのタスクの関連情報をサマ
リリストに加えて、必要情報の脱落を防ぐようにしたダ
ンプサマリ編集処理方法を目的とする。
An object of the present invention is to provide a dump summary editing processing method that detects a task that was being executed at the time when the memory contents were dumped, and adds information related to that task to a summary list to prevent necessary information from being omitted. shall be.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.

図はダンプサマリ編集処理方法の処理の流れを示し、処
理ステップ11.12で所与のダンプ情報から、完了コ
ードが所定の正常終了値以外であるタスク制御ブロック
を検出して、処理ステップ13で当該タスク制御ブロッ
クに所定の関連を有する情報を抽出し、処理ステップ1
1.12で該完了コードが該正常終了値である場合には
く処理ステップ14で当該タスク制御ブロックにつなが
り、当該タスクで実行したプログラムの情報を実行順に
示す実行要求制御ブロックを検索し、該実行要求制御ブ
ロックに所定のダンププログラムを実行した記録を検出
した場合には、処理ステップ15で該タスク制御ブロッ
クに所定の関連を有する情報を抽出し、処理ステップ1
6で該抽出した情報を編集して所定形式のサマリリスト
を作成する。
The figure shows the processing flow of the dump summary editing processing method, in which a task control block whose completion code is other than a predetermined normal completion value is detected from the given dump information in processing step 11.12, and the corresponding task control block is detected in processing step 13. Extracting information having a predetermined relationship to the task control block, processing step 1
1. If the completion code is the normal completion value in step 12, search for an execution request control block that connects to the task control block and shows information on programs executed in the task in the order of execution, and If a record of execution of a predetermined dump program is detected in the execution request control block, information having a predetermined relationship to the task control block is extracted in processing step 15, and the process proceeds to processing step 1.
In step 6, the extracted information is edited to create a summary list in a predetermined format.

〔作 用〕[For production]

本発明の処理方法により、ループやウェイト状態のとき
メモリダンプを採取されたタスクは、完了コードが正常
終了を示す0であっても、そのタスクの関連情報がサマ
リリストに抽出されるので、異常状態の原因探索に重要
なデータがサマリリストから洩れないようになる。
With the processing method of the present invention, even if the completion code of a task for which a memory dump is collected while in a loop or wait state is 0, indicating normal completion, the related information of the task is extracted to the summary list, so it is possible to This prevents important data from being omitted from the summary list when searching for the cause of a condition.

〔実施例〕〔Example〕

ダンプファイルからサマリリストを作成する場合に、編
集プログラムは第1図の処理ステップ11で、メモリダ
ンプを読み込んでTCBに順次アクセスし、処理ステッ
プ12でその完了コードを識別する。
When creating a summary list from a dump file, the editing program reads the memory dump and sequentially accesses the TCB in processing step 11 of FIG. 1, and identifies its completion code in processing step 12.

完了コードが0でなければ、処理ステップ13でそのT
CB及びTCBにつながる制御情報から所定の制御情報
を抽出し、又そのTCBにつながるRBをたどって、通
常その先頭にあるタスク中断処理プログラムのRBを検
出すると、その次のRBで指示されるプログラムの実行
中に異常が発生したと考えられるので、そのRBと、更
につながるRBがある場合には後続する複数個のRBと
について、各RBとそれにつながる制御情報から所定の
情報を抽出する。
If the completion code is not 0, the T
When predetermined control information is extracted from the control information connected to the CB and TCB, and the RB connected to the TCB is traced to detect the RB of the task interruption processing program that is usually at the beginning, the program instructed by the next RB is detected. Since it is considered that an abnormality has occurred during the execution of the RB, predetermined information is extracted from the control information connected to each RB and the subsequent RBs if there are further connected RBs.

処理ステップ12で完了コードが0であれば、処理ステ
ップ14で、そのTCBにつながるRBをたどる。この
TCBが中断してダンプを採ったタスクのTCBであれ
ば、例えば第4図に例示するように、先頭に例えばダン
ププログラムから呼ばれてダンプファイルを作成したプ
ログラムのRBがあり、次にダンプ処理の起動プログラ
ムのRBがあり、このRBにはコマンド入力によってタ
スクを中断して設定されたRBであることを示す所定の
フラグが立っているので、ダンププログラムのRBであ
ることを識別することができる。
If the completion code is 0 in processing step 12, then in processing step 14 the RBs connected to the TCB are traced. If this TCB is the TCB of a task that was interrupted and a dump was taken, for example, as shown in Figure 4, the RB of the program that was called from the dump program and created the dump file is at the beginning, and then the There is an RB for the processing startup program, and this RB has a predetermined flag indicating that it is an RB that was set by interrupting the task by command input, so it is possible to identify that it is the RB for the dump program. I can do it.

そこで、処理ステップ15に進んで、このタスクの情報
を抽出する。この処理は処理ステップ13の場合と略同
様であるが、RBについては、前記の検出したダンププ
ログラムのRBの次につながるRBが異常を起こしたプ
ログラムのRBと考えられるので、そのRBと、後続す
る複数個のRBとに関する情報を前記のように抽出する
Therefore, the process proceeds to step 15 to extract information about this task. This process is almost the same as the case of process step 13, but regarding the RB, since the RB following the RB of the dump program detected above is considered to be the RB of the program that caused the abnormality, that RB and the subsequent RB The information regarding the plurality of RBs is extracted as described above.

以上のように処理ステップ13又は15で情報を抽出す
ると、処理ステップ16でその情報を、例えば第3図に
示すサマリリストのように編集した後、処理ステップ1
7で識別して、アクセスしていないTCBがあれば処理
ステップ11に戻り、全TCBにアクセスしていれば処
理を終わる。
When information is extracted in processing step 13 or 15 as described above, the information is edited in processing step 16, for example, as a summary list shown in FIG.
7, if there is a TCB that has not been accessed, the process returns to step 11, and if all TCBs have been accessed, the process ends.

なお、処理ステップ14で、完了コードOのTCBにつ
ながるRBすべでたどって、ダンププログラムのRBが
無いと判った場合には、このTCBのタスクは真に正常
な状態であったと考えてよく、このタスクの情報は不要
なので、直ちに処理ステップ17に進む。
In addition, in processing step 14, if all RBs connected to the TCB with completion code O are found and it is found that there is no RB for the dump program, it can be considered that the task of this TCB was truly in a normal state. Since this task information is unnecessary, the process immediately proceeds to step 17.

第3図のサマリリストで、第1行はTCBの完了コード
、第2行はTCB関連の抽出情報、第3〜第5行は3個
までの各RB関連の抽出情報で構成されている。
In the summary list shown in FIG. 3, the first line is a TCB completion code, the second line is TCB-related extracted information, and the third to fifth lines are each up to three RB-related extracted information.

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

以上の説明から明らかなように本発明によれば、計算機
のダンプ情報から所要情報を抽出してダンプサマリに編
集するための処理で、メモリ内容のダンプをとった時点
に実行されていたタスクを検出して、そのタスクの関連
情報をサマリリストに加えることにより、必要情報の洩
れを無くすので、特にプログラムの実行で異常なループ
やウェイト状態を生じた原因の探索における作業効率を
向上するという著しい工業的効果がある。
As is clear from the above description, according to the present invention, in the process of extracting required information from dump information of a computer and editing it into a dump summary, tasks that were being executed at the time the memory contents were dumped are detected. By adding information related to that task to the summary list, it eliminates the omission of necessary information, which is a significant industrial improvement that improves work efficiency, especially when searching for the cause of abnormal loops or wait states during program execution. It has a positive effect.

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

第1図は本発明の構成を示す処理の流れ図、第2図はサ
マリリスト作成システムのブロック図、第3図はサマリ
リストの説明図、 第4図はTCBとRBの説明図である。 図において、 1は編集プログラム、  2はダンプファイル、3はサ
マリリスト、  11〜17は処理ステップを示す。
FIG. 1 is a process flowchart showing the configuration of the present invention, FIG. 2 is a block diagram of a summary list creation system, FIG. 3 is an explanatory diagram of the summary list, and FIG. 4 is an explanatory diagram of TCB and RB. In the figure, 1 is an editing program, 2 is a dump file, 3 is a summary list, and 11 to 17 are processing steps.

Claims (1)

【特許請求の範囲】 所与のダンプ情報から、完了コードが所定の正常終了値
以外であるタスク制御ブロックを検出して、当該タスク
制御ブロックに所定の関連を有する情報を抽出し(11
〜13)、 該完了コードが該正常終了値である場合には、当該タス
ク制御ブロックにつながり、当該タスクで実行したプロ
グラムの情報を実行順に示す実行要求制御ブロックを検
索し、 該実行要求制御ブロックに所定のダンププログラムを実
行した記録を検出した場合には、該タスク制御ブロック
に所定の関連を有する情報を抽出し(11、12、14
、15)、 該抽出した情報を編集して所定形式のサマリリストを作
成する(16)ことを特徴とするダンプサマリ編集処理
方法。
[Scope of Claims] A task control block whose completion code is other than a predetermined normal completion value is detected from given dump information, and information having a predetermined relationship to the task control block is extracted (11
~13) If the completion code is the normal completion value, search for an execution request control block that is connected to the task control block and indicates information on programs executed in the task in the order of execution, and search for the execution request control block. If a record of execution of a predetermined dump program is detected, information having a predetermined relationship to the task control block is extracted (11, 12, 14).
, 15) A dump summary editing processing method, comprising: editing the extracted information to create a summary list in a predetermined format (16).
JP2043482A 1990-02-23 1990-02-23 Processing for editing dump summary Pending JPH03246643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2043482A JPH03246643A (en) 1990-02-23 1990-02-23 Processing for editing dump summary

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2043482A JPH03246643A (en) 1990-02-23 1990-02-23 Processing for editing dump summary

Publications (1)

Publication Number Publication Date
JPH03246643A true JPH03246643A (en) 1991-11-05

Family

ID=12664946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2043482A Pending JPH03246643A (en) 1990-02-23 1990-02-23 Processing for editing dump summary

Country Status (1)

Country Link
JP (1) JPH03246643A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008197993A (en) * 2007-02-14 2008-08-28 Lac Co Ltd Information processing system
US8185126B2 (en) 2006-08-16 2012-05-22 Ntt Docomo, Inc. Communication control method, radio base station, and radio control station

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8185126B2 (en) 2006-08-16 2012-05-22 Ntt Docomo, Inc. Communication control method, radio base station, and radio control station
JP2008197993A (en) * 2007-02-14 2008-08-28 Lac Co Ltd Information processing system

Similar Documents

Publication Publication Date Title
JP3270216B2 (en) File name detection method
JP2000259456A (en) File revision management system
JPH03246643A (en) Processing for editing dump summary
US5860098A (en) Process for running a computer program subject to interrupt
JP2624170B2 (en) Logical deletion data physical deletion method
JP2002366396A (en) System and program for automatically collecting fault analysis information
JPH0713817A (en) File management system
JPH1040123A (en) System and method for job management
JPH05143422A (en) Updated journal managing system
JPH05127953A (en) Dump summary editing processing method
JPH0675957A (en) Restoration mechanism of fault during editing
JPH02109147A (en) Memory dump collection system
JP3079825B2 (en) Electronic computer equipment
JPH05100935A (en) Data base managing system
JP3130870B2 (en) Memory dump file reconstruction method
JP2937636B2 (en) Logic simulator method
JP2528882B2 (en) Fallback operation method in case of memory failure
JPH06187217A (en) System for synchronization between data base and normal file
JPH03233634A (en) Job reprocessing system
JPH02242447A (en) Memory dump collecting system
JPH08314766A (en) Information processor
JPS6362007B2 (en)
JPH05257761A (en) Damp output control system
JPH04181367A (en) Data processor
JPH02158842A (en) Fault recovery method for job in updating system