JP3265267B2 - Forced panic method and its program recording medium - Google Patents

Forced panic method and its program recording medium

Info

Publication number
JP3265267B2
JP3265267B2 JP20332498A JP20332498A JP3265267B2 JP 3265267 B2 JP3265267 B2 JP 3265267B2 JP 20332498 A JP20332498 A JP 20332498A JP 20332498 A JP20332498 A JP 20332498A JP 3265267 B2 JP3265267 B2 JP 3265267B2
Authority
JP
Japan
Prior art keywords
panic
command
peripheral device
dump
host computer
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
JP20332498A
Other languages
Japanese (ja)
Other versions
JP2000035905A (en
Inventor
泰一 桑原
Original Assignee
エヌイーシーソフト株式会社
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 エヌイーシーソフト株式会社 filed Critical エヌイーシーソフト株式会社
Priority to JP20332498A priority Critical patent/JP3265267B2/en
Publication of JP2000035905A publication Critical patent/JP2000035905A/en
Application granted granted Critical
Publication of JP3265267B2 publication Critical patent/JP3265267B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は強制パニック方式お
よびそのプログラム記録媒体に関し、特にホストコンピ
ュータから指示して周辺装置にパニックを発生させる強
制パニック方式およびそのプログラム記録媒体に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a forced panic method and a program recording medium thereof, and more particularly to a forced panic method of causing a peripheral device to panic in accordance with an instruction from a host computer and a program recording medium thereof.

【0002】[0002]

【従来の技術】従来、ホストコンピュータに接続されて
動作する周辺装置に関する情報を収集する場合には、周
辺装置本体のダンプスイッチを押下しなければならな
い。そして、このようにして採取したダンプには、その
ダンプを採取した理由が記録されていないので、その解
析の際に周辺装置の状態との対応付けが困難になること
がある。
2. Description of the Related Art Conventionally, when collecting information about a peripheral device connected to a host computer and operating, a dump switch of the peripheral device body must be pressed. Since the dump collected in this manner does not record the reason for collecting the dump, it may be difficult to associate the dump with the state of the peripheral device at the time of analysis.

【0003】通常、ダンプは周辺装置がパニックを発生
したときに採取される。そしてパニックは障害時または
ダンプスイッチを押下したときに発生する。したがって
正常な運転状態では周辺装置本体のダンプスイッチを押
下しないかぎり、パニックは発生せずダンプを採取する
ことができない。
[0003] Usually, a dump is collected when a peripheral device panics. A panic occurs when a failure occurs or when the dump switch is pressed. Therefore, unless the dump switch of the peripheral device main body is pressed in a normal operation state, panic does not occur and a dump cannot be collected.

【0004】[0004]

【発明が解決しようとする課題】上記のように、従来強
制的にパニックを発生させてダンプを採取するために
は、周辺装置本体のダンプスイッチを押下しなければな
らない。周辺装置を含むコンピュータシステムのデバッ
グ時には、周辺装置に障害が発生しない場合にもそのダ
ンプを採取する必要があることがあり、その場合には周
辺装置の設置場所へ行ってそのダンプスイッチを押下す
る必要がある。また、このように採取したダンプには採
取の理由が記録されていない。
As described above, conventionally, in order to forcibly generate a panic and collect a dump, it is necessary to depress the dump switch of the peripheral device main body. When debugging a computer system including a peripheral device, it may be necessary to collect a dump of the peripheral device even if no failure occurs. In such a case, go to the location of the peripheral device and press the dump switch. There is a need. Further, the reason for collection is not recorded in the dump collected in this manner.

【0005】本発明の目的は、周辺装置の情報収集のた
めにダンプの採取が必要な場合に上記のような不便を回
避し、ホストコンピュータからの指示によって強制的に
パニックを発生させてダンプを採取し、そのダンプには
採取の理由を示すコメントを付加する強制パニック方式
およびそのプログラム記録媒体を提供することにある。
An object of the present invention is to avoid the above-mentioned inconvenience when it is necessary to collect a dump in order to collect information on a peripheral device, and to force a panic according to an instruction from a host computer to perform a dump. It is an object of the present invention to provide a forced panic method for collecting a dump and adding a comment indicating the reason for the dump to the dump, and a program recording medium for the method.

【0006】[0006]

【課題を解決するための手段】本発明の強制パニック方
式は、ホストコンピュータに接続された周辺装置を備え
るコンピュータシステムにおいて、前記周辺装置は前記
ホストコンピュータが発行するパニックコマンドを受付
け、前記パニックコマンドを実行してパニックを発生し
そのダンプを採取するようにして構成される。
According to the forced panic method of the present invention, in a computer system having a peripheral device connected to a host computer, the peripheral device receives a panic command issued by the host computer, and receives the panic command. It is configured to execute and generate a panic and collect a dump.

【0007】また、本発明の強制パニック方式は、ホス
トコンピュータに接続された周辺装置を備えるコンピュ
ータシステムにおいて、前記ホストコンピュータは前記
周辺装置にパニックを発生させるパニックコマンドを送
出するコマンド実行指示手段を備え、前記周辺装置は前
記パニックコマンドを取込むコマンド受付手段と,前記
コマンド受付手段が取込んだパニックコマンドを実行し
パニックを発生させるパニック処理手段とを備えて構成
される。
According to another aspect of the present invention, there is provided a computer system including a peripheral device connected to a host computer, wherein the host computer includes command execution instructing means for transmitting a panic command for causing the peripheral device to panic. The peripheral device includes command receiving means for receiving the panic command, and panic processing means for executing the panic command received by the command receiving means and generating a panic.

【0008】さらに、本発明の強制パニック方式におい
て、前記パニックコマンドはコメントを含み、前記周辺
装置が前記パニックコマンドによってパニックを発生し
たときに採取するダンプには前記コメントを付加するよ
うにして構成される。
Further, in the forced panic method of the present invention, the panic command includes a comment, and the comment is added to a dump collected when the peripheral device generates a panic due to the panic command. You.

【0009】また、本発明のプログラム記録媒体は、ホ
ストコンピュータに接続された周辺装置を備えるコンピ
ュータシステムにおいて、前記ホストコンピュータが発
行するパニックコマンドによって前記周辺装置にパニッ
クを発生させる強制パニック方式において実行されるプ
ログラムを記録したプログラム記録媒体であって、前記
ホストコンピュータに、前記周辺装置にパニックを発生
させるパニックコマンドを送出させ、前記周辺装置に、
前記パニックコマンドを取得させ、取得したパニックコ
マンドを実行させてパニックを発生させ、そのダンプを
採取させることを特徴とする。
Further, the program recording medium of the present invention is
Computer with peripheral devices connected to the
In a computer system, the host computer
Panic command to the peripheral device
Blocks executed in forced panic mode
A program recording medium recording a program,
The host computer panics the peripheral device
To send a panic command to the peripheral device,
The panic command obtained by acquiring the panic command
Command to panic and dump
It is characterized by being collected.

【0010】さらに、本発明のプログラム記録媒体は、
前記パニックコマンドにはコメントが含まれ、前記パニ
ックコマンドによって前記周辺装置にパニックを発生さ
せたときに採取させるダンプには前記コメントを付加さ
せることを特徴とする。
[0010] Further, the program recording medium of the present invention comprises:
The panic command contains a comment and the panic command
Command panics the peripheral device.
The above comment is added to the dump to be collected when
It is characterized by

【0011】[0011]

【発明の実施の形態】以下、本発明について図面を参照
しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0012】図1は本発明の実施の一形態を示す説明図
である。同図において、本発明による強制パニック方式
は、ホストコンピュータ1に接続された周辺装置2を備
えるコンピュータシステムにおいて、前記ホストコンピ
ュータは前記周辺装置にパニックを発生させるパニック
コマンドを送出するコマンド実行指示手段1aを備え、
前記周辺装置は前記パニックコマンドを取込むコマンド
受付手段2aと,前記コマンド受付手段が取込んだパニ
ックコマンドを実行しパニックを発生させるパニック処
理手段2bとを備えて構成される。
FIG. 1 is an explanatory diagram showing an embodiment of the present invention. In the figure, in a forced panic system according to the present invention, in a computer system including a peripheral device 2 connected to a host computer 1, the host computer sends a panic command for causing the peripheral device to panic. With
The peripheral device includes command receiving means 2a for receiving the panic command, and panic processing means 2b for executing the panic command received by the command receiving means and generating a panic.

【0013】ここで、前記パニックコマンドはコメント
を含み、前記周辺装置が前記パニックコマンドによって
パニックを発生したときに採取するダンプには前記コメ
ントを付加する。
Here, the panic command includes a comment, and the comment is added to a dump collected when the peripheral device generates a panic by the panic command.

【0014】次に、上記の強制パニック方式の動作につ
いて説明する。
Next, the operation of the above-mentioned forced panic method will be described.

【0015】ホストコンピュータ1から周辺装置2にパ
ニックコマンドとパニック時のコメントが入力される
と、周辺装置のカーネルに組み込まれているコマンド受
付手段2aがパニックコマンドとコメントを受け取り、
UNIXのアプリケーション層に伝える。パニックコマ
ンドはカーネル内のパニック処理手段2bにパニック要
求とコメントを伝える。パニック処理手段2bは要求に
より周辺装置をパニックするように処理を行う。そのと
きに、受け取ったコメントをダンプに反映するようにす
る。
When a panic command and a comment at the time of a panic are input from the host computer 1 to the peripheral device 2, the command receiving means 2a incorporated in the kernel of the peripheral device receives the panic command and the comment,
Notify the UNIX application layer. The panic command transmits a panic request and a comment to the panic processing means 2b in the kernel. The panic processing means 2b performs processing so as to panic the peripheral device upon request. At that time, reflect the received comment in the dump.

【0016】図2は上記の強制パニック方式の具体例を
示す説明図である。同図において、ホストコンピュータ
10はチャネル30を介して通信処理装置20に接続さ
れ、さらに通信処理装置20はLAN40に接続されて
いる。すなわち、ホストコンピュータ10はLAN40
上の端末と通信することができる。
FIG. 2 is an explanatory diagram showing a specific example of the above-mentioned forced panic method. In the figure, a host computer 10 is connected to a communication processing device 20 via a channel 30, and the communication processing device 20 is further connected to a LAN 40. That is, the host computer 10 is connected to the LAN 40
Can communicate with the above terminal.

【0017】まず、ホストコンピュータ10のパニック
コマンド実行指示手段11は、通信処理装置上のパケッ
ト中に特定のものが現れたときに、通信処理装置にパニ
ックを起こしダンプを採取するために、パニックコマン
ドを実行する。このときにコマンドのオプションにパニ
ック時のメッセージを乗せて実行する。
First, the panic command execution instructing means 11 of the host computer 10 transmits a panic command to the communication processing device when a particular packet appears on the communication processing device to collect a dump. Execute At this time, the panic message is executed with the command option.

【0018】通信処理装置20のコマンド受付手段21
はコマンドを受け取ると、通信処理装置のカーネルはホ
ストコンピュータより渡されたコマンドをアプリケーシ
ョン層にいるコマンド実行デーモンに渡す。
Command receiving means 21 of communication processing device 20
Receives the command, the kernel of the communication processing device passes the command passed from the host computer to the command execution daemon in the application layer.

【0019】次に、コマンド実行手段22は渡されたコ
マンドを実行する。コマンドが実行されると、パニック
要求とそれに反映されるメッセージがカーネルへ渡され
る。
Next, the command execution means 22 executes the passed command. When the command is executed, a panic request and a message reflecting the panic request are passed to the kernel.

【0020】そして、パニック実行手段33では、カー
ネルは受け取ったパニック要求とメッセージをパニック
処理を行う部分に渡す。パニック処理部分はパニックの
実行を行い、メッセージはダンプ処理に渡す。パニック
が実行されるとダンプ処理が行われ、渡されたメッセー
ジはダンプのステータス部分に格納される。
Then, in the panic executing means 33, the kernel passes the received panic request and message to a part for performing panic processing. The panic processing part performs panic, and passes the message to the dump processing. When the panic is executed, dump processing is performed, and the passed message is stored in the status part of the dump.

【0021】なお、上記の強制パニック方式はホストコ
ンピュータおよび周辺装置の主記憶(図示していな
い。)に保持されたプログラムを実行することによって
動作する。このプログラムは、通常、ハードディスクな
どの媒体に格納されており、システムの運用時に主記憶
にロードされ、必要時に実行される。
The above-mentioned forced panic method operates by executing a program stored in a main memory (not shown) of a host computer and a peripheral device. This program is usually stored in a medium such as a hard disk, loaded into the main memory during operation of the system, and executed when necessary.

【0022】[0022]

【発明の効果】以上、詳細に説明したように、本発明に
よればホストコンピュータから周辺装置に対して強制的
にパニックの実行を行うことができ、またこの時にコメ
ントを付け加えることによりパニック処理で採取される
ダンプに採取時の状況を反映することができる。このこ
とにより、ホストコンピュータからの遠隔操作で周辺装
置を強制的にパニックさせダンプ情報の採取を行うこと
ができるという効果がある。
As described above in detail, according to the present invention, a panic can be forcibly executed from a host computer to a peripheral device, and a comment is added at this time to execute a panic process. The status at the time of collection can be reflected in the collected dump. As a result, there is an effect that the peripheral device can be forcibly panicked and the dump information can be collected by remote control from the host computer.

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

【図1】本発明の実施の一形態を示す説明図。FIG. 1 is an explanatory diagram showing one embodiment of the present invention.

【図2】本発明の実施の具体例を示す説明図。FIG. 2 is an explanatory diagram showing a specific example of an embodiment of the present invention.

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

1 ホストコンピュータ 1a コマンド実行指示手段 2 周辺装置 2a コマンド受付手段 2b パニック処理手段 DESCRIPTION OF SYMBOLS 1 Host computer 1a Command execution instructing means 2 Peripheral device 2a Command receiving means 2b Panic processing means

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/34 G06F 13/00 301 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 11/34 G06F 13/00 301

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ホストコンピュータに接続された周辺装
置を備えるコンピュータシステムにおいて、前記周辺装
置は前記ホストコンピュータが発行するパニックコマン
ドを受付け、前記パニックコマンドを実行してパニック
を発生しそのダンプを採取することを特徴とする強制パ
ニック方式。
1. In a computer system having a peripheral device connected to a host computer, the peripheral device receives a panic command issued by the host computer, executes the panic command, generates a panic, and collects a dump thereof. A forced panic method characterized by the following.
【請求項2】 ホストコンピュータに接続された周辺装
置を備えるコンピュータシステムにおいて、前記ホスト
コンピュータは前記周辺装置にパニックを発生させるパ
ニックコマンドを送出するコマンド実行指示手段を備
え、前記周辺装置は前記パニックコマンドを取込むコマ
ンド受付手段と,前記コマンド受付手段が取込んだパニ
ックコマンドを実行しパニックを発生させるパニック処
理手段とを備えることを特徴とする強制パニック方式。
2. A computer system comprising a peripheral device connected to a host computer, said host computer comprising command execution instructing means for sending a panic command for causing said peripheral device to panic, wherein said peripheral device comprises said panic command. A forced panic method, comprising: a command receiving means for receiving a panic command; and a panic processing means for executing a panic command received by the command receiving means and generating a panic.
【請求項3】 請求項1または2記載の強制パニック方
式において、前記パニックコマンドはコメントを含み、
前記周辺装置が前記パニックコマンドによってパニック
を発生したときに採取するダンプには前記コメントを付
加することを特徴とする強制パニック方式。
3. The forced panic method according to claim 1, wherein the panic command includes a comment,
A compulsory panic method, wherein the comment is added to a dump collected when the peripheral device generates a panic due to the panic command.
【請求項4】 ホストコンピュータに接続された周辺装
置を備えるコンピュータシステムにおいて、前記ホスト
コンピュータが発行するパニックコマンドによって前記
周辺装置にパニックを発生させる強制パニック方式にお
いて実行されるプログラムを記録したプログラム記録媒
体であって、 前記ホストコンピュータに、前記周辺装置にパニックを
発生させるパニックコマンドを送出させ、 前記周辺装置に、前記パニックコマンドを取得させ、取
得したパニックコマンドを実行させてパニックを発生さ
せ、そのダンプを採取させることを特徴とするプログラ
ムを記録したプログラム記録媒体。
4. A computer system comprising a peripheral device connected to a host computer, wherein the host
The panic command issued by the computer
Forced panic method to panic peripheral devices
Program recording medium on which a program to be executed is recorded
Body , panicing the peripheral device with the host computer
The panic command to be generated is transmitted, and the peripheral device acquires the panic command.
Executing the obtained panic command causes panic
Program to collect the dump.
A program recording medium on which a program is recorded.
【請求項5】 請求項4記載のプログラム記録媒体にお
いて、前記パニックコマンドにはコメントが含まれ、前
記パニックコマンドによって前記周辺装置にパニックを
発生させたときに採取させるダンプには前記コメントを
付加させることを特徴とするプログラムを記録したプロ
グラム記録媒体。
5. The program recording medium according to claim 4, wherein
And the panic command contains a comment,
Panic the peripheral device with the panic command
The above comment is included in the dump to be collected when it is generated.
A program that records a program characterized by being added
Gram recording medium.
JP20332498A 1998-07-17 1998-07-17 Forced panic method and its program recording medium Expired - Fee Related JP3265267B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20332498A JP3265267B2 (en) 1998-07-17 1998-07-17 Forced panic method and its program recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20332498A JP3265267B2 (en) 1998-07-17 1998-07-17 Forced panic method and its program recording medium

Publications (2)

Publication Number Publication Date
JP2000035905A JP2000035905A (en) 2000-02-02
JP3265267B2 true JP3265267B2 (en) 2002-03-11

Family

ID=16472138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20332498A Expired - Fee Related JP3265267B2 (en) 1998-07-17 1998-07-17 Forced panic method and its program recording medium

Country Status (1)

Country Link
JP (1) JP3265267B2 (en)

Also Published As

Publication number Publication date
JP2000035905A (en) 2000-02-02

Similar Documents

Publication Publication Date Title
US6769077B2 (en) System and method for remotely creating a physical memory snapshot over a serial bus
US5829045A (en) Apparatus for restoring/copying the contents recorded in a storage medium to an auxiliary storage including partitions having independent file structures
KR890017606A (en) Software agent for computer task automation and command delivery
US6633876B1 (en) Analyzing post-mortem information on a remote computer system using a downloadable code module
US6836881B2 (en) Remote tracing of data processing nodes in an asynchronous messaging network
JP4288418B2 (en) Computer system, status acquisition method, and status acquisition program
US7188149B2 (en) Storage operating data control system
JP2842889B2 (en) Modular compiler
JP3265267B2 (en) Forced panic method and its program recording medium
JP2001051871A (en) Remote debugging device
JPH0291735A (en) Maintenance managing system for remote fault
JP4499509B2 (en) Ubiquitous application providing system, computer, ubiquitous application providing method and program
JPH11296351A (en) System for generating parameter for constructing environment, method therefor and recording medium
JP2708955B2 (en) File access device
JPH11305606A (en) Equipment management system, method thereof, and storage medium
CN114443452A (en) Host operating system crash detection method, host and storage medium
JP3316739B2 (en) Device interface control method
JPS59177660A (en) Logging system of diagnostic result in electronic computer
JP3068485B2 (en) Keyboard log information output device
JP2912046B2 (en) File server control method
JPH0143335B2 (en)
JP3432671B2 (en) Interruption method of other business
JPS60181941A (en) State information collecting system
JP2000259435A (en) Multioperating system, error information centralizing method and recording medium
JP2000353116A (en) Data processing system and recording medium

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011204

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071228

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081228

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091228

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091228

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101228

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111228

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111228

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121228

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees