JPH096652A - Trace collection method and computer system - Google Patents

Trace collection method and computer system

Info

Publication number
JPH096652A
JPH096652A JP7147628A JP14762895A JPH096652A JP H096652 A JPH096652 A JP H096652A JP 7147628 A JP7147628 A JP 7147628A JP 14762895 A JP14762895 A JP 14762895A JP H096652 A JPH096652 A JP H096652A
Authority
JP
Japan
Prior art keywords
trace
trace collection
program
collection
range
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
JP7147628A
Other languages
Japanese (ja)
Inventor
Akihiro Takahashi
昭弘 高橋
Akihiko Tobe
昭彦 戸辺
Toshio Ishihara
敏夫 石原
Shigeru Ogawa
茂 小川
Yuji Imaizumi
裕司 今泉
Yoshinori Sato
義則 佐藤
Tadashi Kojima
正 小島
Shinichi Funyu
新一 舟生
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
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Process Computer Engineering Inc
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, Hitachi Process Computer Engineering Inc filed Critical Hitachi Ltd
Priority to JP7147628A priority Critical patent/JPH096652A/en
Publication of JPH096652A publication Critical patent/JPH096652A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To provide a trace collection method and a computer system which can keep the continuity of the trace data despite high load of a CPU of an execution program. CONSTITUTION: A trace collection program 105 is called out of an optional module of an execution program 103 during execution of the program 103 and a load monitor program 104. Then the program 105 refers to a trace importance number 114 that is updated in steps and according to the CPU load acquired from a trace collection management table 106 and retrieves a trace data collection range 107 that is previously set to the number 114. Thus the program 105 collects the trace when a module name is set and then does not collect the trace when no module name is set respectively.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は計算機システムに係り、
そのプログラム動作履歴(トレース)の収集方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system,
It relates to a method of collecting the program operation history (trace).

【0002】[0002]

【従来の技術】計算機システムにおけるトレースデータ
収集は、トレース対象となるオンラインプログラムより
起動されるトレース収集プログラムが、プログラムの名
称、呼び出しパラメータをトレースデータエリアに格納
して、プログラム動作履歴を収得している。この場合、
トレース収集制御部に動的処理部を設け、オンライン処
理システムにかかる負荷の大きさに依存して、ジャーナ
ル(トレースデータ)の収集回数を自動的に調整する特
開昭62−24336号が知られている。
2. Description of the Related Art In the trace data collection in a computer system, a trace collection program started by an online program to be traced stores the program name and calling parameters in a trace data area to obtain a program operation history. There is. in this case,
Japanese Patent Laid-Open No. 62-24336 is known in which a dynamic processing unit is provided in the trace collection control unit and the number of journal (trace data) collections is automatically adjusted depending on the load on the online processing system. ing.

【0003】[0003]

【発明が解決しようとする課題】上記の従来技術は、負
荷の状態により外部記憶装置への出力待ち時間を変える
ことでトレースデータの出力回数を調整しているが、高
負荷状態が続いた場合にはデータの連続性が欠けるとい
う問題があった。
In the above-mentioned prior art, the number of times trace data is output is adjusted by changing the output waiting time to the external storage device according to the load state. However, when the high load state continues. Had a problem of lack of data continuity.

【0004】本発明の目的は、オンライン制御プログラ
ムのCPU負荷が高い場合にも、トレースデータの連続
性を保つことのできるトレース収集方法及び計算機シス
テムを提供することにある。
An object of the present invention is to provide a trace collection method and a computer system capable of maintaining the continuity of trace data even when the CPU load of the online control program is high.

【0005】[0005]

【課題を解決するための手段】上記した本発明の目的
は、プログラム動作履歴であるトレースを収集し格納す
るトレース収集方法において、CPU負荷量またはトラ
ンザクション量を監視するとともに、その量の変動に対
応して収集するトレース量を段階的に増減できるよう
に、予めトレース収集範囲を設定し、実行中のプログラ
ムの任意のモジュールから呼び出されるトレース収集処
理は、該時点のCPU負荷量またはトランザクション量
と前記トレース収集範囲を参照して当該モジュールのト
レース収集の要否を判定し、要の場合にトレースを収集
することにより達成される。
An object of the present invention described above is to monitor a CPU load amount or a transaction amount in a trace collecting method for collecting and storing a trace which is a program operation history and cope with a change in the amount. The trace collection range is set in advance so that the trace amount to be collected can be increased or decreased stepwise, and the trace collection process called from any module of the program being executed is the CPU load amount or transaction amount at that time and This is achieved by referring to the trace collection range to determine whether or not the trace collection of the module is necessary, and collecting the trace if necessary.

