JPH03278246A - Processing method for collecting abnormal information - Google Patents
Processing method for collecting abnormal informationInfo
- Publication number
- JPH03278246A JPH03278246A JP2079272A JP7927290A JPH03278246A JP H03278246 A JPH03278246 A JP H03278246A JP 2079272 A JP2079272 A JP 2079272A JP 7927290 A JP7927290 A JP 7927290A JP H03278246 A JPH03278246 A JP H03278246A
- Authority
- JP
- Japan
- Prior art keywords
- data
- compressed
- program
- storage device
- indicating
- 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
Links
- 238000003672 processing method Methods 0.000 title claims description 8
- 230000002159 abnormal effect Effects 0.000 title abstract 2
- 230000005856 abnormality Effects 0.000 claims abstract description 14
- 238000000034 method Methods 0.000 claims description 5
- 238000013144 data compression Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 4
- 230000015654 memory Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はコンピュータシステムにおりるプログラムの異
常終了時の異常情報採取処理方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for collecting and processing abnormality information when a program in a computer system terminates abnormally.
従来、この種の異常情報採取処理方法は、主記憶装置に
格納されている実行中のプログラムを構成する全記憶域
に関する情報のデータを、すべてダンプリストとして外
部記憶装置に出力するものである。Conventionally, this type of abnormality information collection processing method outputs all information data related to all storage areas constituting a program being executed stored in a main storage device to an external storage device as a dump list.
上述した従来の異常情報採取処理方法は、実行中のプロ
グラムを構成する全記憶域に関する情報のデータをすべ
て格納できるダンプファイル領域を、予め外部記憶装置
に確保しておく必要があるため、プログラムの増大に伴
い外部記憶装置の使用可能な記憶容量が不足したり、デ
ータ転送量の増大により処理速度が低下するという欠点
がある。In the conventional abnormality information collection processing method described above, it is necessary to reserve in advance a dump file area in an external storage device that can store all the information data regarding all the storage areas that make up the program being executed. With the increase, there is a drawback that the usable storage capacity of the external storage device becomes insufficient and the processing speed decreases due to the increase in the amount of data transfer.
本発明の目的は、プログラムの異常終了時に出力される
ダンプリストのデータ数を削減できる異常情報採取処理
方法を提供することにある。An object of the present invention is to provide an abnormality information collection processing method that can reduce the number of data in a dump list that is output when a program terminates abnormally.
本発明の異常情報採取処理方法は、前記情報を示すデー
タのうち、連続する複数個の同一・のデ−夕は、圧縮デ
ータであることを示すデータ識別子。In the abnormality information collection processing method of the present invention, among the data indicating the information, a plurality of consecutive identical data is a data identifier indicating that the data is compressed data.
該複数個の同一のデータの開始アドレスおよび終了アド
レス、該複数個の同一のデータの1個で構成されるデー
タに圧縮して、前記外部記憶装置に出力することを特徴
とする。It is characterized in that the data is compressed into data consisting of a start address and an end address of the plurality of identical data, and one of the plurality of identical data, and is output to the external storage device.
連続して出力される複数個の同一のデータは、圧縮デー
タであることを示すデータ識別子、該複数個の同一のデ
ータの開始アドレスおよび終了アドレス、該複数個の同
一のデータの1個で構成されるデータに圧縮されるため
、同一のデータが連続するダンプリストのデータ数は大
幅に減る。A plurality of pieces of the same data that are output continuously are composed of a data identifier indicating that it is compressed data, a start address and an end address of the plurality of pieces of the same data, and one piece of the plurality of pieces of the same data. Since the data is compressed into the same data, the number of consecutive dump lists of the same data is greatly reduced.
次に、本発明の実施例について図面を参照して説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の異常情報採取処理方法の一実施例を示
すコンピュータシステムのブロック図、第2図、第3図
はデータ記述子を示す図、第4図。FIG. 1 is a block diagram of a computer system showing an embodiment of the abnormality information collection and processing method of the present invention, FIGS. 2 and 3 are diagrams showing data descriptors, and FIG. 4.
第5図は第1図に示すデータ圧縮手段2の動作を説明す
るフローチャートである。FIG. 5 is a flowchart illustrating the operation of the data compression means 2 shown in FIG.
第1図に示すコンピュータシステム10は、実行中のブ
[1グラムを構成する全記憶域に関する情報を示すデー
タが格納される主記憶装置1と、実行中のプログラムの
異常を検出する異常検出手段3および主記憶装置1に格
納されている前記情報を示すデータをダンプリストとし
て出力する際にデータの圧縮動作を行うデータ圧縮手段
4を含む中央処理袋@(以下、CPUと称す)2と、C
PU2から送られてくるデータを、外部記憶装置として
このコンピュータシステム10に接続されている磁気デ
ィスク装置11に出力するデータ出力手段5とを有する
。The computer system 10 shown in FIG. 3 and a central processing bag @ (hereinafter referred to as CPU) 2 that includes a data compression means 4 that performs a data compression operation when outputting data indicating the information stored in the main storage device 1 as a dump list; C
It has a data output means 5 for outputting data sent from the PU 2 to a magnetic disk device 11 connected to the computer system 10 as an external storage device.
次に、データ圧縮手段4で前記情報を示ずデータを圧縮
する方法について、第2図、第3図に示すデータ記述子
を参照して説明する。Next, a method of compressing data without indicating the information by the data compression means 4 will be explained with reference to the data descriptors shown in FIGS. 2 and 3.
第2図に示すデータ記述子20は、実行中のプログラム
を構成する全記憶域に関する情報を示すデータのうち、
連続する複数個の同一・のデータを圧縮する方法を示す
ものである。すなわち、この連続する複数個の同一のデ
ータは、このデータ記述子20に従い、圧縮データであ
ることを示すデータ識別子21.この複数個の同一・の
データの開始アドレス22および終了アドレス23.こ
の複数個の同一のデータの1個で構成されるデータ24
に圧縮される。The data descriptor 20 shown in FIG.
This shows a method for compressing multiple pieces of consecutive identical data. In other words, these consecutive pieces of identical data have data identifiers 21 . The start address 22 and end address 23 . of the plurality of identical data. Data 24 composed of one piece of the same data
compressed into
前記情報を示すデータのうち、連続する複数個の同一の
データ以外のデータは、異なるデータが連続しているた
め、この連続する複数個の異なるデータは第3図に示す
データ記述子30に従い、非圧縮データであることを示
すデータ識別子31゜この異なるデータの開始アドレス
32および終了アドレス33.この連続する複数個の異
なるデータの全部で構成されるデータ群34に変換され
る。Among the data indicating the information, the data other than the consecutive plurality of identical data are consecutive different data, so the consecutive plurality of different data is written according to the data descriptor 30 shown in FIG. A data identifier 31 indicating that it is uncompressed data, a start address 32 and an end address 33 of this different data. It is converted into a data group 34 made up of all of this plurality of consecutive different data.
次に、データ圧縮手段4の動作について第4図。Next, FIG. 4 shows the operation of the data compression means 4.
第5図のフローチャートを用いて説明する。This will be explained using the flowchart shown in FIG.
CPU2は、プログラムの実行中にプログラム異常が発
生したことを異常検出手段3で検出すると、プログラム
異常が発生したことを端末装置(図示せず)に表示する
。その後、端末装置より実行中のプログラムを構成する
全記憶に関する情報を示すデータをダンプリストとして
磁気ディスク装@11に出力する要求が送られてくると
、CPU2はデータ圧縮手段4を起動させる。When the abnormality detecting means 3 detects that a program abnormality has occurred during execution of the program, the CPU 2 displays on a terminal device (not shown) that the program abnormality has occurred. Thereafter, when a request is sent from the terminal device to output data indicating information on all memories constituting the program being executed as a dump list to the magnetic disk unit @11, the CPU 2 activates the data compression means 4.
データ圧縮手段4は、実行中のプログラムを構成する全
記憶域(プログラム命令格納記憶域、データ格納記憶域
、レジスタ類格納記憶域)の中からまずプログラム命令
格納記憶域を選択しくステップ40)、この記憶域の最
初の2つのデータ〈データ1つのビット数は1バイトと
する)を主記憶装置1から読出すくステップ42)。取
出した2つのデータが同一か否かを判定しくステップ4
3)、同一の場合には次のデータを主記憶装置1から読
出しくステップ44)、前に読出したデータと同一か否
かを判定する(ステップ46)。The data compression means 4 first selects a program instruction storage area from among all storage areas (program instruction storage area, data storage area, register storage area) constituting the program being executed (Step 40); The first two pieces of data in this storage area (the number of bits per piece of data is 1 byte) are read from the main memory 1 (step 42). Step 4: Determine whether the two retrieved data are the same or not.
3) If they are the same, the next data is read from the main memory 1 (step 44), and it is determined whether the data is the same as the previously read data (step 46).
ステップ46での判定の結果が同一であることを示す場
合には、途中でこの記憶域の全データの読出しが終了し
ない限り(ステップ45)、ステップ44とステップ4
6の動作が繰返し行われる。If the result of the determination in step 46 indicates that they are the same, then step 44 and step 4
6 is repeated.
ステップ46の判定の結果が同一でないことを示す場合
には、ステップ44で最後に読出されたデ−9以外のデ
ータに関して第2図に示すデータ記述子20に従って、
圧縮データが作成される。すなわち、最初のデータから
連続して読出された複数個の同一のデータは、圧縮デー
タであることを示すデータ識別子21.開始アドレス(
最初のデータのアドレス)22.終了アドレス(最後に
読出された同一のデータのアドレス)23.同一のデー
タ1個(1バイト)のデータ24で構成される圧縮デー
タに圧縮される(ステップ47)。If the result of the determination in step 46 indicates that they are not the same, the data descriptor 20 shown in FIG.
Compressed data is created. That is, a plurality of pieces of the same data that have been successively read from the first data have data identifiers 21 . Starting address (
address of first data)22. End address (address of the same data read last) 23. The same data is compressed into compressed data composed of one piece of data (1 byte) of data 24 (step 47).
一方、ステップ43の判定の結果が最初のデータと2番
目のデータとが同一でないことを示す場合には第5図に
示すフローチャートのステップ50に示すように、デー
タ圧縮手段4は次のデータを主記憶袋@1から読出し、
読出したデータが2番目のデータと同一か否かを判定す
る(ステップ52)。ステップ52での判定の結果が同
一でないことを示す場合には、途中でこの記憶域の全デ
ータの読出しが終了しない限り(ステップ51)、ステ
ップ50とステップ52の動作が繰返される。ステップ
52の判定の結果が同一であ出されたデータ以外のデー
タに関して第3図に示すデータ記述子30に従って、非
圧縮データが作成される。すなわち、最初のデータから
連続して読出された複数個の異なるデータは、非圧縮デ
ータであることを示すデータ識別子31.開始アドレス
(最初のデータのアドレス)32.終了アドレス(最初
に読出された異なるデータのアドレス)33、連続して
読出された異なるデータのデータ群34で構成される非
圧縮データに変換される(ステップ53)。On the other hand, if the result of the determination in step 43 indicates that the first data and the second data are not the same, the data compression means 4 converts the next data to the next data, as shown in step 50 of the flowchart shown in FIG. Read from main memory bag @1,
It is determined whether the read data is the same as the second data (step 52). If the result of the determination in step 52 indicates that they are not the same, the operations of step 50 and step 52 are repeated unless reading of all data in this storage area is completed in the middle (step 51). Uncompressed data is created in accordance with the data descriptor 30 shown in FIG. 3 for data other than the data for which the determination result in step 52 is the same. That is, a plurality of different pieces of data successively read from the first data have data identifiers 31 . Start address (first data address) 32. The data is converted into uncompressed data consisting of an end address (address of different data read first) 33 and a data group 34 of different data read successively (step 53).
第4図に示すフローチャートのステップ47の圧縮デー
タの作成が終了した後は、第5図に示すフローチャート
のステップ50からステップ53の動作が行われ、第5
図に示すフローチャートのステップ53の非圧縮データ
の作成が終了した後は、第4図に示すフローチャートの
ステップ44からステップ47の動作が行われる。また
、第4図に示すフローチャートのステップ45の動作に
おいて全データの読出しが終了されたことを確認すると
、それ以前に読出されている複数個のデータは同一のデ
ータであるため、上記したステップ47での圧縮データ
の作成と同様にして圧縮データの作成が行われた後(ス
テップ48)、次の記憶域(データ格納記憶域)が選択
され(ステップ40)、上記すべての動作が行われる。After the creation of compressed data in step 47 of the flowchart shown in FIG. 4 is completed, the operations of steps 50 to 53 of the flowchart shown in FIG.
After the creation of uncompressed data in step 53 of the flowchart shown in the figure is completed, the operations of steps 44 to 47 of the flowchart shown in FIG. 4 are performed. Further, when it is confirmed that reading of all data has been completed in the operation of step 45 of the flowchart shown in FIG. After compressed data is created in the same manner as in step 48 (step 48), the next storage area (data storage storage area) is selected (step 40), and all of the above operations are performed.
第5図に示すフローチャートのステップ51の動作にお
いて全データの読出しが終了されたことを確認した場合
も同様である。The same applies when it is confirmed in the operation of step 51 of the flowchart shown in FIG. 5 that reading of all data has been completed.
以上の動作は、レジスタ類格納記憶域の全データの読出
しが終了するまで続けられる(ステップ41)。The above operations are continued until reading of all data in the register storage area is completed (step 41).
CPLI2はデータ圧縮手段4で上記動作が終了すると
、作成した圧縮データおよび非圧縮データをデータ出力
手段5を介して磁気ディスク装置11に出力する。When the above operations are completed by the data compression means 4, the CPLI 2 outputs the created compressed data and uncompressed data to the magnetic disk device 11 via the data output means 5.
第1図に示した実施例では、異なるデータが連続して読
出された場合には、これらのデータを第3図に示すデー
タ記述子30に従って非圧縮データに変換したが、特に
変換する必要はなく、連続して読出される異なるデータ
はそのまま磁気ディスク装置11に出力されるようにし
てもよい。また、データのビット数は1バイトとしたが
、2バイト、4バイト等のデータについて圧縮してもよ
い。In the embodiment shown in FIG. 1, when different data are successively read, these data are converted into uncompressed data according to the data descriptor 30 shown in FIG. 3, but there is no particular need for conversion. Instead, different data that are successively read may be output to the magnetic disk device 11 as they are. Further, although the number of bits of data is 1 byte, data of 2 bytes, 4 bytes, etc. may be compressed.
以上説明したように本発明は、主記憶装置に格納されて
いる実行中のプログラムを構成する全記憶域に関する情
報を示すデータのうち、連続する複数個の同一データは
圧縮データに圧縮することにより、プログラム異常終了
時にタンプリストとして出力されるデータ数を削減する
ことができる効果がある。As explained above, the present invention compresses a plurality of consecutive identical pieces of data into compressed data among the data indicating information regarding all the storage areas constituting the running program stored in the main storage device. This has the effect of reducing the number of data output as a tamp list when a program terminates abnormally.
第1図は本発明の異常情報採取処理方法の〜実施例を示
すコンピュータシステムのブロック図、第2図、第3図
はデータ記述子を示す図、第4図。
第5図は第1図に示すデータ圧縮手段2の動作を説明す
るフローチャートである。
1・・・主記憶装置、
0
2・・・cpu。
3・・・異常検出手段、
4・・・データ圧縮手段、
5・・・データ出力手段、
10・・・コンピュータシステム、
11・・・磁気ディスク装置、
20.30・・・データ記述子、
21.31・・・データ記述子、
22.32・・・開始アドレス。
23.33・・・終了アドレス、
24・・・データ、
34・・・データ群。
第
図
第
図
第
図FIG. 1 is a block diagram of a computer system showing an embodiment of the abnormality information collection processing method of the present invention, FIGS. 2 and 3 are diagrams showing data descriptors, and FIG. 4. FIG. 5 is a flowchart illustrating the operation of the data compression means 2 shown in FIG. 1... Main storage device, 0 2... CPU. 3... Abnormality detection means, 4... Data compression means, 5... Data output means, 10... Computer system, 11... Magnetic disk device, 20. 30... Data descriptor, 21 .31...Data descriptor, 22.32...Start address. 23.33...End address, 24...Data, 34...Data group. Figure Figure Figure
Claims (1)
構成する全記憶域に関する情報を示すデータをダンプリ
ストとして外部記憶装置に出力する異常情報採取処理方
法において、 前記情報を示すデータのうち、連続する複数個の同一の
データは、圧縮データであることを示すデータ識別子、
該複数個の同一のデータの開始アドレスおよび終了アド
レス、該複数個の同一のデータの1個で構成されるデー
タに圧縮して、前記外部記憶装置に出力することを特徴
とする異常情報採取処理方法。[Scope of Claims] 1. An abnormality information collection processing method that outputs data indicating information regarding all storage areas constituting a program being executed stored in a main storage device as a dump list to an external storage device, comprising: Among the data indicating that a plurality of consecutive identical pieces of data are compressed data, a data identifier indicating that the same data is compressed data,
An abnormality information collection process characterized by compressing data into data consisting of a start address and an end address of the plurality of identical data, and one of the plurality of identical data, and outputting the compressed data to the external storage device. Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2079272A JPH03278246A (en) | 1990-03-28 | 1990-03-28 | Processing method for collecting abnormal information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2079272A JPH03278246A (en) | 1990-03-28 | 1990-03-28 | Processing method for collecting abnormal information |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03278246A true JPH03278246A (en) | 1991-12-09 |
Family
ID=13685230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2079272A Pending JPH03278246A (en) | 1990-03-28 | 1990-03-28 | Processing method for collecting abnormal information |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03278246A (en) |
-
1990
- 1990-03-28 JP JP2079272A patent/JPH03278246A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7246139B2 (en) | File system for enabling the restoration of a deffective file | |
JP3697395B2 (en) | Method and apparatus for storing different data structures | |
JPH03278246A (en) | Processing method for collecting abnormal information | |
JP7204798B2 (en) | Apparatus and method for storing data in non-volatile memory | |
JP2878264B1 (en) | Tracer device, trace data compression method, and compressed trace data reading method | |
US6552672B1 (en) | Method, system and program storage device for providing a backup of data of a memory to at least one storage medium | |
JP3342239B2 (en) | Data processing device | |
US20090094392A1 (en) | System and Method for Data Operations in Memory | |
JPH11212821A (en) | Trace data gathering system | |
KR20030009992A (en) | Method of compressing packing in switching system | |
JPS60186964A (en) | Vector processor | |
JPH0736746A (en) | Data processor | |
JP2518390B2 (en) | System performance monitoring method | |
CN115203150A (en) | Bloom filter-based massive file backup data synchronization method | |
JP3520907B2 (en) | Sort processing method, sort processing method, and recording medium recording sort processing program | |
CN116760940A (en) | Video missile-borne recorder without data loss | |
JPH07191822A (en) | Data storage device and data system | |
JPH022440A (en) | File transfer system | |
JPS63211442A (en) | Logout processing system | |
JP2002041334A (en) | Measuring device | |
JPH0397026A (en) | Data sorter | |
JPH0561720A (en) | Trace data collector | |
JPH04188340A (en) | Data processing system | |
JPH0486047A (en) | Buffer circuit having preferential processing function | |
JPH02242447A (en) | Memory dump collecting system |