JPH02287636A - Log data collecting method - Google Patents

Log data collecting method

Info

Publication number
JPH02287636A
JPH02287636A JP1107154A JP10715489A JPH02287636A JP H02287636 A JPH02287636 A JP H02287636A JP 1107154 A JP1107154 A JP 1107154A JP 10715489 A JP10715489 A JP 10715489A JP H02287636 A JPH02287636 A JP H02287636A
Authority
JP
Japan
Prior art keywords
log data
general
collection
collected
stored
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
JP1107154A
Other languages
Japanese (ja)
Inventor
Katsuhiko Saito
勝彦 齋藤
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP1107154A priority Critical patent/JPH02287636A/en
Publication of JPH02287636A publication Critical patent/JPH02287636A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To allow the classification to have versatility, and also, to cope with the change of the classification by setting a part of log data as general log data, and collecting not only fundamental log data but also designated general log data. CONSTITUTION:When a write request is given from a computer, a log data collection processing part fetches fundamental log data from the computer and stores it in a log data storage part 5. In this case, it is stored in the funda mental log data area 11i2 of an unused block 11i instructed by a pointer in accordance with the contents of a management table 10. Subsequently, the general flag area 10a of the table 10 is checked, and when a flag is set, the classification of general log data stored in a classification area 10b is fetched, and log data is fetched from the computer and stored in the storage part 5. In this case, this data is stored in the log data area 11i3 of the unused block 11i instructed by the pointer, based on the contents of the table 10.

Description

【発明の詳細な説明】 〔産業上の利用分野] 本発明はログデータの収集方法に関し、特に、収集する
ログデータの種別に融通性を持たせようとするものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for collecting log data, and in particular, is intended to provide flexibility in the types of log data to be collected.

[従来の技術] 例えば、いわゆるミニコンピユータシステムでは、この
ミニコンピユータシステムの障害解析を行なうために、
ミニコンピユータ本体内部のレジスタのデータやカウン
タのデータや異常検出センサのデータやメモリの一部の
データ等の障害解析に用いることができるデータ(以下
では、これらデータをログデータと呼ぶ)を、定期的に
又は所定の収集条件に合致したときに、ログデータ記憶
部に転送することが行われる(以下では、この転送をロ
グデータの収集と呼ぶ)。すなわち、障害の発生時に、
ログデータ記憶部に収集された時系列の複数組のログデ
ータを分析することでミニコンピユータシステムの障害
の解析を行なう。
[Prior Art] For example, in a so-called mini computer system, in order to perform failure analysis of this mini computer system,
Data that can be used for failure analysis (hereinafter referred to as log data) such as register data, counter data, abnormality detection sensor data, and part of memory data inside the minicomputer main body is periodically collected. or when a predetermined collection condition is met, the log data is transferred to the log data storage unit (hereinafter, this transfer is referred to as log data collection). In other words, when a failure occurs,
Failures in the minicomputer system are analyzed by analyzing multiple sets of time-series log data collected in the log data storage unit.

第2図には従来のログデータの収集方法の機能ブロック
図を示し、第3図にはログデータ記憶部4の構造を示す
FIG. 2 shows a functional block diagram of a conventional log data collection method, and FIG. 3 shows the structure of the log data storage section 4. As shown in FIG.

第2図において、利用者はキーボード入力装置1を用い
てログデータ収集モードの設定をログデータ収集処理部
2に指示する。
In FIG. 2, the user uses the keyboard input device 1 to instruct the log data collection processing section 2 to set the log data collection mode.

ログデータ収集処理部2はマイクロプログラム構成のも
のであり、本来はコンピュータ本体3内に設けられてい
るものであるが、第2図では、機能的な観点からコンピ
ュータ本体3と別個に表示している。ログデータ収集処
理部2は、ログデータ収集モードが設定されると、その
ことをコンピュータ本体3に伝える。
The log data collection processing section 2 has a microprogram configuration and is originally provided within the computer main body 3, but in FIG. 2, it is shown separately from the computer main body 3 from a functional standpoint. There is. When the log data collection mode is set, the log data collection processing section 2 notifies the computer main body 3 of this fact.