【0006】前記トレース収集範囲は、目的に応じた複
数の重要度別に、低い重要度には広く高い重要度に狭く
設定され、前記トレース収集処理は前記CPU負荷量ま
たはトランザクション量に段階的に対応される該当重要
度により、参照するトレース収集範囲を選択することを
特徴とする。
The trace collection range is set to be wide for low importance and narrow for high importance according to a plurality of importance according to the purpose, and the trace collection processing corresponds to the CPU load amount or transaction amount in stages. The feature is that the trace collection range to be referred to is selected according to the corresponding importance level.

【0007】前記トレース収集範囲は前記重要度別に、
トレース収集の呼出しモジュール名を登録することを特
徴とする。
The trace collection range is classified according to the importance,
A feature is that the call module name of trace collection is registered.

【0008】本発明の目的は、実行中のプログラムから
の呼出しでプログラム動作履歴のトレースを収集し格納
するトレース収集手段と、CPU負荷の監視手段とを備
える計算機システムにおいて、トレースの複数の重要度
別に、低い重要度にはトレース量が多くなる広い範囲
を、高い重要度にはトレース量が少なくなる狭い範囲を
段階的に登録するトレース収集範囲の記憶手段と、前記
監視手段によるCPU負荷の変動に対応して前記重要度
別のトレース収集範囲を変更する切替手段を備えること
を特徴とする計算機システム。
An object of the present invention is to provide a plurality of trace importance levels in a computer system comprising a trace collecting means for collecting and storing a trace of a program operation history by a call from a running program and a CPU load monitoring means. Separately, a trace collection range storage means for registering a wide range where the trace amount increases in low importance level and a narrow range where the trace amount decreases in high importance level in a stepwise manner, and fluctuation of the CPU load by the monitoring means. A computer system comprising switching means for changing the trace collection range according to the degree of importance in accordance with the above.

【0009】前記トレース収集範囲の記憶手段は、前記
トレース収集手段を呼出すモジュール名で登録されるよ
うに構成され、前記トレース収集手段は、前記切替手段
により変更されている前記トレース収集範囲を参照し
て、前記実行中のプログラムの呼出しモジュール名の登
録の有無を判定し、登録されている場合にトレースデー
タの収集を行うように構成されることを特徴とする。
The trace collection range storage means is configured to be registered with a module name that calls the trace collection means, and the trace collection means refers to the trace collection range changed by the switching means. Then, the presence or absence of registration of the calling module name of the program being executed is determined, and if registered, the trace data is collected.

【0010】[0010]

【作用】本発明のトレース収集方法によれば、トレース
の重要度に応じてトレース収集範囲(トレース量)を変
更するトレース収集範囲設定テーブルを設け、CPU負
荷(またはトランザクション量)の変動を監視し、該負
荷量に応じてオンラインでのトレース収集範囲を切り替
えるので、高負荷の場合にもオンライン処理に悪影響を
与える子となく重要度の高いトレースの収集が維持され
る。これにより、システム障害の原因調査など、重要な
トレース(例え、lock,unlockモジュールの
トレース)の連続性が確保され、重要度の高いトレース
データの信頼性を向上できる。
According to the trace collection method of the present invention, the trace collection range setting table for changing the trace collection range (trace amount) according to the importance of the trace is provided to monitor the fluctuation of the CPU load (or transaction amount). Since the online trace collection range is switched according to the load amount, even when the load is high, the collection of highly important traces is maintained without adversely affecting the online processing. As a result, continuity of important traces (for example, traces of lock and unlock modules) such as investigation of the cause of system failure can be ensured, and the reliability of highly important trace data can be improved.

【0011】また、本発明の計算機システムによれば、
トレースの重要度とその収集範囲は、システムの状態や
目的に応じて任意に設定できるので、システムの生成や
メンテナンスなどを容易にできる。
According to the computer system of the present invention,
The degree of importance of trace and its collection range can be arbitrarily set according to the state and purpose of the system, so that the generation and maintenance of the system can be facilitated.

【0012】[0012]

