JPH02219164A - Logging system for command message - Google Patents

Logging system for command message

Info

Publication number
JPH02219164A
JPH02219164A JP1040935A JP4093589A JPH02219164A JP H02219164 A JPH02219164 A JP H02219164A JP 1040935 A JP1040935 A JP 1040935A JP 4093589 A JP4093589 A JP 4093589A JP H02219164 A JPH02219164 A JP H02219164A
Authority
JP
Japan
Prior art keywords
command
message
logging
index number
input
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
JP1040935A
Other languages
Japanese (ja)
Inventor
Takafumi Sera
世良 孝文
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 JP1040935A priority Critical patent/JPH02219164A/en
Publication of JPH02219164A publication Critical patent/JPH02219164A/en
Pending legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

PURPOSE:To effectively store a command message by holding index numbers of a command input message and a command end message in a write field to a logging file, and referring to them by both of them. CONSTITUTION:When one command is inputted, a command input message body 4 is written in a command input message area 5. When the command is ended, a command input index number 6 is written in a command end index area 8 of a command end index number 7. A command end message main body 9 is written in a command end message area 10. In this case, the command end index number 7 is written in a command input index area 11 corresponding to the command input index number 6. In such a way, a command message can be stored effectively.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は計算機端末のデータ処理方式に関し、特にコマ
ンド入力に対するメツセージのロギングデータの記録方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data processing system for a computer terminal, and particularly to a system for recording logging data of messages in response to command input.

(従来の技術) 計算機のコマンド入力に対する応答メツセージはコマン
ド入力メツセージ(コマンド入力イメージを含む。)と
、コマンド終了メツセージとから成り、メツセージロギ
ング機能が応答メツセージにより実現されている。収集
されたコマンドのロギングデータは、コマンド入力メツ
セージとコマンド終了メツセージとを対にして、順に表
示出力することくより表示することができる。
(Prior Art) A response message to a command input to a computer consists of a command input message (including a command input image) and a command end message, and a message logging function is realized by the response message. The collected command logging data can be displayed by pairing a command input message and a command completion message and sequentially outputting them for display.

従来、複数の端末からのコマンド入力は一括して一つの
ログファイルで管理することくよりコマンド人力諺グの
集中管理が行われていた。また、同一の端末から複数の
コマンド入力が可能な場合には、それらも一つのログフ
ァイルで集中管理していた。コマンドとして他の端末で
何が入力されたかを把握することや、同じ端末からどの
ようなコマンドが入力されていたかを把握する目的で集
中管理が行われている。このとき、ロギングファイルの
形式は、四ギング情報の発生するたびにメツセージ情報
のみを追加記録してゆく方式として実現されていた。
Conventionally, command inputs from multiple terminals have been centrally managed using manual commands rather than being managed all at once in a single log file. Additionally, if multiple commands could be entered from the same terminal, they were also centrally managed using a single log file. Centralized management is performed for the purpose of understanding what commands have been entered on other terminals, and what commands have been entered from the same terminal. At this time, the format of the logging file was such that only message information was additionally recorded each time 4-ging information occurred.

第2図は、従来技術によるコマンドメッセージロギング
方式の一例におけるファイルの構成例を示すブロック図
である。第2図において、1はコマンドロギングファイ
ル、4はコマンド入力メツセージ本体、6はコマンド入
力メツセージエリア、3はコマンド終了メツセージ本体
、10はコマンド終了メツセージエリアである。
FIG. 2 is a block diagram showing an example of a file structure in an example of a command message logging method according to the prior art. In FIG. 2, 1 is a command logging file, 4 is a command input message body, 6 is a command input message area, 3 is a command end message body, and 10 is a command end message area.

(発明が解決しようとする課題) 上述した従来のメツセージロギング方式では、コマンド
人力メツセージ、ならびにコマンド終了メツセージをま
とめて同時に書込む方式となシ、コマンドメツセージの
書込みはコマンドの終了時だけに行う必要がある。この
ため、ロギング情報はコマンド起動時の順序ではなく、
コマンドの終了順に従って書込まれてゆくことkなる。
(Problems to be Solved by the Invention) In the conventional message logging method described above, the manual command message and the command end message are written simultaneously, and the command message needs to be written only at the end of the command. There is. For this reason, logging information is not in the order in which the command is started, but in
They are written in the order in which the commands are completed.

したがって、コマンドの目グ情報を表示するときKは、
そのままコマンドの終了順に表示するか、または再度、
コマンドの起動順K並びかえてから表示する必要がある
という欠点がある。
Therefore, when displaying the command information, K is
Display the commands in the order they finished, or again.
There is a drawback that it is necessary to rearrange the order of command activation before displaying them.

