JPH03265943A - Display system for program executing state - Google Patents
Display system for program executing stateInfo
- Publication number
- JPH03265943A JPH03265943A JP2066479A JP6647990A JPH03265943A JP H03265943 A JPH03265943 A JP H03265943A JP 2066479 A JP2066479 A JP 2066479A JP 6647990 A JP6647990 A JP 6647990A JP H03265943 A JPH03265943 A JP H03265943A
- Authority
- JP
- Japan
- Prior art keywords
- program
- executing process
- progress rate
- program execution
- information storage
- 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
- 238000000034 method Methods 0.000 claims abstract description 19
- 230000000007 visual effect Effects 0.000 claims description 4
- 229940036310 program Drugs 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はプログラム実行状態表示方式に関し、特にコン
ピュータシステムにおけるプログラム実行状態表示方式
に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for displaying program execution status, and particularly to a method for displaying program execution status in a computer system.
従来、この種のプログラム実行状態表示方式では、指定
されたプログラムがどの資源(cpu。Conventionally, in this type of program execution status display method, it is difficult to determine which resource (CPU) a specified program uses.
ファイル等)を現在迄にどのくらい使用く時間、入出力
回数等)しているのかを示す情報は表示されていたが、
それがそのプログラムが終了するまでの使用量の何パー
セント(実行経過率)にあたるものなのかは表示されて
いなかった。Information indicating how long the file (files, etc.) has been used so far, the number of input/output operations, etc.) was displayed,
It was not displayed what percentage of the usage (execution progress rate) it would take until the program ended.
このため、プログラム実行経過率を知りたい場合には、
通常、オペレータ、プログラマ等のプロダラム実行者ま
たはシステム運用者がプログラムが終了するまでに必要
とするCPU占有時間、入出力回数等をあらかじめ記録
しておき、プログラム実行状態表示指示コマンドの投入
によって表示される現在までのプログラムのCPU占有
時間、入出力回数等を参照してプログラム実行経過率を
手計算で計算していた。Therefore, if you want to know the program execution progress rate,
Normally, an operator, programmer, or other program executor or system operator records in advance the CPU occupation time, input/output count, etc. required for the program to finish, and then displays the information by inputting a program execution status display instruction command. The program execution progress rate was manually calculated by referring to the CPU occupation time of the program up to the present time, the number of inputs and outputs, etc.
上述した従来のプログラム実行状態表示方式では、指定
されたプログラムがどの資源(CPUファイル等)を現
在までにどのくらい使用(時間、入出力回数等)してい
るのかを示す情報は表示されていたが、プログラムの全
処理の内、現在、何パーセント実行されているという様
な情報(実行経過率)は表示されなかったので、プログ
ラム実行経過率を計算するためにはあらかじめ各プログ
ラムの各種資源の使用量を記録し、手計算で実行経過率
を求めなければならず、煩わしいとともに間違いが生じ
やすいという欠点があった。In the conventional program execution status display method described above, information indicating which resources (CPU files, etc.) the specified program is currently using and how much (time, number of input/outputs, etc.) is displayed. Since information such as what percentage of the program's total processing is currently being executed (execution progress rate) was not displayed, in order to calculate the program execution progress rate, the use of various resources of each program must be calculated in advance. It is necessary to record the amount and manually calculate the execution progress rate, which is troublesome and prone to errors.
本発明の目的は、上述の点を解決し、プログラム実行状
態表示指示コマンドの投入に応じて実行中のプログラム
の実行経過率を表示することができ、プログラム実行経
過率を手計算で計算するときの手間や計算ミスなしにプ
ログラム実行経過率を求められるプログラム実行状態表
示方式を提供することにある。An object of the present invention is to solve the above-mentioned problems, to display the execution progress rate of a program being executed in response to input of a program execution status display instruction command, and to display the execution progress rate of a program being executed when manually calculating the program execution progress rate. To provide a program execution status display method that allows the program execution progress rate to be determined without any trouble or calculation errors.
本発明のプログラム実行状態表示方式は、実行中のプロ
グラムの状態を可視表示装置に表示するコンピュータシ
ステムのプログラム実行状態表示方式において、前記プ
ログラムの終了時に前記プログラムで使用された各種資
源の使用量を前記各プログラムごとに言己憶保存するプ
ログラム情報保存手段と、実行中の前記プログラムに対
するプログラム実行状態表示指示コマンドを受け付け、
指定された前記プログラムに関する現在までに使用され
た各種資源の使用量と前記プログラム情報保存手段によ
って保存されている前記プログラムの終了までに使用さ
れた各種資源の使用量とに基づいてプログラムの実行経
過率を計算するプログラム実行経過率計算手段と、前記
プログラム実行経過率計算手段により得られたプログラ
ム実行経過率を可視表示装置に表示するプログラム実行
状態表示手段とを有する。The program execution status display method of the present invention is a program execution status display method for a computer system that displays the status of a program being executed on a visual display device, and displays the usage amount of various resources used by the program at the end of the program. a program information storage means for storing information for each program; and receiving a program execution status display instruction command for the program being executed;
The execution progress of the program based on the usage amount of various resources used up to the present regarding the specified program and the usage amount of various resources used until the end of the program stored by the program information storage means. The present invention has a program execution progress rate calculation means for calculating the program execution progress rate, and a program execution state display means for displaying the program execution progress rate obtained by the program execution progress rate calculation means on a visual display device.
次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.
第1図は、本発明の一実施例の構成を示すブロック図で
ある。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
第1図のプログラム実行状態表示方式は、プログラムの
終了時にプログラムで使用されたcPU(中央処理装置
)占有時間とファイルl10(入出力)回数とを各プロ
グラムごとにプログラム情報保存ファイル2に記憶保存
するプログラム情報保存手段l、実行中のプログラムに
対してのプログラム実行状態表示指示コマンドを入力す
るキーボード3、プログラム実行状態表示指示コマンド
で指定されたプログラムに関する現在までに使用された
CPU占有時間およびファイルI10回数と、プログラ
ム情報保存ファイル2に保存されているプログラムの終
了までに使用されたCPU占有時間およびファイルI1
0回数とに基づいてプログラム実行経過率を計算するプ
ログラム実行経過率計算手段4、プログラム実行経過率
計算手段4により得られたプログラム実行経過率をCR
T(可視表示装置)6に表示するプログラム実行状態表
示手段5から構成されている。The program execution status display method shown in FIG. 1 stores the cPU (central processing unit) occupation time used by the program and the file l10 (input/output) count for each program in the program information storage file 2 at the end of the program. A keyboard 3 for inputting program execution status display instruction commands for the program being executed, CPU occupancy time and files used up to now regarding the program specified by the program execution status display instruction commands. I10 count, CPU occupancy time used until the end of the program saved in program information storage file 2, and file I1
The program execution progress rate calculation means 4 calculates the program execution progress rate based on the number of times the program is executed, and the program execution progress rate obtained by the program execution progress rate calculation means 4 is CR.
It consists of a program execution status display means 5 that is displayed on a T (visible display device) 6.
第2図を参照すると、プログラム情報保存ファイル2は
、プログラム名、CPU占有時間およびファイルI10
回数からなる複数のレコードを格納するようなっている
。Referring to FIG. 2, the program information storage file 2 includes the program name, CPU occupation time, and file I10.
It is designed to store multiple records consisting of counts.
次に、このように構成された本実施例のプログラム実行
状態表示方式の動作について説明する。Next, the operation of the program execution status display method of this embodiment configured as described above will be explained.
実行されたプログラムが終了すると、プログラム情報保
存手段1は、プログラムが使用したCPU占有時間とフ
ァイルI10回数とをプログラム情報保存ファイル2に
格納する。When the executed program ends, the program information storage means 1 stores the CPU occupation time used by the program and the number of times of file I10 in the program information storage file 2.
詳しくは、プログラム情報保存手段1は、まず終了した
プログラムの名前でプログラム情報保存ファイル2のプ
ログラム名をサーチし、同一のプログラム名がなければ
、新規にそのプログラム名、CPU占有時間およびファ
イルI10回数のレコードとしてプログラム情報保存フ
ァイル2に登録する。Specifically, the program information storage means 1 first searches the program information storage file 2 for the program name using the name of the terminated program, and if there is no same program name, it newly stores the program name, CPU occupation time, and file I10 count. It is registered in the program information storage file 2 as a record.
一方、同一のプログラム名があれば、プログラム情報保
存手段1は、そのレコードのCPLI占有時間とファイ
ル170回数とを今回のデータに置き換える。これによ
り、終了したプログラムのCPU占有時間とファイルI
10回数とがプログラム情報保存ファイル2に登録され
たことになる。On the other hand, if there is the same program name, the program information storage means 1 replaces the CPLI occupancy time and file 170 count of that record with the current data. As a result, the CPU occupation time of the terminated program and the file I
10 times is registered in the program information storage file 2.
オペレータによりプログラム実行状態表示コマンドのパ
ラメータとして実行中のプログラムのプログラム名がキ
ーボード3から入力されると、プログラム実行経過率計
算手段4は、指定されたプログラム名のチエツクを行う
。When the operator inputs the program name of the program being executed from the keyboard 3 as a parameter of the program execution status display command, the program execution progress calculation means 4 checks the specified program name.
すなわち、プログラム実行経過率計算手段4は、まず指
定されたプログラム名のプログラムが本当に現在実行中
のプログラムであるかどうがを調べ、プログラムが現在
実行中でなければエラーとする。That is, the program execution progress calculation means 4 first checks whether the program with the designated program name is actually the program currently being executed, and if the program is not currently being executed, an error occurs.
また、そのプログラムが実行中であっても、そのプログ
ラム名をもつレコードがプログラム情報保存ファイル2
に登録されていなければ(すなわち、初めで実行された
プログラムであったときは)、エラーとする。Also, even if that program is running, a record with that program name will be stored in the program information storage file 2.
If the program is not registered in the program (that is, it is the first program executed), an error occurs.
現在実行中でかつプログラム情報保存ファイル2に該当
するプログラム名のレコードが登録されている場合にの
み、プログラム実行経過率計算手段4は、以降のプログ
ラム実行経過率の計算を行う。Only when the program is currently being executed and a record of the corresponding program name is registered in the program information storage file 2, the program execution progress rate calculating means 4 calculates the subsequent program execution progress rate.
プログラム実行経過率計算手段4は、まずプログラムが
開始されてから現在までに使用されたCPU占有時間(
CPUcとする)と、プログラム情報保存ファイル2に
格納されているそのプログラムが過去に実行されたとき
のCPU占有時間(CPU、とする)とからこのプログ
ラムの実行経過率を次の計算式で計算する。The program execution progress calculation means 4 first calculates the CPU occupation time (
Calculate the execution elapsed rate of this program using the following formula from the CPU occupancy time (denoted as CPU) when the program was executed in the past, which is stored in the program information storage file 2. do.
CPU占有時間から求めた実行経過率(%)CPU。Execution progress rate (%) CPU calculated from CPU occupancy time.
=CPU。×100
次に、プログラム実行経過率計算手段4は、そのプログ
ラムが実行されてから、現在までに実行されたファイル
I10回数(I 10.とする)と、プログラム情報保
存ファイル2に格納されているそのプログラムが過去に
実行されたときのファイルI10回数(Iloeとする
)とから、このプログラムの実行経過率を次の計算式で
計算する。=CPU. ×100 Next, the program execution progress rate calculation means 4 calculates the number of times the file I10 has been executed since the program was executed (referred to as I10.), and the number of times the program has been executed up to the present time, and the number of times the program has been executed, which is stored in the program information storage file 2. The execution progress rate of this program is calculated using the following formula from the number of times file I10 was executed in the past (referred to as Iloe).
ファイルI10回数から求めた実行経過率(%)続いて
、プログラム実行経過率計算手段4は、上記2種類の計
算式に基づいて求めた実行経過率で小さい方を実際のプ
ログラム実行経過率として、プログラム実行状態表示手
段5に通知する。Execution progress rate (%) obtained from file I10 times Next, the program execution progress rate calculation means 4 determines the smaller of the execution progress rates obtained based on the above two types of calculation formulas as the actual program execution progress rate. The program execution status display means 5 is notified.
プログラム実行状態表示手段5は、通知されたプログラ
ム実行経過率を受け取ってCRT6に表示する。The program execution status display means 5 receives the notified program execution progress rate and displays it on the CRT 6.
以上説明したように本発明は、プログラム情報保存手段
、プログラム実行経過率計算手段およびプログラム実行
状態表示手段を設けたことにより、プログラム実行状態
表示指示コマンドの投入に応じて実行中のプログラムの
実行経過率を表示することができ、プログラム実行者ま
たはシステム運用者がプログラム実行経過率を手計算で
計算するときの手間や計算ミスなしにプログラムがどの
くらい処理されているかを容易に把握することができる
という効果がある。As explained above, the present invention provides a program information storage means, a program execution progress rate calculation means, and a program execution state display means. The program execution rate can be displayed, allowing program executors or system operators to easily grasp how much the program has been processed without the hassle and calculation errors that would otherwise be required when manually calculating the program execution progress rate. effective.
第1図は本発明の一実施例の構成を示すブロック図、第
2図は第1図中のプログラム情報保存ファイルの構造を
示す図である。
1・・・プログラム情報保存手段、2・・・プログラム
情報保存ファイル、3・・・キーボード、4・・・プロ
グラム実行経過率計算手段、5・・・プログラム実行状
態表示手段、6・・・CRT。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a diagram showing the structure of the program information storage file in FIG. 1. DESCRIPTION OF SYMBOLS 1...Program information storage means, 2...Program information storage file, 3...Keyboard, 4...Program execution progress rate calculation means, 5...Program execution status display means, 6...CRT .
Claims (1)
ンピュータシステムのプログラム実行状態表示方式にお
いて、 前記プログラムの終了時に前記プログラムで使用された
各種資源の使用量を前記各プログラムごとに記憶保存す
るプログラム情報保存手段と、実行中の前記プログラム
に対するプログラム実行状態表示指示コマンドを受け付
け、指定された前記プログラムに関する現在までに使用
された各種資源の使用量と前記プログラム情報保存手段
によって保存されている前記プログラムの終了までに使
用された各種資源の使用量とに基づいてプログラムの実
行経過率を計算するプログラム実行経過率計算手段と、 前記プログラム実行経過率計算手段により得られたプロ
グラム実行経過率を可視表示装置に表示するプログラム
実行状態表示手段とを有することを特徴とするプログラ
ム実行状態表示方式。[Scope of Claims] In a program execution status display method for a computer system that displays the status of a program being executed on a visual display device, the usage amount of various resources used by the program at the time of termination of the program is displayed for each program. a program information storage means for storing and storing the program information in a computer; and a program information storage means that receives a program execution status display instruction command for the program being executed, and stores the usage amount of various resources used up to now regarding the specified program by the program information storage means. a program execution progress rate calculation means for calculating a program execution progress rate based on usage amounts of various resources used up to the end of the program; 1. A program execution status display method comprising: program execution status display means for displaying a progress rate on a visual display device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2066479A JPH03265943A (en) | 1990-03-15 | 1990-03-15 | Display system for program executing state |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2066479A JPH03265943A (en) | 1990-03-15 | 1990-03-15 | Display system for program executing state |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH03265943A true JPH03265943A (en) | 1991-11-27 |
Family
ID=13316958
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2066479A Pending JPH03265943A (en) | 1990-03-15 | 1990-03-15 | Display system for program executing state |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH03265943A (en) |
-
1990
- 1990-03-15 JP JP2066479A patent/JPH03265943A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH03265943A (en) | Display system for program executing state | |
| JP3167245B2 (en) | Programmable controller operating state monitoring device | |
| JP3750084B2 (en) | Data processing device for narrowed display | |
| JP3404730B2 (en) | Program update detection method for programming device | |
| JPH02253349A (en) | Display system for program executing state | |
| CN112843684A (en) | Game guide processing method, device, equipment and computer readable storage medium | |
| JPS6249430A (en) | Computer system | |
| JP2560608B2 (en) | Micro program check system | |
| JPH04305740A (en) | Method for displaying processing status | |
| JP2561130Y2 (en) | Distributed control system | |
| JPH0720721Y2 (en) | Programmable controller programmer | |
| JP2621651B2 (en) | Virtual storage usage measurement processor | |
| JPH05181712A (en) | Stack history creation method | |
| JPH03174633A (en) | Multi-task control system | |
| JP2957347B2 (en) | Job execution class stop method | |
| JP2943177B2 (en) | Drawing device for XY coordinate axes with scale numerical value | |
| JP3512631B2 (en) | Job information management apparatus and job information management method | |
| JPH0435955Y2 (en) | ||
| JPH04340175A (en) | Pipeline design system | |
| JPS62257547A (en) | System for measuring load of computer system | |
| JPH05324399A (en) | Information monitoring device | |
| JPH0359730A (en) | Job abort control method | |
| JPS63223921A (en) | Terminal job display method | |
| JPH0725401U (en) | Process quantity display device | |
| JPS6015736A (en) | Display system of item information |