【実施例】以下、本発明の一実施例を図面に従って詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0013】図1は、本実施例のトレース収集機能を備
える計算機システムの構成図である。CPU101、主
記憶装置102、システムバス109、システムバス制
御装置110、補助記憶御装置111、112から構成
されている。
FIG. 1 is a block diagram of a computer system having a trace collection function of this embodiment. It is composed of a CPU 101, a main storage device 102, a system bus 109, a system bus control device 110, and auxiliary storage devices 111 and 112.

【0014】主記憶装置102上は、トレース収集範囲
番号114とトレース収集有無フラグ115を持つトレ
ース収集管理テーブル106、トレース収集範囲設定テ
ーブル107、トレース対象となる任意の実行プログラ
ム103、トレース処理プログラム104、トレース定
義プログラム105、主記憶102上でのトレースデー
タ収集エリア108を有している。ハードディスクな
ど、永久保存の可能な補助記憶装置112上にも、トレ
ースデータ収集エリア113を有し、主記憶上のエリア
108に収集したトレースデータは、実行プログラム1
03の終了時等に転送されて格納される。
On the main storage device 102, a trace collection management table 106 having a trace collection range number 114 and a trace collection presence / absence flag 115, a trace collection range setting table 107, an arbitrary execution program 103 to be traced, and a trace processing program 104. , A trace definition program 105, and a trace data collection area 108 on the main memory 102. The trace data collection area 113 is also provided on the auxiliary storage device 112 such as a hard disk that can be permanently stored, and the trace data collected in the area 108 on the main storage is stored in the execution program 1
It is transferred and stored at the end of 03.

【0015】図2に、トレース収集範囲設定テーブルの
フォーマットを示す。トレース収集範囲設定テーブル1
07には、トレース重要度番号毎にトレース収集するモ
ジュール(プログラム)名を登録している。本例の場
合、低負荷から高負荷に向けて重要度3〜重要度1の3
段階となる。重要度番号3のテーブルにはopen,c
lose,times,read,write,loc
k,unlock等のモジュールを登録し、この範囲の
トレース量は大である。重要度番号2にはread,w
rite,lock,unlockのモジュールを登録
し、トレース量は中である。重要度番号1には、loc
k,unlockのモジュールを登録し、トレース量は
小である。
FIG. 2 shows the format of the trace collection range setting table. Trace collection range setting table 1
In 07, a module (program) name for trace collection is registered for each trace importance number. In the case of this example, 3 from importance level 3 to importance level 1 from low load to high load
It becomes a stage. The table of importance number 3 is open, c
lose, times, read, write, loc
Modules such as k and unlock are registered, and the trace amount in this range is large. Importance, number 2 is read, w
The write, lock, and unlock modules are registered, and the trace amount is medium. The importance number 1 is loc
The k and unlock modules are registered, and the trace amount is small.

【0016】トレース重要度の範囲は、オペレータによ
る任意の設定が可能で、システムの状況やトレースの目
的によって変更される。本例は、共有リソースのloc
k(占有)処理に対するunlock(解放)処理の漏
れにより、システム障害が発生するようなケースであ
る。どのプログラムに障害の原因があるのかを調査する
ために、lock,unlock処理の重要度を高く設
定して、それらの連続したトレースを収得するようにし
ている。一般には、システムに及ぼす影響度の高いモジ
ュールの重要度を高めている。システム障害やプログラ
ムデバッグ等に対する遡及調査のケースでは、より目的
意識的に需要度の範囲を設定できる。
The range of the trace importance can be arbitrarily set by the operator and is changed depending on the system status and the purpose of the trace. In this example, loc of shared resource
This is a case in which a system failure occurs due to the omission of the unlock process for the k (occupied) process. In order to investigate which program has the cause of the failure, the importance of the lock / unlock processing is set to be high, and the continuous traces of those are acquired. Generally, the importance of the module having a high influence on the system is increased. In the case of retrospective investigation for system failure or program debugging, the demand range can be set more purposefully.

【0017】図3は、本実施例による計算機システムの
処理概要を説明するフローチャートである。任意の実行
プログラム103はopenモジュール301、wri
teモジュール302を実行する。openモジュール
301はそのopenの前段で、writeモジュール
302はそのwriteの前段で、それぞれトレース処
理プログラム104の呼出しを行う。以下、CPU負荷
に応じたトレースデータの収集方法を詳細に説明する。
FIG. 3 is a flow chart for explaining the processing outline of the computer system according to this embodiment. Arbitrary execution program 103 is open module 301, wri
The te module 302 is executed. The open module 301 calls the trace processing program 104 before the open, and the write module 302 calls the trace processing program 104 before the write. Hereinafter, a method of collecting trace data according to the CPU load will be described in detail.

