JP3127828B2 - Error log file control method - Google Patents

Error log file control method

Info

Publication number
JP3127828B2
JP3127828B2 JP08140714A JP14071496A JP3127828B2 JP 3127828 B2 JP3127828 B2 JP 3127828B2 JP 08140714 A JP08140714 A JP 08140714A JP 14071496 A JP14071496 A JP 14071496A JP 3127828 B2 JP3127828 B2 JP 3127828B2
Authority
JP
Japan
Prior art keywords
error log
error
computer system
memory
files
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.)
Expired - Fee Related
Application number
JP08140714A
Other languages
Japanese (ja)
Other versions
JPH09305445A (en
Inventor
貴雄 小林
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 JP08140714A priority Critical patent/JP3127828B2/en
Publication of JPH09305445A publication Critical patent/JPH09305445A/en
Application granted granted Critical
Publication of JP3127828B2 publication Critical patent/JP3127828B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータシステ
ムにおけるエラーログファイル制御方式に関する。
The present invention relates to an error log file control method in a computer system.

【0002】[0002]

【従来の技術】コンピュータシステムにおけるエラーロ
グを格納するファイルは、通常、半導体記憶装置(RA
M、以下、単にメモリ)に設けられている。従来のエラ
ーログファイル制御方式は、1つのエラーログファイル
を静的な容量で制御するか、1つのエラーログファイル
を動的な容量で制御する。すなわち、静的な容量での制
御では、エラーログファイルは固定長であり、動的な容
量での制御では、エラーログファイルは可変長である。
2. Description of the Related Art A file for storing an error log in a computer system is usually a semiconductor memory device (RA).
M, hereinafter simply memory). The conventional error log file control method controls one error log file with a static capacity or controls one error log file with a dynamic capacity. That is, the error log file has a fixed length in the control with a static capacity, and the error log file has a variable length in the control with a dynamic capacity.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述の
静的な容量での制御では、エラーログファイルを更新す
る前に、利用者がそのエラーログファイルの内容を参照
しなければならないという課題がある。また、上述の動
的な容量での制御では、エラーログファイルが設けられ
ているメモリの限界容量を常に監視しなければならない
という課題がある。さらに、上述の従来の制御において
は、エラー発生とエラーログファイルへのロギングとは
連動性がないという課題がある。
However, in the above-described control with a static capacity, there is a problem that the user must refer to the contents of the error log file before updating the error log file. . Further, in the above-described control with a dynamic capacity, there is a problem that the limit capacity of a memory provided with an error log file must be constantly monitored. Further, in the above-described conventional control, there is a problem that occurrence of an error and logging to an error log file are not linked.

【0004】従って、本発明の目的は、利用者によるエ
ラーログファイルの内容の参照回数を減少させ、また、
メモリの限界容量の監視回数を減少させたエラーログフ
ァイル制御方式を提供することにある。また、他の目的
は、エラー発生とエラーログファイルへのロギングとを
連動させたエラーログファイル制御方式を提供すること
にある。
Accordingly, an object of the present invention is to reduce the number of times a user refers to the contents of an error log file,
An object of the present invention is to provide an error log file control method in which the number of times of monitoring the limit capacity of the memory is reduced. It is another object of the present invention to provide an error log file control method in which the occurrence of an error and the logging to an error log file are linked.

【0005】[0005]

