JPH04175938A - Dump acquisition quantity reduction system - Google Patents

Dump acquisition quantity reduction system

Info

Publication number
JPH04175938A
JPH04175938A JP2302377A JP30237790A JPH04175938A JP H04175938 A JPH04175938 A JP H04175938A JP 2302377 A JP2302377 A JP 2302377A JP 30237790 A JP30237790 A JP 30237790A JP H04175938 A JPH04175938 A JP H04175938A
Authority
JP
Japan
Prior art keywords
dump
program
exit
dump acquisition
acquisition
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
JP2302377A
Other languages
Japanese (ja)
Inventor
Yukio Funyu
船生 幸雄
Hirokazu Kawada
川田 浩和
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2302377A priority Critical patent/JPH04175938A/en
Publication of JPH04175938A publication Critical patent/JPH04175938A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To decrease a dump acquisition quantity by registering exit programs specifying areas whose dump acquisition is not necessary for a program acquiring a dump, by on-line systems, and not acquiring the dump of an area specified by an exit program in an area that an on-line system uses. CONSTITUTION:If an on-line process 1 ends abnormally, the control is passed to the dump acquisition program 2. The dump acquisition program 2 executes a dump acquisition range determining process 2a for the area of an OS specified with the system parameter of the OS. Then it is judged that an exit is registered in the dump acquisition program 2, the control is passed to the exit program 3 in an exit process 2b. The exit program 3 performs a process for setting the head address and tail address of an unnecessary range which need not be acquired because write protection is set in the area of the program used by the on-line process 1. Consequently, since the dump acquisition quantity is decreased, the dump acquisition time is shortened.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計算機を利用したコンピュータオンラインシ
ステムにおいて、システムが異常終了した場合のメモリ
ダンプ取得量の削減方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for reducing the amount of memory dump obtained when the system terminates abnormally in a computer online system using a computer.

〔従来の技術〕[Conventional technology]

従来の計算機システムのメモリダンプ取得層の削減方式
には、例えば、特開平2−109147号公報がある。
A conventional method for reducing the memory dump acquisition layer of a computer system is disclosed in, for example, Japanese Patent Laid-Open No. 2-109147.

本方式はシステム異常終了時に特権プロセスの識別フラ
グが立設しているかどうかを判定して、特権プロセスに
対しては対応する空間の全領域メモリダンプを、非特権
プロセスに対しては対応する空間の制御領域のメモリダ
ンプを収集し、メモリダンプ量の削減を図るというもの
で、プロセス識別によってしかダンプ量の削減ができな
かった。
This method determines whether the privileged process identification flag is set when the system terminates abnormally, and performs a full memory dump of the corresponding space for the privileged process, and a memory dump of the entire area of the corresponding space for the non-privileged process. The aim was to collect memory dumps of the control area of the system and reduce the amount of memory dumps, but the only way to reduce the amount of dumps was by identifying processes.

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

上記従来技術では、システム異常終了時のメモリダンプ
取得範囲をオンラインシステムのようなO8のサブシス
テムが自由に決定する手段はなく木目の細かいメモリダ
ンプ取得ができないという問題があった。
In the above-mentioned conventional technology, there is no means for the O8 subsystem, such as an online system, to freely determine the range of memory dump acquisition when the system terminates abnormally, and there is a problem in that a detailed memory dump cannot be acquired.

本発明は、O8が管理しているエリアの中でもダンプ取
得時に大部分を占めるシステム共通領域について、オン
ラインシステムが独自にダンプ取得不要な領域を予め指
定できるような手段を提供することによりダンプ取得量
を削減することを目的とする。
The present invention reduces the amount of dumps obtained by providing a means for the online system to independently specify in advance areas where dumps do not need to be obtained, regarding the system common area that occupies most of the areas managed by O8 when obtaining dumps. The aim is to reduce

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

上記目的を達成するため、メモリダンプ取得プログラム
に出口機能をもたせて、オンラインシステムが異常終了
した場合、ダンプ取得の不要な領域を決定するプログラ
ムを登録しておくことにより、該プログラムにより決定
された領域をダンプ取得しないようにしたものである。
In order to achieve the above purpose, the memory dump acquisition program is provided with an exit function, and when the online system terminates abnormally, by registering a program that determines areas that do not require dump acquisition, the memory dump acquisition program is provided with an exit function. This prevents the area from being dumped.

これにより、システム共通領域の中でライトプロテクト
がかかっているため破壊される恐れのない領域などは、
不要領域としてダンプ取得せずに済むようになり、ダン
プ取得量の削減を可能にした。
As a result, areas in the system common area that are write-protected and are not likely to be destroyed, etc.
There is no longer a need to obtain dumps as unnecessary areas, making it possible to reduce the amount of dumps obtained.