【0018】図4は、本実施例によるCPU負荷監視プ
ログラムの処理フロー図である。本処理は、delay
処理(401)で決まる監視周期によって定期的に実行
される。まず、CPU負荷測定プログラム116を起動
し(402)、測定した負荷に応じてトレース管理テー
ブル106のトレース重要度番号114やトレース収集
有無フラグ115の更新を行う。即ち、負荷が60%未
満であれば(403)重要度番号=3(407)、負荷
が60%〜80%未満であれば(404)重要度番号=
2(408)、負荷が80%〜95%未満であれば(4
05)重要度番号=1(409)に設定し、トレース収
集有無フラグ=有とする。本例では、負荷が95%以上
では、トレース収集有無フラグ=無し(406)に設定
しているが、この間を含んで重要度番号=1としてもよ
い。
FIG. 4 is a processing flow chart of the CPU load monitoring program according to this embodiment. This process is a delay
It is periodically executed at the monitoring cycle determined by the process (401). First, the CPU load measurement program 116 is started (402), and the trace importance number 114 and the trace collection presence / absence flag 115 of the trace management table 106 are updated according to the measured load. That is, if the load is less than 60% (403) importance number = 3 (407), if the load is less than 60% to 80% (404) importance number =
2 (408), if the load is less than 80% to 95% (4
05) Importance number = 1 (409) is set, and trace collection presence / absence flag = present. In this example, when the load is 95% or more, the trace collection presence / absence flag = none (406) is set, but the importance number = 1 may be included including this period.

【0019】図5は、本実施例によるトレース処理プロ
グラムの処理フロー図である。本処理104は、実行プ
ログラム103におけるopenモジュール301や、
writeモジュール302から起動される。まず、ト
レース収集管理テーブル106を参照する(510)。
ここで、トレース収集有無フラグが有るかチエックし
(511)、フラグ有りの場合はトレース重要度番号を
参照する。
FIG. 5 is a processing flow chart of the trace processing program according to this embodiment. This processing 104 is performed by the open module 301 in the execution program 103,
It is activated from the write module 302. First, the trace collection management table 106 is referenced (510).
Here, it is checked whether or not there is a trace collection presence / absence flag (511). If there is a flag, the trace importance number is referred to.

【0020】トレース重要度番号=3の場合(51
2)、トレース収集範囲設定テーブル107を参照し、
その重要度番号3のトレース収集範囲に、本プログラム
104の呼出しモジュールが登録されているか判定する
(515)。登録されていれば、呼出しモジュールのト
レースデータを収集して、トレースデータ収集エリア1
08に格納する(516)。一方、登録されていなけれ
ば、この時点における当該呼出しモジュールのトレース
収集は行わない。
When the trace importance number = 3 (51
2), referring to the trace collection range setting table 107,
It is determined whether or not the calling module of the program 104 is registered in the trace collection range of the importance number 3 (515). If registered, collect the trace data of the calling module and trace data collection area 1
It is stored in 08 (516). On the other hand, if it is not registered, trace collection of the calling module at this point is not performed.

【0021】同様に、トレース重要度番号=2の場合
(513)、トレース重要度番号=1の場合(514)
にも、トレース収集範囲設定テーブル107を参照し、
呼出しモジュールが登録されているか確認し(517、
519)、登録されている場合にトレースデータを収集
して格納する(518、520)。
Similarly, when the trace importance number = 2 (513) and the trace importance number = 1 (514)
Also, referring to the trace collection range setting table 107,
Check if the calling module is registered (517,
519), collect and store trace data if registered (518, 520).

【0022】以上のように、本実施例ではオンラインの
CPU負荷の増減に応じて、動的にトレース収集範囲を
切り替えるので、高負荷状態においてはトレースデータ
量を削減して実行プログラムへの影響を回避しながら、
重要なトレースデータの収集は維持する。これによれ
ば、デッドロックなどシステム異常の原因究明などに重
要なトレースデータ、あるいは、目的によって重要とな
るトレースデータの連続収集が確保されるので、トレー
スデータの信頼性を向上でき、システムのメンテナンス
を容易にする。
As described above, in the present embodiment, the trace collection range is dynamically switched according to the increase / decrease of the online CPU load. Therefore, in the high load state, the trace data amount is reduced to affect the execution program. While avoiding
Maintain collection of important trace data. This ensures continuous collection of trace data that is important for investigating the cause of system abnormalities such as deadlocks, or trace data that is important for some purposes, thus improving the reliability of trace data and maintaining the system. To facilitate.

【0023】なお、上記の実施例ではCPU負荷に応じ
てトレースデータの収集範囲を切替ているが、トランザ
クション量を監視して切替るようにしてもよい。
In the above embodiment, the collection range of the trace data is switched according to the CPU load, but it may be switched by monitoring the transaction amount.

【0024】[0024]

【発明の効果】本発明によれば、CPU負荷の増減に応
じて、トレースの重要度により区分したトレース収集範
囲を動的に切り替えるので、高負荷状態においても重要
なトレースの連続性が保たれ、データの信頼性を向上す
る効果がある。
According to the present invention, since the trace collection range divided according to the importance of the trace is dynamically switched according to the increase or decrease of the CPU load, the continuity of the important trace is maintained even in the high load state. , Has the effect of improving the reliability of data.

【0025】本発明によれば、システムの状況や目的に
応じてトレースの重要度とその収集範囲を設定できるの
で、システムの生成やメンテナンスを容易にできる効果
がある。
According to the present invention, the degree of importance of traces and the collection range thereof can be set according to the status and purpose of the system, so that there is an effect that the system can be easily generated and maintained.

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

【図1】本発明の一実施例によるトレース収集機能を備
える計算機システムの構成図。
FIG. 1 is a configuration diagram of a computer system having a trace collection function according to an embodiment of the present invention.

【図2】トレース収集範囲設定テーブルの設定例を示す
説明図。
FIG. 2 is an explanatory diagram showing a setting example of a trace collection range setting table.

【図3】本実施例の計算機システムの動作を説明するフ
ローチャート。
FIG. 3 is a flowchart illustrating the operation of the computer system of this embodiment.

【図4】本実施例のCPU負荷監視処理を説明するフロ
ーチャート。
FIG. 4 is a flowchart illustrating a CPU load monitoring process according to the present embodiment.

【図5】本実施例のトレース処理を説明するフローチャ
ート。
FIG. 5 is a flowchart illustrating a trace process of this embodiment.

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

101…CPU、102…主記憶装置、103…実行プ
ログラム、104…負荷監視プログラム、105…トレ
ース収集プログラム、106…トレース収集管理テーブ
ル、107…トレース収集範囲設定テーブル、108…
トレースデータ収集エリア、109…システムバス、1
12…補助記憶装置、114…トレース重要度番号、1
15…トレース収集有無フラグ。
101 ... CPU, 102 ... Main storage device, 103 ... Execution program, 104 ... Load monitoring program, 105 ... Trace collection program, 106 ... Trace collection management table, 107 ... Trace collection range setting table, 108 ...
Trace data collection area, 109 ... System bus, 1
12 ... Auxiliary storage device, 114 ... Trace importance number, 1
15 ... Trace collection presence / absence flag.

フロントページの続き (72)発明者 戸辺 昭彦 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 石原 敏夫 茨城県日立市大みか町五丁目2番1号 日 立プロセスコンピュータエンジニアリング 株式会社内 (72)発明者 小川 茂 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 今泉 裕司 茨城県日立市大みか町五丁目2番1号 日 立プロセスコンピュータエンジニアリング 株式会社内 (72)発明者 佐藤 義則 茨城県日立市大みか町五丁目2番1号 日 立プロセスコンピュータエンジニアリング 株式会社内 (72)発明者 小島 正 茨城県日立市大みか町五丁目2番1号 日 立プロセスコンピュータエンジニアリング 株式会社内 (72)発明者 舟生 新一 茨城県日立市大みか町五丁目2番1号 日 立プロセスコンピュータエンジニアリング 株式会社内Front page continuation (72) Inventor Akihiko Tobe 52-1 Omika-cho, Hitachi City, Ibaraki Prefecture Hitachi Ltd. Omika Plant, Ltd. (72) Toshio Ishihara 5-2-1 Omika-cho, Hitachi City, Ibaraki Hiritsu Process Computer Engineering Co., Ltd. (72) Inventor Shigeru Ogawa 5-2-1 Omika-cho, Hitachi City, Ibaraki Hitachi Ltd. Omika Factory, Hitachi Ltd. (72) Inventor Yuji Imaizumi 5-chome, Omika-cho, Hitachi City, Ibaraki Prefecture No. 2-1, Hiritsu Process Computer Engineering Co., Ltd. (72) Inventor Yoshinori Sato, 5-2-1, Omika-cho, Hitachi City, Hitachi, Ibaraki (72) Inventor Tadashi Kojima Hitachi City, Ibaraki Prefecture 5-2-1 Omika-cho, Hitachi Process Computer Engineering Co., Ltd. (72) Inventor Shinichi Funa 5-2-1, Omika-cho, Hitachi City, Ibaraki Prefecture Russia Seth Computer Engineering Co., Ltd. in

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 プログラム動作履歴であるトレースを収
集し格納するトレース収集方法において、 CPU負荷量またはトランザクション量を監視するとと
もに、その量の変動に対応して収集するトレース量を段
階的に増減できるように、予めトレース収集範囲を設定
し、 実行中のプログラムの任意のモジュールから呼び出され
るトレース収集処理は、該時点のCPU負荷量またはト
ランザクション量と前記トレース収集範囲を参照して当
該モジュールのトレース収集の要否を判定し、要の場合
にトレースを収集することを特徴とするトレース収集方
法。
1. A trace collection method for collecting and storing a trace which is a program operation history, while monitoring a CPU load amount or a transaction amount, and increasing or decreasing the trace amount to be collected stepwise in response to a change in the amount. As described above, the trace collection range is set in advance, and the trace collection process called from an arbitrary module of the program being executed refers to the CPU load amount or transaction amount at the time and the trace collection range, and collects the trace of the module. A trace collection method characterized by determining whether or not is necessary and collecting a trace when it is necessary.
【請求項2】 請求項1において、 前記トレース収集範囲は、目的に応じた複数の重要度別
に、低い重要度には広く高い重要度に狭く設定され、前
記トレース収集処理は前記CPU負荷量またはトランザ
クション量に段階的に対応される該当重要度により、参
照するトレース収集範囲を選択することを特徴とするト
レース収集方法。
2. The trace collection range according to claim 1, wherein the trace collection range is set to a wide range from a low importance level to a high importance level according to a plurality of importance levels according to purposes, and the trace collection range is set to the CPU load amount or A trace collection method characterized in that a trace collection range to be referred to is selected according to the degree of importance corresponding to the transaction amount in stages.
【請求項3】 請求項1または2において、 前記トレース収集範囲は前記重要度別に、トレース収集
の呼出しモジュール名を登録することを特徴とするトレ
ース収集方法。
3. The trace collection method according to claim 1, wherein the trace collection range registers the name of a trace collection calling module for each of the importance levels.
【請求項4】 計算機システムにおけるプログラム動作
履歴であるトレースを収集、格納するトレース収集方法
において、 予め、目的に応じた複数の重要度別に、低い重要度には
トレース量が多くなる多数のモジュール名で、高い重要
度にはトレース量が少なくなる少数のモジュール名でト
レース収集範囲を設定し、 複数のモジュールからなる任意の実行プログラムの処理
中に、並行してCPU負荷またはトランザクション量を
監視するとともに、前記モジュールからトレース処理プ
ログラムが呼び出される場合に、前記CPU負荷または
トランザクション量に段階的に対応される該当重要度の
トレース収集範囲を参照し、当該モジュール名が登録さ
れている場合にのみトレースの収集を行うことを特徴と
するトレース収集方法。
4. A trace collection method for collecting and storing a trace, which is a program operation history in a computer system, in advance, according to a plurality of importance levels according to purposes, a large number of module names having a large trace amount at a low importance level. Then, set the trace collection range with a small number of module names that reduce the trace amount for high importance, and monitor the CPU load or transaction amount in parallel while processing an arbitrary executable program consisting of multiple modules. , When the trace processing program is called from the module, the trace collection range of the corresponding importance corresponding to the CPU load or the transaction amount is referred to, and the trace is collected only when the module name is registered. A trace collection method characterized by performing collection.
【請求項5】 実行中のプログラムからの呼出しでプロ
グラム動作履歴のトレースを収集し格納するトレース収
集手段と、CPU負荷の監視手段とを備える計算機シス
テムにおいて、 トレースの複数の重要度別に、低い重要度にはトレース
量が多くなる広い範囲を、高い重要度にはトレース量が
少なくなる狭い範囲を段階的に登録するトレース収集範
囲の記憶手段と、 前記監視手段によるCPU負荷の変動に対応して前記重
要度別のトレース収集範囲を変更する切替手段を備える
ことを特徴とする計算機システム。
5. A computer system comprising a trace collection means for collecting and storing a trace of a program operation history by a call from a running program, and a CPU load monitoring means. A wide range in which the trace amount increases in a high degree, and a narrow range in which the trace amount decreases in a high degree of importance is stored in a stepwise manner, and a trace collection range storage unit is provided. A computer system comprising a switching means for changing the trace collection range for each importance level.
【請求項6】 請求項5において、 前記トレース収集範囲の記憶手段は、前記トレース収集
手段を呼出すモジュール名で登録されるように構成さ
れ、 前記トレース収集手段は、前記切替手段により変更され
ている前記トレース収集範囲を参照して、前記実行中の
プログラムの呼出しモジュール名の登録の有無を判定
し、登録されている場合にトレースの収集を行うように
構成されることを特徴とする計算機システム。
6. The trace collection range storage unit according to claim 5, wherein the trace collection unit storage unit is configured to be registered with a module name that calls the trace collection unit, and the trace collection unit is changed by the switching unit. A computer system configured to determine whether or not a calling module name of the program being executed is registered with reference to the trace collection range, and collect the trace if the name is registered.
JP7147628A 1995-06-14 1995-06-14 Trace collection method and computer system Pending JPH096652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7147628A JPH096652A (en) 1995-06-14 1995-06-14 Trace collection method and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7147628A JPH096652A (en) 1995-06-14 1995-06-14 Trace collection method and computer system