本発明の目的は、コマンド入力メツセージのロギング場
所を示すコマンド入力インデクス番号とコマンド終了メ
ツセージのロギング場所を示すコマンド終了インデクス
番号とを有し、コマンドメツセージ本体と同時に記憶す
るとともに、コマンドロギングメツセージの出力時にコ
マンド入力順またはコマンド終了順に表示することによ
って上記欠点を除去し、有効にコマンドメツセージを格
納できるように構成したコマンドメツセージのロギング
方式を提供することにある。
An object of the present invention is to have a command input index number indicating a logging location of a command input message and a command termination index number indicating a logging location of a command termination message, and to store the command message itself simultaneously, and output the command logging message. It is an object of the present invention to provide a logging method for command messages that is configured to eliminate the above-mentioned drawbacks and to effectively store command messages by displaying the commands in the order in which the commands are input or in the order in which the commands are completed.

(ia題を解決するための手段) 本発明によるコマンドメツセージのロギング方式は、記
憶手段と、表示手段とを具備して構成したものである。
(Means for Solving the IA Problem) The command message logging method according to the present invention is configured to include a storage means and a display means.

記憶手段は、コマンド人力メツセージのロギング場所を
示すコマンド入力インデクス番号とコマンド終了メツセ
ージのロギング場所を示す=マント終了インデクス番号
とを有し、コマンドメツセージ本体と同時に記録するた
めのものである。
The storage means has a command input index number indicating the logging location of the command manual message and a cloak end index number indicating the logging location of the command end message, and is for recording at the same time as the command message itself.

表示手段は、コマンドロギングメツセージの出力時にコ
マンド入力llIまたはコマノ終了順順に表示するため
のものである。
The display means is for displaying command logging messages in the order of command input or command completion when outputting command logging messages.

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

第1図は、本発明によるコマンドメツセージのロギング
方式の一実施例におけるロギングファイルの構成を示す
ブロック図である。
FIG. 1 is a block diagram showing the structure of a logging file in an embodiment of the command message logging method according to the present invention.

第1図において、1はコマンドロギングファイ、ル、2
はインデクスフイールド、墨はメツセージフィールド、
4はコマンド入力メツセージ本体、5はコマンド入力メ
ツセージエリア、8はコマンド入力インデクス番号、1
はコマンド終了インデクス番号、8はコマンド終了イン
デクスエリア、9はコマンド終了メツセージ本体、10
はコマンド終了メツセージエリア、11はコマンド入力
インデクスエリアである。とれらのうちでメモリエリア
は記憶手段により実現され、メツセージなどは表示手段
に表示される。
In Figure 1, 1 is a command logging file, 2 is a command logging file,
is the index field, ink is the message field,
4 is the command input message body, 5 is the command input message area, 8 is the command input index number, 1
is the command end index number, 8 is the command end index area, 9 is the command end message body, 10
1 is a command end message area, and 11 is a command input index area. Among these, the memory area is realized by a storage means, and messages etc. are displayed on a display means.

コマンドロギングファイル1は、インデクスフイールド
2とメツセージフィールド3とから構成され、コマンド
のロギング情報が追加して書込まれてゆく。一つのコマ
ンドが入力されると、コマンド入力メツセージ本体4が
コマンド入力メッセージエリアBK書込まれる。
The command logging file 1 is composed of an index field 2 and a message field 3, and command logging information is additionally written therein. When one command is input, a command input message body 4 is written into the command input message area BK.

コマンドロギングファイル1にはコマンド入力メツセー
ジが書込まれたファイル上のコマンド入力インデクス番
号8があり、コマンド処理本体はこのときのコマンド入
力インデクス番号6を記憶しておき、コマンド終了時に
コマンド入力インデクス番号6がコマンド終了インデク
ス番号1のコマンド終了インデクスエリア3に書込まれ
る。
The command logging file 1 has a command input index number 8 on the file in which the command input message is written, and the command processing main body stores the command input index number 6 at this time, and returns the command input index number when the command ends. 6 is written in the command end index area 3 of command end index number 1.

コマンド終了メツセージ本体9は、コマンド終了メツセ
ージエリアIOK書込まれる。このとき、プマンド入力
インデクス番号6に該当するコマンド入力インデクスエ
リア11に1コマンド終了インデクス番号Tが書込まれ
る。
The command end message body 9 is written in the command end message area IOK. At this time, the 1-command end index number T is written in the command input index area 11 corresponding to the command input index number 6.

(発明の効果) 以上説明したように本発明は、ロギングファイルへの書
込みフィールドにコマンド入力メツセージ、およびコマ
ンド終了メツセージのインデクス番号を保持し、双方で
参照しあうことによシ、コマンドのロギングデータ出力
時にコマンドを入力1@に出力したい場合には、コマン
ド入力メツセージのみをサーチしてインデクス番号から
参照される対応コマンド終了メツセージを同時に出力す
ることができるという効果がある。また同様に、コマン
ドを終了類に出力したい場合には、コマンド終了メツセ
ージのみをサーチしてインデクス番号から参照される対
応コマンド入力メツセージを同時に出力することも可能
であシ、それらは非常に少い処理量で実現することがで
きるという効果がある。
(Effects of the Invention) As explained above, the present invention retains the index numbers of the command input message and the command end message in the write field to the logging file, and by mutually referencing them, the logging data of the command can be stored. When it is desired to output a command to input 1@ at the time of output, the effect is that only the command input message can be searched and the corresponding command end message referenced from the index number can be output at the same time. Similarly, if you want to output a command to the termination category, it is possible to search only for the command termination message and output the corresponding command input message referenced from the index number at the same time, but there are very few of them. This has the effect of being able to achieve this through processing.

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

第1図は、本発明によるコマンドメッセージのロギング
方式の一実施例におけるファイルの構成を示すブロック
図である。 第2図は、従来のコマンドメツセージロギング方式の一
例におけるファイルの構成を示すブロック図である。 1・・・コマンドロギングファイル 2・・・インデクスフイールド S・・・メツセージフィールド 4争 5@ 6・ 7・ 3・ コマンド入力メシセージ本体 コマンド入力メツセージエリア プマンド入力インデクス番号 コマンド終了インデクス番号 コマンド終了インデクスエリア コマンド終了メツセージ本体 ・コマンド終了メツセージエリア ・コマンド入力インデクスエリア
FIG. 1 is a block diagram showing the structure of a file in an embodiment of the command message logging method according to the present invention. FIG. 2 is a block diagram showing the structure of a file in an example of a conventional command message logging method. 1... Command logging file 2... Index field S... Message field 4 contest 5 @ 6. 7. 3. Command input message body Command input message area Command input index number Command end index number Command end index area Command end message body, command end message area, command input index area

Claims (1)

【特許請求の範囲】[Claims] コマンド入力メッセージのロギング場所を示すコマンド
入力インデクス番号とコマンド終了メッセージのロギン
グ場所を示すコマンド終了インデクス番号とを有し、コ
マンドメッセージ本体と同時に記録するための記録手段
と、コマンドロギングメツセージの出力時にコマンド入
力順またはコマンド終了順に表示するための表示手段と
を具備して構成したことを特徴とするコマンドメッセー
ジのロギング方式。
It has a command input index number indicating the logging location of the command input message and a command end index number indicating the logging location of the command completion message, and a recording means for recording the command message body at the same time, and a command input index number indicating the logging location of the command input message. A logging method for command messages, comprising a display means for displaying commands in order of input or completion of commands.
JP1040935A 1989-02-21 1989-02-21 Logging system for command message Pending JPH02219164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1040935A JPH02219164A (en) 1989-02-21 1989-02-21 Logging system for command message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1040935A JPH02219164A (en) 1989-02-21 1989-02-21 Logging system for command message

Publications (1)

Publication Number Publication Date
JPH02219164A true JPH02219164A (en) 1990-08-31

Family

ID=12594360

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1040935A Pending JPH02219164A (en) 1989-02-21 1989-02-21 Logging system for command message

Country Status (1)

Country Link
JP (1) JPH02219164A (en)

Similar Documents

Publication Publication Date Title
JPH02219164A (en) Logging system for command message
JPS6022236A (en) Message output system
JPS63175948A (en) Message logging system
JPH0254346A (en) File switching processing method
JPS63259724A (en) Comment information attaching system
JPS61120260A (en) Access device for sequential data memory circuit
JPS6319049A (en) File capacity display system
JPS63280356A (en) Buffer management system for virtual disk device
JPS62229404A (en) Sequence controller
JPH02257282A (en) Table preparation processor
JPH07182215A (en) Data managing device
JPS63138428A (en) Output method for logical variable
JPH04205045A (en) Message array queue control method
JPS62251845A (en) Program debugging device
JPS6364152A (en) Message queue control system
JPS63231646A (en) Simulative processing system for storage device
JPS63153655A (en) Memory access control system
JPH04172541A (en) Record storage unit
JPS6368927A (en) Message detail display system
JPS63143662A (en) Text managing system
JPS6295665A (en) Memory access control system
JPS61166643A (en) Image information control system
JPH05274205A (en) Data filing system
JPS59223028A (en) Counting device of multi-channel pulse signal
JPH0743706B2 (en) Table data creation method and table display method