【課題を解決するための手段】上述の課題を解決するた
めに本発明は、コンピュータシステムのエラーログを格
納する第1、第2のエラーログファイルを有するメモリ
と、コンピュータシステムにエラーが発生していないと
きに第1、第2のエラーファイルを固定長にし、第1、
第2のエラーログファイルの一方がエラーログで満杯に
なったときに第1、第2のエラーログファイルの他方に
エラーログを上書きするサイクリックモード手段と、コ
ンピュータシステムにエラーが発生しているときにその
時点でエラーログが書込まれている第1、第2のエラー
ログファイルの1つをメモリ内で拡張してエラーログを
書込む自動拡張モード手段と、モード変更要求があった
ときに拡張されたエラーログファイルを固定長に戻す自
動拡張解除手段とを具備するものであるまた、自動拡
張モード手段はエラーメッセージを出力するさらに、
自動拡張モード手段は、メモリの残り容量が第1の所定
値以下か否かを判別するメモリ残量判別手段と、メモリ
の残り容量が前記第1の所定値以下のときに警告メッセ
ージを出力する手段とを具備するものである。 さらに、
自動拡張モード手段はメモリの残り容量が第1の所定値
以下か否かを判別するメモリ残量判別手段と、前記メモ
リの残り容量が前記第1の所定値以下のときに警告メッ
セージを出力する手段とを具備するものである。 さら
に、自動拡張モード手段は、メモリの残り容量が第1の
所定値より小さい第2の所定値以下か否かを判別するメ
モリ残量判別手段と、メモリの残り容量が第2の所定値
以下のときに停止メッセージを出力する手段とを具備す
るものであるこのようにして、コンピュータシステム
にエラーが発生していないときには、エラーログファイ
ルの内容の参照は不要となる。また、メモリの限界容量
の監視は動的な制御の場合のみであり、その監視回数は
少なくなる。
In order to solve the above-mentioned problems, the present invention stores an error log of a computer system.
Memory having first and second error log files to be stored
And that the computer system has no errors
First, the first and second error files are fixed length,
One of the second error log files is full of error logs
When the first and second error log files
A cyclic mode means for overwriting the error log,
When an error occurs in the computer system,
First and second errors for which an error log has been written
Error log by expanding one of the log files in memory
Automatic extension mode means to be written and mode change request
Sometimes return extended error log file to fixed length
Dynamic expansion canceling means . In addition, automatic expansion
The extension mode means outputs an error message . further,
The automatic expansion mode means determines that the remaining capacity of the memory is the first predetermined capacity.
Memory remaining amount determining means for determining whether the value is equal to or less than a value, and a memory
Warning message when the remaining capacity is less than the first predetermined value.
Means for outputting a page. further,
The automatic expansion mode means that the remaining capacity of the memory is the first predetermined value
Memory remaining amount determining means for determining whether or not
Warning message when the remaining capacity of the storage is less than the first predetermined value.
Means for outputting a message. Further
In the automatic expansion mode, the remaining capacity of the memory is the first capacity.
A method for determining whether the value is equal to or less than a second predetermined value smaller than the predetermined value.
Memory remaining amount determining means and the remaining capacity of the memory is a second predetermined value
Means for outputting a stop message at the following times:
Things . Thus, when no error occurs in the computer system, it is not necessary to refer to the contents of the error log file. Further, the monitoring of the limit capacity of the memory is performed only in the case of dynamic control, and the number of times of monitoring is reduced.

【0006】[0006]

【発明の実施の形態】図1は本発明に係るエラーログフ
ァイル制御方式の実施の形態が適用されるコンピュータ
システムのブロック図である。図1において、1は中央
処理装置(CPU)、2はプログラム等を格納するメイ
ンメモリ、3は2つのエラーログファイルA、Bを記憶
するメモリ、4は入力装置(たとえばキーボード)、5
は出力装置(たとえばCRT)である。
FIG. 1 is a block diagram of a computer system to which an embodiment of an error log file control system according to the present invention is applied. In FIG. 1, 1 is a central processing unit (CPU), 2 is a main memory for storing programs and the like, 3 is a memory for storing two error log files A and B, 4 is an input device (for example, a keyboard), 5
Is an output device (for example, a CRT).

【0007】図1のCPU1の動作を図2のフローチャ
ートを参照して説明する。図2においては、図示しない
ルーチンより通常時エラーログ出力要求、エラー発生時
エラーログ出力要求、もしくはモード変更要求を受ける
ものとする。ステップ201では、通常時エラーログ出
力要求があったか否か、ステップ202では、コンピュ
ータシステムの運用に障害をもたらすエラーが発生して
エラーログ出力要求があった否か、ステップ203で
は、利用者がエラー状態の確認後に行ったモード変更要
求があった否かを判別する。
The operation of the CPU 1 of FIG. 1 will be described with reference to the flowchart of FIG. In FIG. 2, it is assumed that a normal error log output request, an error log output request when an error occurs, or a mode change request is received from a routine (not shown). In step 201, it is determined whether or not a normal error log output request has been issued. In step 202, whether or not an error causing a failure in the operation of the computer system has occurred and an error log output request has been issued. It is determined whether or not there has been a mode change request made after checking the state.