Publications (1)

Publication Number Publication Date
JPH096652A true JPH096652A (en) 1997-01-10

Family

ID=15434632

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7147628A Pending JPH096652A (en) 1995-06-14 1995-06-14 Trace collection method and computer system

Country Status (1)

Country Link
JP (1) JPH096652A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009087324A (en) * 2007-09-13 2009-04-23 Ricoh Co Ltd Device information management apparatus, device information management method, and device information management program
US8589534B2 (en) 2007-09-13 2013-11-19 Ricoh Company, Ltd. Device information management apparatus, device information management method, and storage medium which operates during a failure
JP2017097468A (en) * 2015-11-19 2017-06-01 コニカミノルタ株式会社 Information processing apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009087324A (en) * 2007-09-13 2009-04-23 Ricoh Co Ltd Device information management apparatus, device information management method, and device information management program
US8589534B2 (en) 2007-09-13 2013-11-19 Ricoh Company, Ltd. Device information management apparatus, device information management method, and storage medium which operates during a failure
JP2017097468A (en) * 2015-11-19 2017-06-01 コニカミノルタ株式会社 Information processing apparatus
US10642450B2 (en) 2015-11-19 2020-05-05 Konica Minolta, Inc. Information processing apparatus

Similar Documents

Publication Publication Date Title
JP3532289B2 (en) Computer system analyzer
CN111913656B (en) Computer storage node and method in distributed shared storage system
JP2003122599A (en) Computer system, and method of executing and monitoring program in computer system
JPH096652A (en) Trace collection method and computer system
CN112559565A (en) Abnormity detection method, system and device
JPH0764811A (en) Computer backup system
JP2007034864A (en) Diagnostic method for i/o device
JPH07248810A (en) Numerical controller
JPS6363934B2 (en)
JPS6111855A (en) Function diagnosing method of data processor
CN116820819A (en) Batch job processing method, device, processor and storage medium
CN116340030A (en) Fault processing method and device for service resources
JPS59180747A (en) System for automatically detecting dead lock
CN113312236A (en) Database monitoring method and device
JPH07302201A (en) Pipeline arithmetic data diagnostic device
JPH04275664A (en) Mutual monitoring method and device between processors
JPH07120163B2 (en) PMC signal trace control system
JPS63289654A (en) Program branching instruction monitoring system
JPH02238535A (en) Page number variable on-demand paging system
JPH02242447A (en) Memory dump collecting system
JPH04363733A (en) Abnormality discrimination system for shared database
JPH08263419A (en) System for loading/executing program
JPH03191421A (en) Computer system with disk device
JPH06266630A (en) Input/output controller with trace function
JPS5979365A (en) System for controlling history memory