コンピュータ本体3は、ログデータ収集モードが指示さ
れた後、定期的に又は所定の収集条件に合致しなとき、
ログデータ収集処理部2に収集処理を実行させる。すな
わち、ログデータ収集処理部2は、コンピュータ本体3
内の所定のレジスタやカウンタやセンサやメモリの一部
エリア等からそのときのデータをログデータとして取出
してログデータ記憶部4に与えて書き込む。
After the computer main body 3 is instructed to enter the log data collection mode, the computer main unit 3 periodically or when predetermined collection conditions are not met,
The log data collection processing unit 2 is caused to execute collection processing. That is, the log data collection processing section 2
The data at that time is taken out as log data from a predetermined register, counter, sensor, or part of the memory, and is given to the log data storage section 4 and written.

なお、ログデータ記憶部4も、本来はコンピュータ本体
3の内部に設けられているもの(例えば、主記憶装置)
であるが、第2図では、機能的な観点からコンピュータ
本体3とは別個に示している。
Note that the log data storage section 4 is also one that is originally provided inside the computer main body 3 (for example, a main storage device).
However, in FIG. 2, it is shown separately from the computer main body 3 from a functional standpoint.

ログデータ記憶部4は、第3図に示す構造を有する。す
なわち、1回の収集て集められたログデータを格納する
識別データが付されている複数のブロック4a〜4nと
、格納済のブロックか未格納のブロックかを管理してい
ると共に、収集されたログデータが与えられたとき、最
後に格納された格納済ブロックの識別データの次の識別
データを有する未格納のブロックに格納させるように管
理する管工里テーブル41とからなる9このようにして
キーボード入力装置1からログデータ収集モードの終了
が指示されるまで、定期的に又は収集条件と合致する毎
に、ログデータが収集されてログデータ記憶部4に格納
される。
The log data storage unit 4 has a structure shown in FIG. That is, it manages a plurality of blocks 4a to 4n to which identification data are attached for storing log data collected in a single collection, and whether the blocks are stored or unstored, and also manages the collected log data. In this way, when log data is given, the log data is stored in the unstored block having the next identification data after the identification data of the last stored block. Until the end of the log data collection mode is instructed from the keyboard input device 1, log data is collected and stored in the log data storage unit 4 periodically or every time a collection condition is met.

[発明が解決しようとする課題] ところで、従来の方法によれば、収集するログデータの
種別は、ログデータ収集処理部2の構成によって固定的
に定まっているものである。
[Problems to be Solved by the Invention] According to the conventional method, the type of log data to be collected is fixedly determined by the configuration of the log data collection processing section 2.

しかしながら、ミニコンピユータシステムの使用を開始
してから、ユーザが収集するログデータを変更したくな
ることも生じる。例えば、障害解析を行なう場合、他の
データをもログデータに含めたくなることも生じ、また
、所望する障害解析に用いることができないログデータ
が収集されていることも生じる。
However, after starting to use the minicomputer system, the user may want to change the log data collected. For example, when performing a failure analysis, it may be desirable to include other data in the log data, or log data that cannot be used for the desired failure analysis may be collected.

また、コンピュータ本体3内の一部のレジスタ等は、ユ
ーザが自由に用いることができるようになされているが
、このようなレジスタ等のデータをログデータをするこ
とができなかった。
Furthermore, although some registers and the like in the computer main body 3 are designed to be freely usable by the user, it has not been possible to log the data of such registers and the like.

このような不都合を解決しようとすると、ログデータ収
集処理部2を新たに構成しなければならない。また、当
初よりログデータの種別を多くして必要なログデータは
確実に収集できるようにすることも考えられるが、この
ようにすると、無駄なログデータを多く含むことになり
、また、ログデータ記憶部4として大容量のものを用い
ることを要する。
In order to solve this problem, the log data collection processing section 2 must be newly configured. Also, it is possible to increase the types of log data from the beginning to ensure that the necessary log data can be collected, but this would result in a lot of useless log data being included, and the log data It is necessary to use a large capacity storage unit 4.

本発明は、以上の点を考慮してなされたものであり、ロ
グデータの種別に融通性のある、しかも、種別変更に容
易に応じられるログデータの収集方法を提供しようとす
るものである。
The present invention has been made in consideration of the above points, and it is an object of the present invention to provide a method for collecting log data that is flexible in types of log data and can easily respond to changes in types.