【0008】通常時エラーログ出力要求があったときに
は、ステップ204にて、サイクリックモードに進む。
すなわち、図3の(A)に示すごとく、エラーログファ
イルA、Bを固定長とし、エラーログファイルAがエラ
ーログで満杯になったときに、エラーログファイルBに
エラーログを上書きし、他方、エラーログファイルBが
エラーログで満杯になったときに、エラーログファイル
Aにエラーログを上書きする。この場合、コンピュータ
システムの運用に障害をもたらすエラーは発生していな
いので、エラーログファイルAとエラーログファイルB
との切替の際にエラーログファイルの内容の参照は必要
ない。
When a normal error log output request is made, the flow advances to a cyclic mode in step 204.
That is, as shown in FIG. 3A, the error log files A and B have a fixed length, and when the error log file A becomes full of error logs, the error log file B is overwritten with the error log. When the error log file B becomes full with the error log, the error log file A is overwritten with the error log. In this case, since no error causing a failure in the operation of the computer system has occurred, the error log files A and B
It is not necessary to refer to the contents of the error log file when switching to and from.

【0009】エラー発生時エラーログ出力要求があった
ときには、ステップ205にて、自動拡張モードに進
む。たとえば、この時点でエラーログファイルBにロギ
ングを行っているとすれば、図3の(B)に示すごと
く、エラーログファイルBを拡張する。また同時に、出
力装置5にエラーメッセージを出力して利用者に知らせ
る。また、メモリ3の残り容量が出力に支障を期すレベ
ルか否かを判別し、その場合には、出力装置5に警告メ
ッセージを出力して利用者に知らせる。さらにまた、メ
モリ3の残り容量が出力限界に到達したか否かを判別
し、その場合には、出力装置5に停止メッセージを出力
して利用者に知らせる。このように、エラー発生時エラ
ーログ出力要求があった場合にのみ、メモリの残り容量
を監視すると共に、エラー発生とエラーログファイルへ
のロギングとの連動性を図る。
If there is an error log output request when an error occurs, the flow advances to an automatic extension mode in step 205. For example, if logging is performed on the error log file B at this point, the error log file B is expanded as shown in FIG. At the same time, an error message is output to the output device 5 to notify the user. Further, it is determined whether or not the remaining capacity of the memory 3 is at a level that hinders output, and in that case, a warning message is output to the output device 5 to notify the user. Furthermore, it is determined whether or not the remaining capacity of the memory 3 has reached the output limit. In that case, a stop message is output to the output device 5 to notify the user. In this way, only when there is an error log output request when an error occurs, the remaining capacity of the memory is monitored, and the link between the occurrence of the error and the logging to the error log file is achieved.

【0010】モード変更要求があったときには、ステッ
プ206にて、自動拡張解除モードに進む。たとえば、
図3の(C)に示すごとく、拡張されたエラーログファ
イルBを元の固定長に戻す。
If there is a mode change request, the flow advances to an automatic extension release mode in step 206. For example,
As shown in FIG. 3 (C), it returns the extended error log file B to the original fixed length.

【0011】[0011]

【発明の効果】以上説明したように本発明によれば、コ
ンピュータシステムに支障を期すエラーが発生しない限
りはメモリを参照する必要はなく、しかも、メモリの容
量は固定量しか必要とせず、また、コンピュータシステ
ムに支障を期すエラーが発生した場合のみ、それ以降の
エラーログを可能な限りロギングできるようにし、さら
に、解除復帰できるようにしたので、静的な制御でのエ
ラーログファイルの参照回数を減少でき、また、動的な
制御でのメモリの限界容量の監視回数を減少できる。さ
らに、エラー発生とエラーログファイルとの連動性を図
ることができる。
As described above, according to the present invention, it is not necessary to refer to the memory unless an error causing a problem in the computer system occurs. Further, the memory requires only a fixed amount of memory. Only when an error that could hinder the computer system occurs, the subsequent error logs can be logged as much as possible, and can be reset again, so the number of times the error log file is referenced by static control Can be reduced, and the number of times of monitoring the limit capacity of the memory in the dynamic control can be reduced. Further, it is possible to link the occurrence of an error with the error log file.

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

