JPH03246640A - Data sampling system - Google Patents

Data sampling system

Info

Publication number
JPH03246640A
JPH03246640A JP2043188A JP4318890A JPH03246640A JP H03246640 A JPH03246640 A JP H03246640A JP 2043188 A JP2043188 A JP 2043188A JP 4318890 A JP4318890 A JP 4318890A JP H03246640 A JPH03246640 A JP H03246640A
Authority
JP
Japan
Prior art keywords
data
setting
reference value
task
processor
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
JP2043188A
Other languages
Japanese (ja)
Inventor
Izumi Hatanaka
畑中 いずみ
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 JP2043188A priority Critical patent/JPH03246640A/en
Publication of JPH03246640A publication Critical patent/JPH03246640A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to execute the setting of a reference value (RV) for deciding whether the data of a requested event area to be sampled or not at any time from the ON of a power supply up to its disconnection by preparing an RV setting/changing command capable of setting up/changing the RV including an identification (ID) code during the operation of an information processor. CONSTITUTION:The data sampling system is provided with the RV setting up/changing command capable of setting up/changing the RV including the ID code during the operation of the information processor. When the request 6 of an event record having the ID code 1,000 of a task A driven in a processor P1 informed from the task A, a deciding mechanism 3 decides whether the reference values of a processor number, a task number and an ID code stored in an RV storage area 4 coincide with that of the request or not by comparing them. When the processor P1, the task A and the ID code 1,000 coincide with the input, the mechanism 3 decides data sampling, samples the event of the requesting source indicated by the specified parameter values as data and records the sampled results in a data recording file 5. Consequently, the RV can be set up/changed even during the operation of the information processor.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ採取方式に関し、特に情報処理装置内で
発生するさまざまな事象をデータ記録ファイルに収集す
るデータ採取方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data collection method, and more particularly to a data collection method for collecting various events occurring within an information processing device into a data recording file.

〔従来の技術〕[Conventional technology]

従来のデータ採取方式は、情報処理装置内で発生するさ
まざまな事象を収集するための基準値を、システム生成
時に各々のプロセッサごとに設けられた基準値格納領域
に設定している。
In conventional data collection methods, reference values for collecting various events occurring within an information processing device are set in a reference value storage area provided for each processor at the time of system generation.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデータ採取方式は、情報処理内で発生し
ているさまざまな事象をデータとして採取するか否かの
基準値を設定する基準値格納領域が各々のプロセッサご
とに設けられているので、システム生成時に各々のプロ
セッサごとに基準値の設定を行わねばならないという欠
点を有している。
In the conventional data collection method described above, a reference value storage area is provided for each processor to set a reference value for determining whether or not to collect various events occurring during information processing as data. This method has the disadvantage that reference values must be set for each processor when generating the system.

また、従来のデータ採取方式は、基準値の設定及び変更
を行った場合に、再度情報処理装置の電源投入から開始
しなければならないという欠点を有している。本発明の
目的は、要求された事象のデータを採取するか否かの基
準値の設定を、電源投入後から切断する迄の間に何時で
も行えるデータ採取方式を提供することにある。
Further, the conventional data collection method has the disadvantage that when setting or changing the reference value, the information processing apparatus must be restarted from being powered on. SUMMARY OF THE INVENTION An object of the present invention is to provide a data collection method that allows setting of a reference value for determining whether data of a requested event is to be collected at any time from when the power is turned on until it is turned off.

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

本発明のデータ採取方式は、情報処理装置内で発生する
さまざまな事象を識別してデータとして採取することを
示す識別コードを含む基準値を情報処理装置の動作中に
設定・変更できる基準値設定・変更コマンドと、前記基
準値設定・変更コマンドで設定・変更された基準値の中
の識別コードにより動作中のタスクから要求された事象
をデータとして採取するか否かを判定する判定手段と、
前記判定手段によりデータとして採取すると判定された
事象をデータとしてデータ記録ファイルに収集するデー
タ収集手段とを備えて構成されている。
The data collection method of the present invention provides a reference value setting that allows setting and changing reference values that include an identification code that indicates various events that occur within an information processing device to be identified and collected as data while the information processing device is operating. - a determination unit that determines whether or not to collect an event requested from an active task as data based on a change command and an identification code in the reference value set/changed by the reference value setting/change command;
and data collection means for collecting events determined to be collected as data by the determination means into a data recording file as data.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明のデータ採取方式の一実施例を示すブロ
ック図である。
FIG. 1 is a block diagram showing an embodiment of the data collection method of the present invention.

