JPH06282467A - Trace information output processing system - Google Patents

Trace information output processing system

Info

Publication number
JPH06282467A
JPH06282467A JP4119380A JP11938092A JPH06282467A JP H06282467 A JPH06282467 A JP H06282467A JP 4119380 A JP4119380 A JP 4119380A JP 11938092 A JP11938092 A JP 11938092A JP H06282467 A JPH06282467 A JP H06282467A
Authority
JP
Japan
Prior art keywords
information
trace information
trace
memory
file
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.)
Withdrawn
Application number
JP4119380A
Other languages
Japanese (ja)
Inventor
Wataru Dounai
亙 洞内
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 JP4119380A priority Critical patent/JPH06282467A/en
Publication of JPH06282467A publication Critical patent/JPH06282467A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To refers to trace information right before fault occurrence in an edited state and to decrease the operation man-hours for fault cause analysis by outputting information in a trace information area on a document when program abnormality which is not set in a trace file occurs. CONSTITUTION:In off-line mode, a user indicates the output of trace information, obtained in off-line mode, to a trace information output part 7. A file editing output part 71 inputs the information of the trace file 3 according to the indication from the user and outputs the trace information on the document. Further, a memory information editing output part 72 inputs the information of a memory information saving file 8 according to an input indication from a console 1 and outputs the trace information on a document. Consequently, the trace information right before the fault occurrence can be referred to in the edited state.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はトレース情報出力処理方
式に関し、特にオンラインシステムでのプログラム異常
の発生直前のトレース情報を出力するトレース情報出力
処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a trace information output processing method, and more particularly to a trace information output processing method for outputting trace information immediately before a program abnormality occurs in an online system.

【0002】[0002]

【従来の技術】近年、情報処理装置は、より高度で複雑
なシステム環境下で使用されることが多くなってきてお
り、これの保守運用作業に掛かる工数が大きくなってい
る。このため、特にシステムの障害発生時に原因解析等
の迅速かつ正確な対応が要求される作業に対しては、オ
ンライン処理トレース情報の収集機能がサポートされて
いる。
2. Description of the Related Art In recent years, information processing apparatuses have been increasingly used in higher and more complex system environments, and the number of man-hours required for maintenance and operation of the information processing apparatuses has increased. For this reason, the online processing trace information collecting function is supported especially for the work that requires quick and accurate response such as cause analysis when a system failure occurs.

【0003】従来のトレース情報出力処理方式では、主
記憶内のトレース情報一時退避域が、オンライン処理中
に収集されたトレース情報で一杯になるのを契機として
外部記憶装置上に設けられたトレースファイルに、順次
格納していくようになっている。又、オンライン処理が
正常終了した場合には、トレース情報一時退避域がトレ
ース情報で一杯になっていなくても、終了までの情報を
トレースファイルに格納する。このため、オンライン時
にトレースファイルに格納済のトレース情報を帳票出力
することにより、オンライン中に収集された最新のトレ
ース情報を参照することができる。しかしながら、オン
ライン処理中にシステムダウンした場合、この時点でト
レース情報一時退避域に収集したトレース情報は消滅し
てしまうため従来のトレース情報出力処理方式では、す
でにトレースファイルに格納済のトレース情報は参照で
きるが、障害発生直前の最新トレース情報は参照するこ
とができない。
In the conventional trace information output processing method, the trace file provided on the external storage device is triggered by the fact that the trace information temporary save area in the main memory is filled with the trace information collected during the online processing. Then, the data is sequentially stored. When the online processing ends normally, the information up to the end is stored in the trace file even if the trace information temporary save area is not full of trace information. Therefore, the latest trace information collected while online can be referred to by outputting the trace information stored in the trace file in the form of online. However, if the system goes down during online processing, the trace information collected in the trace information temporary save area will be lost at this point. With the conventional trace information output processing method, the trace information already stored in the trace file can be referenced. However, the latest trace information immediately before the failure cannot be referenced.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のトレー
ス情報出力処理方式は、障害発生直前のトレース情報が
トレースファイルから参照できないという問題点があ
る。又、これを救済するため、外部記憶装置に退避した
メモリ情報をすべて出力して参照することも考えられる
が、この場合にはトレース情報のみを編集出力できない
ので実際のトレースは非常に困難であるという別の問題
点がある。
The above-mentioned conventional trace information output processing method has a problem that the trace information immediately before the occurrence of a failure cannot be referred from the trace file. In order to remedy this, it is conceivable to output and refer to all the memory information saved in the external storage device, but in this case only the trace information cannot be edited and output, so actual tracing is extremely difficult. There is another problem.

【0005】本発明の目的は障害発生直前のトレース情
報を編集済の状態で参照することを可能とし、障害原因
解析の作業工数を削減できるトレース情報出力処理方式
を提供すること。
It is an object of the present invention to provide a trace information output processing method which makes it possible to refer to the trace information immediately before the occurrence of a failure in an edited state and reduce the number of man-hours for analyzing the cause of the failure.

【0006】[0006]