[課題を解決するための手段] かかる課題を解決するため、本発明においては、複数の
ログデータを収集してログデータ記憶部に格納すること
を、時間軸上の所定のタイミングで1回以上繰返し行な
うログデータの収集方法を、以下のようにした。
[Means for Solving the Problems] In order to solve the problems, the present invention collects a plurality of log data and stores them in the log data storage unit once or more at a predetermined timing on the time axis. The method for repeatedly collecting log data was as follows.

すなわち、複数のログデータを、固定的に定まる基本ロ
グデータと、入力操作によって選択できる汎用ログデー
タとに区分し、収集開始前に、選択された汎用ログデー
タを取り込んで、基本ログデータ及びill択された汎
用ログデータのデータ量に応じて、ログデータ記憶部を
各回の収集ログデータを別個格納できるブロックに区分
しておき、各回の収集された基本ログデータ及び汎用ロ
グデータをログデータ記憶部の未使用のブロックに格納
するようにした。
That is, multiple log data are divided into basic log data that is fixedly determined and general-purpose log data that can be selected by input operation, and before the start of collection, the selected general-purpose log data is imported and the basic log data and ill Depending on the amount of general-purpose log data selected, the log data storage unit is divided into blocks that can separately store collected log data each time, and the basic log data and general-purpose log data collected each time are stored as log data. It is now stored in an unused block.

[作用] 収集に供するログデータの中には、ユーザの自由度に任
せて良いものがある。そこで、必ず収集する基本ログデ
ータとユーザが入力操作によって選択することができる
汎用ログデータとに、ログデータの種別を区分すること
とした。そして、収集開始前において、ユーザが入力操
作した汎用ログデータの種別を取り込むようにした。こ
こで、選択された汎用ログデータによって1回の収集動
作によって格納するログデータのデータ量が代わるので
、基本ログデータ及び選択された汎用ログデータに応じ
て、1回の動作で収集されたログデータを格納するブロ
ックを形成することとしな。
[Operation] Some log data to be collected may be left to the user's discretion. Therefore, we have decided to divide the types of log data into basic log data, which must be collected, and general-purpose log data, which can be selected by the user through input operations. Then, before starting collection, the type of general-purpose log data entered by the user is imported. Here, the amount of log data stored in one collection operation changes depending on the selected general-purpose log data, so the amount of log data collected in one operation depends on the basic log data and the selected general-purpose log data. Create blocks to store data.

このような前処理の後、定期的又は収集条件が合致した
ときに収集されたログデータを未使用のブロックに順次
格納していく。
After such preprocessing, log data collected periodically or when collection conditions are met is sequentially stored in unused blocks.

[実施例] 以下、本発明の一実施例を図面を参照しながら詳述する
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

ここで、第1図はこの実施例におけるログデータ記憶部
の構造を示す説明図、第4図はログデータ収集のための
前処理を示すフローチャート、第5図はログデータ収集
処理を示すフローチャートである。
Here, FIG. 1 is an explanatory diagram showing the structure of the log data storage unit in this embodiment, FIG. 4 is a flowchart showing preprocessing for log data collection, and FIG. 5 is a flowchart showing log data collection processing. be.

この実施例でも、機能的な構成は、第2図に示す従来構
成と同様である。この実施例では、ログデータ記憶部に
対する符号として5を用い、他の機能ブロックに対して
は従来と同一の符号1〜3を用いる。
The functional configuration of this embodiment is also similar to the conventional configuration shown in FIG. In this embodiment, the code 5 is used for the log data storage section, and the same codes 1 to 3 as in the past are used for the other functional blocks.

しかし、この実施例の場合、収集できるログデータとし
て、固定的に定まっている基本ログデータと、ユーザが
任意に選択できる汎用ログデータとに分けられており、
ログデータ収集処理部2は、基本ログデータ及び汎用ロ
グデータを1回の収集動作で同時に収集する。
However, in the case of this embodiment, the log data that can be collected is divided into fixed basic log data and general-purpose log data that can be selected arbitrarily by the user.
The log data collection processing unit 2 simultaneously collects basic log data and general-purpose log data in one collection operation.

ここで、汎用ログデータの収集を可能にしたのは、コン
ピュータ本体3には、ユーザが自由に使用できる汎用レ
ジスタやカウンタ等が設けられており、ユーザがこれら
レジスタやカウンタ等の全部又は一部のデータをログデ
ータとして収集することを希望することがあるからであ
る。
Here, what made it possible to collect general-purpose log data is that the computer main body 3 is equipped with general-purpose registers, counters, etc. that the user can freely use. This is because it may be desired to collect data as log data.