第1図に示す基準値格納ファイル1には、キーボード(
KB)からのキー人力による基準値設定・変更コマンド
2の実行により、事象記録を行いたいタスクのプロセッ
サ番号、タスク番号、識別コードの基準値が記録される
The reference value storage file 1 shown in Figure 1 has a keyboard (
By executing the manual reference value setting/change command 2 from KB), the reference values of the processor number, task number, and identification code of the task for which event recording is desired are recorded.

第2図は本実施例の基準値格納ファイル1に記憶された
基準値の一例を示す情報構成図である。
FIG. 2 is an information configuration diagram showing an example of the reference values stored in the reference value storage file 1 of this embodiment.

第2図は、第1図における基準値格納ファイル1に、基
準値設定・変更コマンド2により、設定される基準値の
一例である。基準値設定・変更コマンド2の入力は、電
源投入後から切断される迄の間に、情報処理装置が動作
中の有無にかかわらず何時でも何回でも設定可能であり
、基準値格納ファイル1の基準値は、電源再投入後も継
続して保持される。
FIG. 2 is an example of a reference value set in the reference value storage file 1 in FIG. 1 by the reference value setting/changing command 2. The reference value setting/change command 2 can be input any number of times from the time the power is turned on until the information processing device is turned off, regardless of whether the information processing device is in operation or not. The reference value continues to be held even after the power is turned on again.

また、基準値設定・変更コマンド2は、基準値格納ファ
イル1の内容を判定機構3に配置された基準値記憶域4
に読出して記憶させて、判定機構3で参照可能にするこ
とができる。
The reference value setting/change command 2 also transfers the contents of the reference value storage file 1 to the reference value storage area 4 located in the determination mechanism 3.
The information can be read out and stored in the computer, and can be referenced by the determination mechanism 3.

そして、事象記録の要求を行なうタスクは、必要に応じ
て、自分のタスク番号、識別コード及び記録を行いたい
対象のデータのパラメータ値を示して、判定機構3に対
して、割込みを起こすことにより、事象記録の要求を行
っている。
Then, the task requesting event recording may indicate its own task number, identification code, and parameter value of the data to be recorded, and cause an interrupt to the determination mechanism 3, as necessary. , requesting event records.

例えば、判定機構3は、プロセッサl上で動作している
タスクAからタスクAの識別コード1000をもつ事象
記録の要求6が通知された時に、基準値記憶域4に記憶
されているプロセッサ番号、タスク番号、識別コードの
基準値と比較して一致するものがあるかどうかを判定す
る。そして、この場合に、プロセッサPI、タスクA、
識別コード1000が一致するので、データを採取する
と判定して、指定されたパラメータ値が示す要求元の事
象をデータとして採取し、データ記録ファイル5に記録
する。
For example, when the determination mechanism 3 is notified of the event recording request 6 having the identification code 1000 of task A from the task A running on the processor l, the determination mechanism 3 determines the processor number stored in the reference value storage area 4; Compare the task number and identification code with the reference values to determine if there is a match. In this case, processor PI, task A,
Since the identification codes 1000 match, it is determined that data should be collected, and the request source event indicated by the specified parameter value is collected as data and recorded in the data recording file 5.

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

以上説明したように、本発明のデータ採取方式は、情報
処理装置内で発生するさまざまな事象をデータとして採
取するための基準値を、情報処理装置の電源投入後から
切断する迄の間に、情報処理装置が動作中でも設定・変
更できるという効果を有している。
As explained above, the data collection method of the present invention sets reference values for collecting various events that occur within the information processing device as data, from when the information processing device is powered on to when the information processing device is turned off. This has the advantage that settings and changes can be made even when the information processing device is in operation.

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