【課題を解決するための手段】本発明のトレース情報出
力処理方式は、オンライン処理中にパラメータ情報を含
むトレース情報をメモリ中に逐次取得する機能を持つオ
ンラインシステムのトレース情報出力処理方式におい
て、外部から入力する指示に従い前記トレース情報を取
得し前記メモリ内に設けたトレース情報域に格納するト
レース情報取得制御部と、前記トレース情報域に設定し
たトレース情報を外部に設けたトレースファイルに書込
むよう制御するメモリ管理部と、プログラム異常検出部
でのプログラムの異常の検出時に前記メモリ内に格納済
の全メモリ情報を外部に設けたメモリ情報退避ファイル
に書込む全メモリ出力部と、前記メモリ情報退避ファイ
ル内に書込んだ全メモリ情報を編集出力させるメモリ情
報編集出力部とを備えることにより、前記プログラムの
異常の検出時に障害原因解析に必要なプログラム異常の
発生直前までに取得したトレース情報を編集し出力させ
る構成である。
A trace information output processing method according to the present invention is a trace information output processing method for an online system having a function of sequentially acquiring trace information including parameter information in a memory during online processing. A trace information acquisition control unit that acquires the trace information according to an instruction input from and stores it in a trace information area provided in the memory, and write the trace information set in the trace information area to an externally provided trace file. A memory management unit to control, an all-memory output unit that writes all memory information stored in the memory to an externally provided memory information save file when the program abnormality detection unit detects a program abnormality, and the memory information Equipped with a memory information edit output unit that edits and outputs all memory information written in the save file The Rukoto a configuration for editing the trace information acquired by program error occurred immediately before the required detection time of the failure cause analysis of the abnormal output of the program.

【0007】[0007]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0008】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of an embodiment of the present invention.

【0009】トレース情報取得制御部2は、コンソール
1の入力するトレース情報取得指示に従い、オンライン
処理中のトレース情報をメモリ5内のトレース情報域5
1に取得する。メモリ管理部4はトレース情報域51が
トレース情報により一杯になるのを契機として、トレー
ス情報域51のトレース情報の外部に設けたトレースフ
ァイル3への出力を行う。全メモリ出力部6は、プログ
ラムの異常が発生した場合に、あらかじめ具備されてい
るプログラム異常検出部9からの指示により、メモリ5
の全情報のメモリ情報退避ファイル8への出力処理を行
う。
The trace information acquisition control unit 2 follows the trace information acquisition instruction input from the console 1 and stores the trace information being processed online in the trace information area 5 in the memory 5.
Get to 1. The memory management unit 4 outputs the trace information in the trace information area 51 to the trace file 3 provided outside when the trace information area 51 is filled with the trace information. When a program abnormality occurs, the all-memory output unit 6 receives an instruction from the program abnormality detection unit 9 that is provided in advance, and the memory 5 outputs
The output processing of all the information of (1) to the memory information save file 8 is performed.

【0010】オフライン時、利用者は、トレース情報出
力部7に対してオフライン中に取得したトレース情報の
出力指示を行う。ファイル編集出力部71は、利用者か
らの指示に従い、トレースファイルの情報を入力情報と
してトレース情報の帳票出力処理を行う。メモリ情報編
集出力部72は、コンソール1の入力する指示に従い、
メモリ情報退避ファイル8の情報を入力情報としてトレ
ース情報の帳票出力処理を行う。これにより障害発生直
前のトレース情報を編集済の状態で参照することが可能
となる。
When offline, the user instructs the trace information output unit 7 to output the trace information acquired while offline. The file edit / output unit 71 performs a trace information form output process using the information of the trace file as input information according to the instruction from the user. The memory information edit output unit 72 follows the instruction input from the console 1,
A form output process of trace information is performed using the information in the memory information save file 8 as input information. As a result, it becomes possible to refer to the trace information immediately before the occurrence of the failure in the edited state.

【0011】次に、動作について説明する。Next, the operation will be described.

【0012】図2はメモリ情報退避ファイルにおけるト
レース情報検索処理の動作を説明する説明図である。
FIG. 2 is an explanatory diagram for explaining the operation of the trace information search processing in the memory information save file.

【0013】まずメモリ内相対アドレスをキーに、固定
位置として管理しているトレース情報退避域管理情報ア
ドレス21を検索する。次にこの検索したアドレス値で
あるメモリ内相対B番地を元にトレース情報退避域管理
情報22を検索し、さらに検索したトレース情報退避域
アドレス221のメモリ内相対C番地を元にトレース情
報退避域23を検索する。
First, the trace information save area management information address 21 which is managed as a fixed position is searched by using the in-memory relative address as a key. Next, the trace information save area management information 22 is searched based on the searched relative address B in the memory, and the trace information save area is further searched based on the searched relative address C in the memory of the trace information save area address 221. Search for 23.

【0014】最新トレース情報出力処理時には、検索し
たトレース情報退避域23の先頭から、最大トレース情
報退避域長222分のトレース情報を帳票出力の対象と
する。
At the time of the latest trace information output processing, the trace information of the maximum trace information save area length 222 from the beginning of the retrieved trace information save area 23 is the object of form output.

【0015】[0015]

【発明の効果】以上説明した様に本発明は、トレースフ
ァイルに設定されないプログラム異常の発生時のトレー
ス情報域の情報を帳票出力できるので、障害発生直前の
トレース情報を編集済の状態で参照することが可能とな
り、障害原因解析の作業工数を削減できるという効果が
ある。
As described above, according to the present invention, since the information in the trace information area at the time of the occurrence of a program error not set in the trace file can be output as a form, the trace information immediately before the occurrence of the failure is referred to in the edited state. Therefore, there is an effect that the man-hours for failure cause analysis can be reduced.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】メモリ情報退避ファイルにおけるトレース情報
検索処理の動作を説明する説明図である。
FIG. 2 is an explanatory diagram illustrating an operation of a trace information search process in a memory information save file.

【符号の説明】[Explanation of symbols]

1 コンソール 2 トレース情報取得制御部 3 トレースファイル 4 メモリ管理部 5 メモリ 6 全メモリ出力部 7 トレース情報出力部 8 メモリ情報退避ファイル 51 トレース情報域 71 ファイル編集出力部 72 メモリ情報編集出力部 1 console 2 trace information acquisition control unit 3 trace file 4 memory management unit 5 memory 6 total memory output unit 7 trace information output unit 8 memory information save file 51 trace information area 71 file edit output unit 72 memory information edit output unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 オンライン処理中にパラメータ情報を含
むトレース情報をメモリ中に逐次取得する機能を持つオ
ンラインシステムのトレース情報出力処理方式におい
て、外部から入力する指示に従い前記トレース情報を取
得し前記メモリ内に設けたトレース情報域に格納するト
レース情報取得制御部と、前記トレース情報域に設定し
たトレース情報を外部に設けたトレースファイルに書込
むよう制御するメモリ管理部と、プログラム異常検出部
でのプログラムの異常の検出時に前記メモリ内に格納済
の全メモリ情報を外部に設けたメモリ情報退避ファイル
に書込む全メモリ出力部と、前記メモリ情報退避ファイ
ル内に書込んだ全メモリ情報を編集出力させるメモリ情
報編集出力部とを備えることにより、前記プログラムの
異常の検出時に障害原因解析に必要なプログラム異常の
発生直前までに取得したトレース情報を編集し出力させ
ることを特徴とするトレース情報出力処理方式。
1. In a trace information output processing method of an online system having a function of sequentially acquiring trace information including parameter information in a memory during online processing, the trace information is acquired in accordance with an instruction input from the outside and is stored in the memory. A trace information acquisition control unit to be stored in the trace information area provided in, a memory management unit to control to write the trace information set in the trace information area to a trace file provided outside, and a program in the program abnormality detection unit When all the abnormalities are detected, all memory information stored in the memory is written to an externally provided memory information save file, and all memory information written in the memory information save file is edited and output. By including the memory information edit output unit, the failure source is detected when an abnormality of the program is detected. A trace information output processing method that edits and outputs the trace information acquired up to immediately before the occurrence of a program abnormality necessary for cause analysis.
JP4119380A 1992-05-13 1992-05-13 Trace information output processing system Withdrawn JPH06282467A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4119380A JPH06282467A (en) 1992-05-13 1992-05-13 Trace information output processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4119380A JPH06282467A (en) 1992-05-13 1992-05-13 Trace information output processing system

Publications (1)

Publication Number Publication Date
JPH06282467A true JPH06282467A (en) 1994-10-07

Family

ID=14760083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4119380A Withdrawn JPH06282467A (en) 1992-05-13 1992-05-13 Trace information output processing system

Country Status (1)

Country Link
JP (1) JPH06282467A (en)

Similar Documents

Publication Publication Date Title
US11656596B2 (en) Programmable logic controller and program creation supporting apparatus
CN111090255A (en) Programmable logic controller and master unit
CN104239201A (en) Memory read-write monitoring method in flexible single-step system
JPH06282467A (en) Trace information output processing system
EP3786750B1 (en) Data collection system, data collection method, and program
JP3389745B2 (en) Apparatus and method for measuring program performance
JPH04313581A (en) Elevator monitoring device
JP3130870B2 (en) Memory dump file reconstruction method
JP2002175201A (en) Computer system and method for controlling trace information using it
KR20230163634A (en) Log data file backup system for PLC and method thereof
JPH08249049A (en) Monitoring device
JPH022780A (en) Trace information extracting system
CN115268360A (en) Tobacco production line fault point acquisition method and system
JPH03246643A (en) Processing for editing dump summary
CN104239200A (en) Hard single-step system memory read and write monitoring method
CN117980842A (en) Control device
KR100447398B1 (en) A method of local undo function at editing mode
JP2500385B2 (en) Input data management method
JPH06187217A (en) System for synchronization between data base and normal file
JPH05143422A (en) Updated journal managing system
JPH07152410A (en) Data recording device
JPH02242447A (en) Memory dump collecting system
JPH04352242A (en) Data history recording system for information processor
JPH0434626A (en) Error logging method
WO1989002100A1 (en) Signal trace control system for pmc

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990803