〔作用〕[Effect]

ダンプ取得プログラムに登録する出口プログラムが異常
終了した時は、従来どおりシステム共通領域の全域ダン
プを取得する仕様にしているためダンプが全く取得され
なくなるようなことはない。
When the exit program registered in the dump acquisition program terminates abnormally, the system is configured to acquire a dump of the entire system common area as before, so there is no possibility that no dump will be acquired at all.

この他、出口プログラムが指定してきた情報に誤りがあ
るなど出口プログラムが正しく動作しないような場合も
、全域ダンプを取得するようにする。
In addition, if the exit program does not operate correctly, such as when there is an error in the information specified by the exit program, a full-area dump is also obtained.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図により説明する。 An embodiment of the present invention will be described below with reference to FIG.

オンライン処理1で、異常終了が発生するとダンプ取得
プログラム2に制御が渡る。ダンプ取得プログラム2で
はまず、O8のシステムパラメタで指定されている○S
の領域のダンプ取得範囲決定処理2aを実行する。次に
ダンプ取得プログラム2に出口登録がされていると判断
されると、出口処理2bで出口プログラム3に制御が移
る。
When an abnormal termination occurs in online processing 1, control is passed to dump acquisition program 2. In the dump acquisition program 2, first, the ○S specified in the O8 system parameters is
Dump acquisition range determination processing 2a for the area is executed. Next, when it is determined that the exit has been registered in the dump acquisition program 2, control is transferred to the exit program 3 in exit processing 2b.

出口プログラム3では、オンライン処理1で使用するプ
ログラムの領域のうち、ライトプロテクトがかかってい
るため取得する必要がない不要範囲の先頭アドレスと最
終アドレスをパラメタリスト4に設定する処理を行う。
The exit program 3 performs a process of setting in the parameter list 4 the start and end addresses of unnecessary ranges that do not need to be acquired because they are write-protected among the areas of the program used in the online processing 1.

出口プログラム3で不要範囲の指定が終了すると出口処
理2bが終了し、ダンプ取得範囲決定処理2cを実行す
る。
When the exit program 3 finishes specifying the unnecessary range, the exit process 2b ends, and the dump acquisition range determining process 2c is executed.

ダンプ取得範囲決定処理2cでは、処理2aで求めた取
得範囲から処理2bで求めた不要範囲を差し引き、ダン
プ取得範囲を決定する。
In the dump acquisition range determination process 2c, the unnecessary range determined in process 2b is subtracted from the acquisition range determined in process 2a to determine the dump acquisition range.

そして、このダンプ取得範囲に従って、ダンプ取得処理
2dでダンプファイル5にダンプを出力する。
Then, according to this dump acquisition range, the dump is output to the dump file 5 in the dump acquisition process 2d.

第2図は、従来のダンプ取得方式である。従来方式では
、オンライン処理(201)が異常終了して、ダンプ取
得プログラム(202)に制御が渡ると、O8のパラメ
タ指定によるダンプ取得範囲決定処理(202a)を行
ったあとすぐに、ダ  2ンプ取得処理(202b)を
行い、ダンプファイル(203)に取得していた。
FIG. 2 shows a conventional dump acquisition method. In the conventional method, when the online processing (201) terminates abnormally and control is passed to the dump acquisition program (202), the dump acquisition program (202) immediately executes the dump acquisition range determination process (202a) based on the O8 parameter specification. The acquisition process (202b) was performed and the data was acquired in the dump file (203).

第3図に、ダンプ削減のイメージを示す。第2図かられ
かるように、従来のダンプ取得方式では、従来のダンプ
取得範囲(301)に示すように○Sのパラメタ指定の
あった領域すべてとなる。
Figure 3 shows an image of dump reduction. As can be seen from FIG. 2, in the conventional dump acquisition method, as shown in the conventional dump acquisition range (301), all areas where the parameter of ○S is specified are included.

一方、第1図に示すようにダンプ不要範囲を除く方式を
使えば、パラメタリスト(303)で指定した不要範囲
(304)を除く、ダンプ取得範囲(302)を取得す
る。
On the other hand, if the method of excluding the dump unnecessary range as shown in FIG. 1 is used, the dump acquisition range (302) excluding the unnecessary range (304) specified in the parameter list (303) is obtained.

以上のようにして、オンライン異常終了時のダンプ取得
量を削減できる。
In the manner described above, the amount of dumps obtained when online abnormal termination can be reduced.

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

本発明によれば、オンライン異常終了時取得不要な領域
の範囲をプログラム的に指定できるのでダンプ取得量の
削減を柔軟に行うことができる。
According to the present invention, since it is possible to programmatically specify the range of areas that do not need to be acquired at the time of online abnormal termination, it is possible to flexibly reduce the amount of dump acquisition.