次に、第1図を用いてログデータ記憶部5の構造を説明
する。
Next, the structure of the log data storage section 5 will be explained using FIG.

第1図において、ログデータ記憶部5は、管理テーブル
部10と、1回の収集動作で収集されたログデータ群を
格納する複数のブロックlla、11b、・・・lln
とでなる。
In FIG. 1, the log data storage unit 5 includes a management table unit 10 and a plurality of blocks lla, 11b, . . . lln that store a group of log data collected in one collection operation.
It becomes.

各ブロックlla〜llnはそれぞれ、ブロックを識別
するデータを格納するブロック識別データエリア11a
1〜11n1と、基本ログデータを格納する基本ログデ
ータエリア11a2〜11n2と、汎用ログデータが指
定されたときに収集された汎用ログデータを格納する汎
用ログデータエリア11a3〜11n3とからなる。
Each block lla to lln has a block identification data area 11a that stores data identifying the block.
1 to 11n1, basic log data areas 11a2 to 11n2 for storing basic log data, and general-purpose log data areas 11a3 to 11n3 for storing general-purpose log data collected when general-purpose log data is specified.

管理テーブル部10は、汎用ログデータの収集を行なう
か否かを示すフラグを格納する汎用フラグエリア10a
と、汎用ログデータの種別を格納する汎用ログデータ種
別エリア10bと、各ブロックlla〜llnの基本ロ
グデータエリア11a2〜11n2のアドレス、汎用ロ
グデータエリア11a3〜11n3のアドレス及びブロ
ックの使用/未使用をポインタの形で格納している管理
エリアlOcとを含んでいる。
The management table unit 10 includes a general-purpose flag area 10a that stores a flag indicating whether or not general-purpose log data is collected.
, the general-purpose log data type area 10b that stores the type of general-purpose log data, the addresses of the basic log data areas 11a2 to 11n2 of each block lla to lln, the addresses of the general log data areas 11a3 to 11n3, and the used/unused blocks. It includes a management area lOc in which the data is stored in the form of a pointer.

次に、第4図を用いてログデータを収集するための前処
理について説明する。
Next, preprocessing for collecting log data will be explained using FIG. 4.

ユーザは、キーボード入力装置1を用いて必要に応じて
ログデータ収集モードを指示する(ステップ100)。
The user uses the keyboard input device 1 to instruct the log data collection mode as necessary (step 100).

その後、基本ログデータの他に収集を希望する任意の汎
用ログデータがあれば、ユーザはキーボード入力装置」
を用いて汎用ログデータの種別を入力し、ログデータ収
集処理部2は、汎用ログデータ種別(指定がないことも
含む)を取り込む(ステップ101)。ここで、汎用ロ
グデータとしても、コンピュータ本体3に設けられてい
るレジスタやカウンタ等にかかるものて′あるので、各
レジスタ及びカウンタ等に識別番号を付しておき、ユー
ザはマニュアルを見ながら所望の汎用ログデータを取出
すレジスタやカウンタ等の識別番号を入力して汎用ログ
データを特定する。
Then, if there is any general purpose log data that the user wishes to collect in addition to the basic log data, the user can use the keyboard input device.
The type of general-purpose log data is input using , and the log data collection processing unit 2 takes in the general-purpose log data type (including cases where no specification is made) (step 101). Here, the general-purpose log data includes data related to registers, counters, etc. provided in the computer main body 3, so an identification number is attached to each register, counter, etc., and the user can select the desired one by referring to the manual. Specify the general-purpose log data by inputting the identification number of the register, counter, etc. from which the general-purpose log data is to be retrieved.

ログデータ収集処理部2は、その後、基本ログデータの
1回の収集で使用する容量(サイズ)を考慮してログデ
ータ記憶部5のエリアを分割し、各基本ログデータエリ
ア11a2〜11n2に対するアドレスを管理テーブル
部10に設定する(ステップ102)。
The log data collection processing unit 2 then divides the area of the log data storage unit 5 in consideration of the capacity (size) used for one collection of basic log data, and assigns addresses to each of the basic log data areas 11a2 to 11n2. is set in the management table unit 10 (step 102).

次いで、ログデータ収集処理部2は、汎用ログデータの
種別の指定がなされたか否かを判別し、指定されていな
い場合には、ステップ103に直ちに進み、指定されて
いる場合には、管理テーブル部10の汎用フラグエリア
LOaにフラグをセットし、指示された汎用ログデータ
の種別を汎用ログデータ種別エリア10bに格納する(
ステップ104.105)。
Next, the log data collection processing unit 2 determines whether or not the type of general-purpose log data has been specified. If the type of general-purpose log data has not been specified, the process immediately proceeds to step 103, and if the type has been specified, the management table A flag is set in the general-purpose flag area LOa of the unit 10, and the type of the specified general-purpose log data is stored in the general-purpose log data type area 10b (
Steps 104.105).

その後、指示された汎用ログデータの個数及び種別に基
づいて1回の収集動作で収集される汎用ログデータ群の
格納に要するサイズを演算し、汎用ログデータエリア1
1a3〜11n3を決定してそのアドレスを管理エリア
10cに格納する(ステップ106,107)。この格
納は、同一回数の収集動作に関連した基本ログデータエ
リア!、−La2〜11n2と汎用ログデータエリア1
1a3〜11n3とを対応付けて行なう。
After that, the size required to store a group of general-purpose log data collected in one collection operation is calculated based on the number and type of general-purpose log data specified, and
1a3 to 11n3 are determined and their addresses are stored in the management area 10c (steps 106, 107). This storage is the basic log data area related to the same number of collection operations! , -La2 to 11n2 and general-purpose log data area 1
1a3 to 11n3 are associated with each other.

このような基本ログデータ、又は、基本ログデータ及び
汎用ログデータに対するエリア設定を行なった後、ログ
データ収集処理部2は、コンピュータ本体3に対してロ
グデータ収集モードが指示されたことを伝えて、一連の
前処理を終了する(ステップ103)。
After setting the area for such basic log data or basic log data and general-purpose log data, the log data collection processing section 2 notifies the computer main body 3 that the log data collection mode has been instructed. , the series of preprocessing is completed (step 103).

コンピュータ本体3は、ログデータ収集モードが指示さ
れたことを認識した後には、定期的に又は所定の収集条
件に合致したときにログデータ収集処理部2に対してロ
グデータの書き出し要求を与える。
After recognizing that the log data collection mode has been instructed, the computer main body 3 issues a log data write request to the log data collection processing section 2 periodically or when a predetermined collection condition is met.

ログデータ収集処理部2は、コンピュータ本体3に対し
てログデータ収集モードが指示されたことを伝えると、
その後、第5図に示す収集処理を行なう。
When the log data collection processing unit 2 notifies the computer main body 3 that the log data collection mode has been instructed,
Thereafter, the collection process shown in FIG. 5 is performed.

第5図において、ログデータ収集処理部2は、コンピュ
ータ本体3から書き出し要求が与えられたか否かを判断
し、与えられていない場合には、直ちに処理を終了し、
与えられた場合には、基本ログデータをコンピュータ本
体3がら取出してログデータ記憶部5に与えて格納させ
る(ステップ110.111)。このとき、管理テーブ
ル部10の内容にい基づいて、ポインタが指示している
未使用のブロック1li(iはa〜n)の基本ログデー
タエリア1112に格納させる。
In FIG. 5, the log data collection processing unit 2 determines whether or not a write request has been given from the computer main body 3, and if it has not been given, immediately ends the process,
If the basic log data is given, the basic log data is taken out from the computer main body 3 and given to the log data storage section 5 for storage (steps 110 and 111). At this time, based on the contents of the management table unit 10, the data is stored in the basic log data area 1112 of the unused block 1li (i is a to n) pointed to by the pointer.

次いで、管理テーブル部10の汎用フラグエリア10a
にフラグがセットされているが否かを判断し、セットさ
れていない場合には、今回の収集処理を終了する(ステ
ップ112)。他方、フラグがセットされていると、汎
用ログデータ種別エリア10bに格納されている汎用ロ
グデータの種別を取出し、汎用ログデータをコンピュー
タ本体3から取出してログデータ記憶部5に与えて格納
させる(ステップ113.114)。このとき、管理テ
ーブル部10の内容に基づいて、ポインタが指示してい
る未使用のブロック(上述した基本ログデータエリアが
属しているブロック)111の汎用ログデータエリア1
113に格納させる。
Next, the general-purpose flag area 10a of the management table section 10
It is determined whether the flag is set or not, and if the flag is not set, the current collection process is ended (step 112). On the other hand, if the flag is set, the type of general-purpose log data stored in the general-purpose log data type area 10b is retrieved, the general-purpose log data is taken out from the computer main body 3, and is given to the log data storage unit 5 for storage ( Steps 113.114). At this time, based on the contents of the management table unit 10, the general-purpose log data area 1 of the unused block (the block to which the above-mentioned basic log data area belongs) pointed to by the pointer is determined.
113.

なお、汎用ログデータエリア1113に対する格納が終
了したときには、次の収集のなめにブロックポインタを
インクリメントしておく。
Note that when the storage in the general-purpose log data area 1113 is completed, the block pointer is incremented for the next collection.

このようにして汎用ログデータの書き出しも終了すると
、今回の収集処理を終了させる。
When writing of the general-purpose log data is completed in this way, the current collection process is ended.

このような収集処理は、ユーザによってキーボード入力
装置1を介してログデータ収集モードが解除されるまで
繰返される。
Such collection processing is repeated until the log data collection mode is canceled by the user via the keyboard input device 1.

従って、上述の実施例によれば、ログデータとしてユー
ザの希望に関係のない基本的なログデータと、ユーザが
選択できる汎用的なログデータとに分けて収集するよう
にしたので、当該ログデータの収集方法を適用したシス
テムの汎用性を高めることができる。その結果、収集し
たログデータを用いた各種の処理、例えば、ミニコンピ
ユータシステムの障害解析を適切に実行させることがで
きる。
Therefore, according to the above-described embodiment, log data is collected separately into basic log data unrelated to the user's wishes and general-purpose log data that can be selected by the user. The versatility of the system to which this collection method is applied can be increased. As a result, various types of processing using the collected log data, such as failure analysis of a minicomputer system, can be appropriately executed.

また、ログデータ収集処理部2の構成を変更することな
く、収集する汎用ログデータを容易に変更することもで
き、当該ログデータの収集方法を適用したシステムを使
い易いものとすることができる。
Further, the general-purpose log data to be collected can be easily changed without changing the configuration of the log data collection processing section 2, and a system to which the log data collection method is applied can be made easy to use.

なお、上述の実施例においては、本発明をミニコンピユ
ータシステムに適用したものを示したが、他のコンピュ
ータシステムに対しても適用することができる。
In the embodiments described above, the present invention was applied to a minicomputer system, but it can also be applied to other computer systems.

また、収集したログデータの用途は、障害解析に限定さ
れるものではない。
Furthermore, the use of the collected log data is not limited to failure analysis.

[発明の効果] 以上のように、本発明によれば、ログデータの一部を任
意に選択できる汎用ログデータとして用意しておき、基
本的なログデータに加えて、ユーザが指定した汎用ログ
データをも収集することができるようにしたので、収集
ログデータの変更を容易に実行できると共に、当該ログ
データの収集方法を適用したシステムの汎用性及び使い
勝手を高めることができる。
[Effects of the Invention] As described above, according to the present invention, part of log data is prepared as general-purpose log data that can be arbitrarily selected, and in addition to basic log data, general-purpose log data specified by the user is Since data can also be collected, the collected log data can be easily changed, and the versatility and usability of the system to which the log data collection method is applied can be improved.

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

第1図は本発明によるログデータの収集方法の一実施例
の収集ログデータの記憶構造を示す説明図、第2図はロ
グデータの収集方法を適用したシステムの収集面から見
た機能ブロック図、第3図は従来方法の収集ログデータ
の記憶構造を示す説明図、第4図は上記実施例の収集の
ための前処理を示すフローチャート、第5図は上記実施
例の収集処理を示すフローチャートである。 1・・・キーボード入力装置、2・・・ログデータ収集
処理部、3・・・コンピュータ本体、5・・・ログデー
タ記憶部。 aり゛テ゛−夕の彫ζ濁1ブチ法の畦7゛ロフク図第2
FIG. 1 is an explanatory diagram showing the storage structure of collected log data in an embodiment of the log data collection method according to the present invention, and FIG. 2 is a functional block diagram of a system to which the log data collection method is applied, as seen from the collection side. , FIG. 3 is an explanatory diagram showing the storage structure of collected log data in the conventional method, FIG. 4 is a flowchart showing pre-processing for collection in the above embodiment, and FIG. 5 is a flowchart showing collection processing in the above embodiment. It is. DESCRIPTION OF SYMBOLS 1... Keyboard input device, 2... Log data collection processing section, 3... Computer main body, 5... Log data storage section. arithmetic - Evening Carving ζdori 1 Butchi method ridge 7゛rofuku map 2
figure

Claims (1)

【特許請求の範囲】 複数のログデータを収集してログデータ記憶部に格納す
ることを、時間軸上の所定のタイミングで1回以上繰返
し行なうログデータの収集方法において、 複数のログデータを、固定的に定まる基本ログデータと
、入力操作によって選択できる汎用ログデータとに区分
し、 収集開始前に、選択された汎用ログデータを取り込んで
、基本ログデータ及び選択された汎用ログデータのデー
タ量に応じて、上記ログデータ記憶部を各回の収集ログ
データを別個格納できるブロックに区分しておき、 各回の収集された基本ログデータ及び汎用ログデータを
上記ログデータ記憶部の未使用のブロックに格納するよ
うにしたことを特徴とするログデータの収集方法。
[Claims] A log data collection method in which collecting a plurality of log data and storing them in a log data storage unit is repeated one or more times at a predetermined timing on a time axis, comprising: The data is divided into fixed basic log data and general-purpose log data that can be selected by input operations, and before the collection starts, the selected general-purpose log data is imported and the amount of data of the basic log data and the selected general-purpose log data is calculated. Depending on the situation, the log data storage section is divided into blocks that can separately store collected log data for each time, and the basic log data and general-purpose log data collected for each time are stored in unused blocks of the log data storage section. A method for collecting log data characterized by storing the log data.
JP1107154A 1989-04-28 1989-04-28 Log data collecting method Pending JPH02287636A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1107154A JPH02287636A (en) 1989-04-28 1989-04-28 Log data collecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1107154A JPH02287636A (en) 1989-04-28 1989-04-28 Log data collecting method

Publications (1)

Publication Number Publication Date
JPH02287636A true JPH02287636A (en) 1990-11-27

Family

ID=14451877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1107154A Pending JPH02287636A (en) 1989-04-28 1989-04-28 Log data collecting method

Country Status (1)

Country Link
JP (1) JPH02287636A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003794A (en) * 2007-06-22 2009-01-08 Hitachi Ltd Monitoring data decision system, monitoring data decision method and monitoring data decision program
JP2012168852A (en) * 2011-02-16 2012-09-06 Fujitsu Ltd Log storage device and log storage program
CN104144081A (en) * 2014-08-26 2014-11-12 福建天晴数码有限公司 General application log management method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009003794A (en) * 2007-06-22 2009-01-08 Hitachi Ltd Monitoring data decision system, monitoring data decision method and monitoring data decision program
JP2012168852A (en) * 2011-02-16 2012-09-06 Fujitsu Ltd Log storage device and log storage program
CN104144081A (en) * 2014-08-26 2014-11-12 福建天晴数码有限公司 General application log management method, device and system

Similar Documents

Publication Publication Date Title
JPH096628A (en) Method and device for parallel processing procedure selection
JPH02287636A (en) Log data collecting method
JPH03290741A (en) Error logging method
JP3130870B2 (en) Memory dump file reconstruction method
JPH08286950A (en) Information processor and trace information storage method
JPS6186846A (en) Program debugging device
JPS59158450A (en) Program test device
JPS6270944A (en) Collecting system for trace information
JPH01100642A (en) Test coverage system for computer system
JPH0343841A (en) Fault information store system
JPH0269837A (en) Program debug support device
JPH04217034A (en) Display system for program trace
JPS62251845A (en) Program debugging device
JPH06119188A (en) Task managing system
JPS5852760A (en) Analyzing device for program dynamic characteristics
JPH0261735A (en) Data base access program test system
JPS63310040A (en) Data sampling system
JPS60217467A (en) Data collecting processing unit
JPS63228236A (en) Symbol address output system
JPH02247758A (en) Control system for terminal information
JPH07262053A (en) Information processor
JPH03119436A (en) Microinstruction address tracer
JPS63291139A (en) System for collecting processing dynamic information of system
JPS63132372A (en) Parallel processor
JPH03282835A (en) Transaction trace information gathering system