第1図は本発明のデータ採取方式の一実施例を示すブロ
ック図、第2図は本実施例の基準値格納ファイルに記憶
された基準値の一例を示す情報構成図である。 1・・・・・・基準値格納ファイル、2・・・・・・基
準値設定・変更コマンド、3・・・・・・判定機構、4
・・・・・・基準値記憶域、5・・・・・・データ記録
ファイル、6・・・・・・タスクAの識別コード100
0をもつ事象記録の要求、PL、P2・・・・・・プロ
セッサ。
FIG. 1 is a block diagram showing an embodiment of the data collection method of the present invention, and FIG. 2 is an information configuration diagram showing an example of reference values stored in the reference value storage file of this embodiment. 1... Reference value storage file, 2... Reference value setting/change command, 3... Judgment mechanism, 4
...Reference value storage area, 5 ...Data recording file, 6 ...Identification code of task A 100
Request for event record with 0, PL, P2...Processor.

Claims (1)

【特許請求の範囲】[Claims] 情報処理装置内で発生するさまざまな事象を識別してデ
ータとして採取することを示す識別コードを含む基準値
を情報処理装置の動作中に設定・変更できる基準値設定
・変更コマンドと、前記基準値設定・変更コマンドで設
定・変更された基準値の中の識別コードにより動作中の
タスクから要求された事象をデータとして採取するか否
かを判定する判定手段と、前記判定手段によりデータと
して採取すると判定された事象をデータとしてデータ記
録ファイルに収集するデータ収集手段とを備えることを
特徴とするデータ採取方式。
A reference value setting/change command that can set or change a reference value including an identification code indicating that various events that occur within the information processing device are identified and collected as data while the information processing device is operating; and the reference value. a determination means for determining whether or not to collect as data an event requested by an operating task based on an identification code in a reference value set or changed by a setting/change command; A data collection method comprising a data collection means for collecting determined events as data in a data recording file.
JP2043188A 1990-02-23 1990-02-23 Data sampling system Pending JPH03246640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2043188A JPH03246640A (en) 1990-02-23 1990-02-23 Data sampling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2043188A JPH03246640A (en) 1990-02-23 1990-02-23 Data sampling system

Publications (1)

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

Family

ID=12656946

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2043188A Pending JPH03246640A (en) 1990-02-23 1990-02-23 Data sampling system

Country Status (1)

Country Link
JP (1) JPH03246640A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013157084A1 (en) * 2012-04-17 2013-10-24 株式会社日立製作所 Trace information acquisition device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013157084A1 (en) * 2012-04-17 2013-10-24 株式会社日立製作所 Trace information acquisition device and method

Similar Documents

Publication Publication Date Title
JPH03246640A (en) Data sampling system
JP2877973B2 (en) File recall control method
JP2675088B2 (en) Information collection method
JP2518390B2 (en) System performance monitoring method
JPH10333767A (en) Job implementation day determination system and recording medium for automatic operation system
JP2669042B2 (en) Automatic volume incorporation processing method in business programs
JPH0540670A (en) Processor control system
JPH0744426A (en) File management method for file system
JP2653045B2 (en) Document creation device
JPH01124037A (en) Memory dumping system
JPH04352042A (en) Memory dump collecting system
JPH0689250A (en) System for sampling valid trace information in communication processor
JPH11175412A (en) System for sampling state information in disk controller and machine readable recording medium for recording program
JPH02109147A (en) Memory dump collection system
JPS62144255A (en) Data file saving processor
JPS6029401B2 (en) Data output method
JPH0488413A (en) Input source selection type key input system
JPH03100838A (en) File control system
JPH05233386A (en) Data base management system
JPH05151096A (en) Doubling system for system constitution information file
JPH03237544A (en) Communication control processing device
JPH0690694B2 (en) File transfer method
JPH01270153A (en) Program interruption information collecting system
JPH03237529A (en) Memory maintenance system dependent upon online of information processor
JPH02139640A (en) Investigation information output system