これにより、ダンプ取得量が削減できるため、ダンプ取
得時間が短縮できる他、ダンプを出力するファイル容量
も削減することができる。
As a result, the amount of dumps to be acquired can be reduced, so that the dump acquisition time can be shortened, and the file size for outputting dumps can also be reduced.

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

第1図は本発明の実現方式を示す図、第2図は従来のダ
ンプ取得方式を示す図、第3図はダンプ不要範囲のイメ
ージを示した図である。 2・・・オンラインが異常終了した時等にダンプを取得
する制御プログラム 3・・・オンラインが管理している領域のうち取得不要
な範囲を指定する出口プログラム。 4・・ダンプ取得不要範囲を出口プログラムから、ダン
プ取得プログラムに連絡するためのパラメタリスト。 T5 l 図
FIG. 1 is a diagram showing an implementation method of the present invention, FIG. 2 is a diagram showing a conventional dump acquisition method, and FIG. 3 is a diagram showing an image of an unnecessary dump range. 2... A control program that acquires a dump when online ends abnormally, etc. 3... An exit program that specifies a range that does not need to be acquired among the areas managed by online. 4. Parameter list for informing the dump acquisition program from the exit program of the range where dump acquisition is unnecessary. T5 l diagram

Claims (1)

【特許請求の範囲】[Claims] 1、オンラインシステムのダンプ取得方式において、ダ
ンプを取得するプログラムに対してダンプ取得不要な領
域を指定する出口プログラムをオンラインシステム毎に
出口登録できるようにして、オンラインシステムが使用
していた領域のうち出口プログラムで指定された領域の
ダンプを取得しないようにすることでダンプ取得量の削
減を図るようにしたことを特徴とするダンプ取得量削減
方式。
1. In the dump acquisition method of the online system, an exit program that specifies the area where dump acquisition is not required for the program that acquires the dump can be registered for each online system, and the area used by the online system can be saved. A method for reducing the amount of dumps to be obtained, characterized in that the amount of dumps to be obtained is reduced by not obtaining a dump in an area specified by an exit program.
JP2302377A 1990-11-09 1990-11-09 Dump acquisition quantity reduction system Pending JPH04175938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2302377A JPH04175938A (en) 1990-11-09 1990-11-09 Dump acquisition quantity reduction system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2302377A JPH04175938A (en) 1990-11-09 1990-11-09 Dump acquisition quantity reduction system

Publications (1)

Publication Number Publication Date
JPH04175938A true JPH04175938A (en) 1992-06-23

Family

ID=17908170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2302377A Pending JPH04175938A (en) 1990-11-09 1990-11-09 Dump acquisition quantity reduction system

Country Status (1)

Country Link
JP (1) JPH04175938A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263331A (en) * 1995-03-22 1996-10-11 Kofu Nippon Denki Kk Information processing system
US7886297B2 (en) 2004-11-22 2011-02-08 Hitachi, Ltd. Program control process for an information processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263331A (en) * 1995-03-22 1996-10-11 Kofu Nippon Denki Kk Information processing system
US7886297B2 (en) 2004-11-22 2011-02-08 Hitachi, Ltd. Program control process for an information processing apparatus

Similar Documents

Publication Publication Date Title
EP0880096A1 (en) File backup system
WO2019237710A1 (en) Method, device and equipment for recognizing video cards of gpu servers, and medium
JPH04175938A (en) Dump acquisition quantity reduction system
CN113010407A (en) System information acquisition method, device and system
JPH0731617B2 (en) Program runaway detection method
CN111090578B (en) Joint debugging method and device for engineering development, computer equipment and storage medium
JP2513328B2 (en) Dump output method
JP2723821B2 (en) Dump collection control method
JP2990609B2 (en) Computer system
JP2000155677A (en) Method for preventing runaway of program and computer system for the method and recording medium for recording program for preventing runaway
JP3491369B2 (en) Data processing device
JPH06309236A (en) Illegal write detecting circuit for memory
JPH05143427A (en) Information processing system
JP2804088B2 (en) Setting method of peripheral device control information in computer system
JP2871998B2 (en) Program modification method
JPS60170068A (en) Magnetic card reading system
JPH0769892B2 (en) Program load method
CN115618386A (en) Method, toolkit, device and medium for copying and pasting between multiple security applications
JPH096684A (en) Computer system access error handling device
JPH01315839A (en) Patching execution condition output system
JPH01226042A (en) Program trace processing system
JPS5972542A (en) Correcting system of object program
JPS635431A (en) Management system for program patch information
JPH03246643A (en) Processing for editing dump summary
JPH10240563A (en) Debugging support system