【図1】本発明に係るエラーログファイル制御方式の実
施の形態が適用されるコンピュータシステムのブロック
図である。
FIG. 1 is a block diagram of a computer system to which an embodiment of an error log file control method according to the present invention is applied.

【図2】図1のCPUの動作を説明するためのフローチ
ャートである。
FIG. 2 is a flowchart illustrating the operation of the CPU in FIG. 1;

【図3】図2の動作を補足説明する図1のメモリの内容
を示す図である。
FIG. 3 is a diagram showing the contents of the memory of FIG. 1 for supplementarily explaining the operation of FIG. 2;

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

1─中央処理装置 2─メインメモリ 3─メモリ(RAM) 4─入力装置 5─出力装置 1 Central processing unit 2 Main memory 3 Memory (RAM) 4 Input device 5 Output device

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 コンピュータシステムのエラーログを格
納する第1、第2のエラーログファイル(A、B)を有
するメモリ(3)と、 前記コンピュータシステムにエラーが発生していないと
きに前記第1、第2のエラーファイルを固定長にし、前
記第1、第2のエラーログファイルの一方がエラーログ
で満杯になったときに前記第1、第2のエラーログファ
イルの他方にエラーログを上書きするサイクリックモー
ド手段と、 前記コンピュータシステムにエラーが発生しているとき
にその時点でエラーログが書込まれている前記第1、第
2のエラーログファイルの1つを前記メモリ内で拡張し
てエラーログを書込む自動拡張モード手段と、 モード変更要求があったときに前記拡張されたエラーロ
グファイルを前記固定長に戻す自動拡張解除手段
備するエラーログファイル制御方式。
An error log of a computer system is stored.
Contains first and second error log files (A, B) to be stored
Memory (3), and that no error has occurred in the computer system
The first and second error files are fixed length,
One of the first and second error log files is an error log
When the first and second error log files are full.
Cyclic mode that overwrites the error log on the other side of the file.
When an error has occurred in the computer system and the computer system
The error log is written to the first,
Expanding one of the two error log files in the memory
Ingredients and automatic extension mode means for writing the error log, and an automatic extension release means to return to the fixed length of the extended error log file when there is a mode change request Te
Error log file control method of Bei.
【請求項2】 コンピュータシステムのエラーログを格
納する第1、第2のエラーログファイル(A、B)を有
するメモリ(3)と、 前記コンピュータシステムにエラーが発生していないと
きに前記第1、第2のエラーファイルを固定長にし、前
記第1、第2のエラーログファイルの一方がエラーログ
で満杯になったときに前記第1、第2のエラーログファ
イルの他方にエラーログを上書きするサイクリックモー
ド手段と、 前記コンピュータシステムにエラーが発生しているとき
にその時点でエラーログが書込まれている前記第1、第
2のエラーログファイルの1つを前記メモリ内で拡張し
てエラーログを書込む自動拡張モード手段と、 を具備し、 前記自動拡張モード手段はエラーメッセージを出力する
エラーログファイル制御方式。
2. An error log of a computer system is stored.
Contains first and second error log files (A, B) to be stored
Memory (3), and that no error has occurred in the computer system
The first and second error files are fixed length,
One of the first and second error log files is an error log
When the first and second error log files are full.
Mode that overwrites the error log on the other side of the file.
When an error has occurred in the computer system and the computer system
The error log is written to the first,
Expanding one of the two error log files in the memory
Automatic extension mode means for writing an error log by means of an automatic extension mode means , wherein the automatic extension mode means outputs an error message.
【請求項3】 コンピュータシステムのエラーログを格
納する第1、第2のエラーログファイル(A、B)を有
するメモリ(3)と、 前記コンピュータシステムにエラーが発生していないと
きに前記第1、第2のエラーファイルを固定長にし、前
記第1、第2のエラーログファイルの一方がエ ラーログ
で満杯になったときに前記第1、第2のエラーログファ
イルの他方にエラーログを上書きするサイクリックモー
ド手段と、 前記コンピュータシステムにエラーが発生しているとき
にその時点でエラーログが書込まれている前記第1、第
2のエラーログファイルの1つを前記メモリ内で拡張し
てエラーログを書込む自動拡張モード手段と、 を具備し、 前記自動拡張モード手段は、 前記メモリの残り容量が第1の所定値以下か否かを判別
するメモリ残量判別手段と、 前記メモリの残り容量が前記第1の所定値以下のときに
警告メッセージを出力する手段とを具備するエラーログ
ファイル制御方式。
3. An error log of a computer system is stored.
Contains first and second error log files (A, B) to be stored
Memory (3), and that no error has occurred in the computer system
The first and second error files are fixed length,
Serial first, while a picture of the second of the error log file Rarogu
When the first and second error log files are full.
Cyclic mode that overwrites the error log on the other side of the file.
When an error has occurred in the computer system and the computer system
The error log is written to the first,
Expanding one of the two error log files in the memory
Automatic extension mode means for writing an error log by means of the automatic extension mode means , wherein the automatic extension mode means determines whether or not the remaining capacity of the memory is less than or equal to a first predetermined value; error log file control system the remaining capacity of and means for outputting a warning message when: the first predetermined value.
【請求項4】 さらに、前記自動拡張モード手段は、 前記メモリの残り容量が前記第1の所定値より小さい第
2の所定値以下か否かを判別するメモリ残量判別手段
と、 前記メモリの残り容量が前記第2の所定値以下のときに
停止メッセージを出力する手段とを具備する請求項
記載のエラーログファイル制御方式。
4. The automatic expansion mode means further comprises: memory remaining amount determination means for determining whether the remaining capacity of the memory is equal to or less than a second predetermined value smaller than the first predetermined value; 4. The error log file control method according to claim 3 , further comprising: means for outputting a stop message when the remaining capacity is equal to or less than the second predetermined value.
JP08140714A 1996-05-10 1996-05-10 Error log file control method Expired - Fee Related JP3127828B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP08140714A JP3127828B2 (en) 1996-05-10 1996-05-10 Error log file control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP08140714A JP3127828B2 (en) 1996-05-10 1996-05-10 Error log file control method

Publications (2)

Publication Number Publication Date
JPH09305445A JPH09305445A (en) 1997-11-28
JP3127828B2 true JP3127828B2 (en) 2001-01-29

Family

ID=15275012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP08140714A Expired - Fee Related JP3127828B2 (en) 1996-05-10 1996-05-10 Error log file control method

Country Status (1)

Country Link
JP (1) JP3127828B2 (en)

Also Published As

Publication number Publication date
JPH09305445A (en) 1997-11-28

Similar Documents

Publication Publication Date Title
US4491914A (en) Initial program load system
AU687095B2 (en) File Backup System
EP0113232B1 (en) A machine check processing system
JP3127828B2 (en) Error log file control method
EP0070184B1 (en) A method of testing memory
JP2751822B2 (en) Memory control method for FIFO memory device
KR100188716B1 (en) Method of memory diagnosis of electronic control device
KR0154477B1 (en) Log File Backup Method in Electronic Switching System
KR100670074B1 (en) Subscriber Data Backup Method in Distributed HRL System
JP2626545B2 (en) Fault-tolerant computer system
JPH10269111A (en) Information managing method at time of program failure occurrence
JP2513328B2 (en) Dump output method
JPH03147147A (en) Dump processing system
JP2000132432A (en) Memory dump method for parallel nodes
JPH06188938A (en) Storage circuit for communication data processing
JPH04324569A (en) Multiprocessor system
JPH04352249A (en) Data saving device for in-computer fault occurrence time
JP4084378B2 (en) Distributed shared disk synchronization apparatus, distributed shared disk synchronization system, and distributed shared disk synchronization method
JPH0713874A (en) Multiple storage system
JPH0644143A (en) Screen display control method
JP2000267871A (en) Method for operating computer system and computer system
JPH06231013A (en) Filing system
KR950035199A (en) How to evacuate subscriber location information
JPH09274624A (en) Cad system
JPH08106392A (en) Program information management system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees