JPH02253349A - Display system for program executing state - Google Patents

Display system for program executing state

Info

Publication number
JPH02253349A
JPH02253349A JP1076317A JP7631789A JPH02253349A JP H02253349 A JPH02253349 A JP H02253349A JP 1076317 A JP1076317 A JP 1076317A JP 7631789 A JP7631789 A JP 7631789A JP H02253349 A JPH02253349 A JP H02253349A
Authority
JP
Japan
Prior art keywords
program
time
end time
file
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
Application number
JP1076317A
Other languages
Japanese (ja)
Inventor
Yuji Suzuki
祐二 鈴木
Kumiko Suzuki
久美子 鈴木
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.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP1076317A priority Critical patent/JPH02253349A/en
Publication of JPH02253349A publication Critical patent/JPH02253349A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily grasp the remaining amount of a program by using a program information store means, a program end time estimating means, and a program executing state display means. CONSTITUTION:When the execution of a program is through, a program information store means 1 stores the CPU occupation time used by the program and the file I/O frequency into a program information store file 2. A program end time estimating means 4 calculates and estimates the program end time based on the time passed from the start through the present time point, the CPU occupation time and the file I/O frequency used up to the present time point, and the CPU occupation time and the file I/O frequency stored in the file 2. A program executing state display means 5 displays the program end time estimated by the means 4 on a CRT 6. Thus it is possible to easily grasp the remaining amount of a program with no labor nor time required for the manual calculation.

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.

〔従来の技術〕[Conventional technology]

従来、この種のプログラム実行状態表示方式では、指定
されたプログラムがどの資源(CP U。
Conventionally, in this type of program execution status display method, it is difficult to determine which resource (CPU) a specified program is using.

ファイル等)を現在までにどのくらい使用(時間。How much time have you used the files (files, etc.) to date?

入出力回数等)しているのかを示す情報は表示されてい
たが、プログラムがあとどのくらいで終了するのかを示
す情報は表示されていなかった。
Information indicating whether the program was running (such as the number of inputs and outputs) was displayed, but there was no information indicating how long it would take for the program to finish.

このため、プログラムがあとどのくらいで終了するのか
を知りたい場合には、通常、オペレータ。
For this reason, when you want to know how much time left for a program to finish, you typically use the operator.

ブログラヤ等のプログラム実行者またはシステム運用者
がプログラムが終了するまでに必要とするCPU占有時
間、入出力回数等をあらかじめ記録しておき、プログラ
ム実行状態表示指示コマンドの投入によって表示される
現在までのプログラムのCPU占有時間5人出力回数等
を参照してプログラムの残りの実行時間(以下、プログ
ラム終了時間という)を手計算で計算して推測していた
A program executor such as Blograya or a system operator records in advance the CPU occupation time, input/output times, etc. required for the program to finish, and displays the current status displayed by inputting the program execution status display instruction command. The remaining execution time of the program (hereinafter referred to as program end time) was manually calculated and estimated by referring to the CPU occupancy time of the program, the number of outputs by five people, etc.

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

上述した従来のプログラム実行状態表示方式では、指定
されたプログラムがどの資源(CP U。
In the conventional program execution status display method described above, the specified program does not know which resource (CPU).

ファイル等)を現在までにどのくらい使用(時間入出力
回数等)しているのかを示す情報は表示されていたが、
プログラムがあとどのくらいで終了するのかを示す情報
は表示されていなかったので、プログラム終了時間を計
算するためにはあらかじめ各プログラムの各種資源の使
用量を記録し、手計算でプログラム終了時間を求めなけ
ればならず、煩わしいとともに間違いが生じやすいとい
う欠点がある。
Although information indicating how much the file (files, etc.) has been used up to now (time, input/output count, etc.) was displayed,
Information indicating how long it would take for the program to finish was not displayed, so in order to calculate the program finish time, you had to record the usage of various resources for each program in advance and manually calculate the program finish time. However, it has the drawbacks of being troublesome and prone to errors.

本発明の目的は、上述の点に鑑み、プログラム実行状態
表示指示コマンドの投入に応じて実行中のプログラムの
プログラム終了時間を表示することができ、プログラム
実行者またはシステム運用者がプログラム終了時間を手
計算で計算するときの手間や計算ミスなしにプログラム
があとどのくらいで終了するのかを簡単に把握すること
ができるプログラム実行状態表示方式を提供することに
ある。
In view of the above-mentioned points, an object of the present invention is to be able to display the program end time of a program being executed in response to input of a program execution state display instruction command, and to enable a program executor or system operator to display the program end time. To provide a program execution status display method that allows you to easily grasp how much time it will take for a program to finish without the trouble and calculation errors required when performing manual calculations.

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

本発明のプログラム実行状態表示方式は、実行中のプロ
グラムの状態を可視表示装置に表示するコンピュータシ
ステムにおいて、プログラムの終了時に当該プログラム
で使用された各種資源の使用量を各プログラム毎に記憶
保存するプログラム情報保存手段と、実行中のプログラ
ムに対するプログラム実行状態表示指示コマンドを受け
付け指定されたプログラムに関する現在までに使用され
た各種資源の使用量と前記プログラム情報保存手段によ
って保存されている当該ブ凸グラムの終了までに使用さ
れた各種資源の使用量とに基づいてプログラム終了時間
を計算して推測するプログラム終了時間予測手段と、こ
のプログラム終了時間予測手段により得られたプログラ
ム終了時間を可視表示装置に表示するプログラム実行状
態表示手段とを有する。
The program execution status display method of the present invention is a computer system that displays the status of a program being executed on a visual display device, and stores and saves the amount of various resources used by each program at the end of the program. A program information storage means receives a program execution status display instruction command for a program being executed, and the amount of usage of various resources used up to now regarding the specified program and the corresponding program convex gram stored by the program information storage means. A program end time prediction means for calculating and estimating the program end time based on the usage amount of various resources used until the end of the program; and a program end time prediction device that visually displays the program end time obtained by the program end time prediction means. and program execution status display means for displaying the program execution status.

〔作用〕[Effect]

本発明のプログラム実行状態表示方式では、プログラム
情報保存手段がプログラムの終了時に当該プログラムで
使用された各種資源の使用量を各プログラム毎に記憶保
存し、プログラム終了時間予測手段が実行中のプログラ
ムに対するプログラム実行状態表示指示コマンドを受け
付け指定されたプログラムに関する現在までに使用され
た各種資源の使用量とプログラム情報保存手段によって
保存されている当該プログラムの終了までに使用された
各種資源の使用量とに基づいてプログラム終了時間を計
算して推測し、プログラム実行状態表示手段がプログラ
ム終了時間予測手段により得られたプログラム終了時間
を可視表示装置に表示する。
In the program execution status display method of the present invention, the program information storage means stores and saves the usage amount of various resources used by the program at the end of the program for each program, and the program end time prediction means The program execution status display instruction command is received, and 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 saved by the program information storage means are displayed. Based on this, the program end time is calculated and estimated, and the program execution state display means displays the program end time obtained by the program end time prediction means on a visual display device.

(実施例) 次に、本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例に係るプログラム実行状態
表示方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a program execution status display method according to an embodiment of the present invention.

本実施例のプログラム実行状態表示方式は、プログラム
の終了時にプログラムで使用されたCPU(中央処理装
置)占有時間とファイルl10(入出力)回数とを各プ
ログラム毎にプログラム情報保存ファイル2に記憶保存
するプログラム情報保存手段1と、実行中のプログラム
に対してのプログラム実行状態表示指示コマンドを人力
するキーボード3と、プログラム実行状態表示指示コマ
ンドで指定されたプログラムに関する現在までに使用さ
れたCPU占有時間およびファイル110回数とプログ
ラム情報保存ファイル2に保存されているプログラムの
終了までに使用されたCPU占有時間およびファイル1
10回数とに基づいてプログラム終了時間を計算して推
測するプログラム終了時間予測手段4と、プログラム終
了時間予測手段4により得られたプログラム終了時間を
CRT(可視表示装置)6に表示するプログラム実行状
態表示手段5とから構成される装置 第2図を参照すると、プログラム情報保存ファイル2は
、プログラム名21.CPU占有時間22およびファイ
ル110回数23からなる複数のレコードを格納するよ
うになっている。
The program execution status display method of this embodiment 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 manually inputting program execution status display instruction commands for the program being executed, and CPU occupancy time used up to now regarding the program specified by the program execution status display instruction command. and file 110 times and the CPU occupation time used until the end of the program saved in program information storage file 2 and file 1
a program end time predicting means 4 that calculates and estimates the program end time based on the number of times the program ends, and a program execution state that displays the program end time obtained by the program end time predicting means 4 on a CRT (visual display device) 6; Referring to FIG. 2, the program information storage file 2 includes a program name 21. A plurality of records consisting of CPU occupation time 22 and file 110 count 23 are stored.

次に、このように構成された本実施例のプログラム実行
状態表示方式の動作について説明する。
Next, the operation of the program execution status display method of this embodiment configured as described above will be explained.

実行されたプログラムが終了すると、プログラム情報保
存手段1は、プログラムが使用したCPU占有時間22
とファイル110回数23とをプログラム情報保存ファ
イル2に格納する。
When the executed program ends, the program information storage means 1 stores the CPU occupation time 22 used by the program.
and the file 110 count 23 are stored in the program information storage file 2.

詳しくは、プログラム情報保存手段Iは、まず終了した
プログラムの名前でプログラム情報保存ファイル2のプ
ログラム名21をサーチし、同一のプログラム名21が
なければ、新規にそのプログラム名21.CPU占有時
間22およびファイル110回数23のレコードを作成
してプログラム情報保存ファイル2に登録する。一方、
同一のプログラム名2!があれば、プログラム情報保存
手段1は、そのレコードのCPU占有時間22とファイ
ル110回数23とを今回のデータに置き換える。これ
により、終了したプログラムのCPU占有時間22とフ
ァイル110回数23とがプログラム情報保存ファイル
2に登録されたことになる。
Specifically, the program information storage means I first searches the program name 21 of the program information storage file 2 using the name of the terminated program, and if the same program name 21 does not exist, it newly stores the program name 21. A record of CPU occupation time 22 and file 110 count 23 is created and registered in the program information storage file 2. on the other hand,
Same program name 2! If so, the program information storage means 1 replaces the CPU occupation time 22 and file 110 count 23 of that record with the current data. As a result, the CPU occupation time 22 and file 110 count 23 of the completed program are registered in the program information storage file 2.

オペレータによりプログラム実行状態表示指示コマンド
のパラメータとして実行中のプログラムのプログラム名
21がキーボード3から人力されると、プログラム終了
時間予測手段4は、多旨定されたプログラム名21のチ
エツクを行う。
When the operator inputs the program name 21 of the program currently being executed from the keyboard 3 as a parameter of the program execution status display instruction command, the program end time prediction means 4 checks the program name 21 that has been specified for multiple purposes.

詳しくは、プログラム終了時間予測手段4は、まず指定
されたプログラム名21のプログラムが本当に現在実行
中のプログラムであるかどうかを調べ、プログラムが現
在実行中でなければエラーとする。また、そのプログラ
ムが実ギ〒中であっても、そのプログラム名21をもつ
レコードがプログラム情報保存ファイル2に登録されて
いなければ(っまり、始めて実行されたプログラムであ
ったときには)、エラーとする。
Specifically, the program end time predicting means 4 first checks whether the program with the designated program name 21 is actually the program currently being executed, and determines an error if the program is not currently being executed. Furthermore, even if the program is in execution, if a record with the program name 21 is not registered in the program information storage file 2 (in other words, if it is the first program to be executed), an error will occur. do.

現在実行中でかつプログラム情報保存ファイル2に該当
するプログラム名21のレコードが登録されている場合
にのみ、プログラム終了時間予測手段4は、以降のプロ
グラム終了時間の予測処理を行う。
Only when the program is currently being executed and a record of the corresponding program name 21 is registered in the program information storage file 2, the program end time prediction means 4 performs the process of predicting the subsequent program end time.

詳しくは、プログラム終了時間予測手段4は、まずプロ
グラムが開始されてから現在までの経過時間(ELAP
cとする)と、現在までに使用されたCPU占有時間(
CPUcとする)と、プログラム情報保存ファイル2に
格納されているそのプログラムが過去に実行されたとき
のCPU占有時間(CPUe)22とから、このプログ
ラムが終了するまでにあとどのくらい時間がかかるかを
次の計算式で計算する。
Specifically, the program end time prediction means 4 first calculates the elapsed time (ELAP) from the start of the program to the present time.
c) and the CPU occupation time used up to now (
From the CPU occupancy time (CPUe) 22 stored in the program information storage file 2 when the program was executed in the past, determine how much time it will take for this program to finish. Calculate using the following formula.

CPU占有時間22から求めた残り実行時間ELAPc
pu= CPUc 次に、プログラム終了時間予測手段4は、そのプログラ
ムの実行が開始されてから現在までの経過時間(ELA
Pcとする)と、現在までに実行されたファイル110
回数(r / Ocとする)と、プログラム情報保存フ
ァイル2に格納されているそのプログラムが過去に実行
されたときのファイル110回数(1/ Oe )とか
ら、このプログラムが終了するまでにあとどのくらい時
間がかかるかを次の計算式で計算する。
Remaining execution time ELAPc calculated from CPU occupied time 22
pu=CPUc Next, the program end time prediction means 4 calculates the elapsed time (ELA) from the start of execution of the program to the present time.
Pc) and the files executed so far 110
From the number of times (r/Oc) and the file 110 times (1/Oe) when the program was executed in the past stored in program information storage file 2, how much time is left until this program ends? Calculate how long it will take using the following formula.

ファイル110回数23から求めた残り実行時間ELA
Pi10= 1 / Oc 続いて、プログラム終了時間予測手段4は、上記2種類
の計算式に基づいて求めた残り実行時間(ELAPcp
uおよびELAPilo)のうちの大きい方を実際のプ
ログラム終了時間として、プログラム実行状態表示手段
5に通知する。
Remaining execution time ELA calculated from file 110 count 23
Pi10=1/Oc Next, the program end time prediction means 4 calculates the remaining execution time (ELAPcp
The program execution status display means 5 is notified of the larger of u and ELAPilo as the actual program end time.

プログラム実行状態表示手段5は、通知されたプログラ
ム終了時間を受は取ってCRT6に表示する。
The program execution status display means 5 receives the notified program end time and displays it on the CRT 6.

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

以上説明したように本発明は、プログラム情報保存手段
、プログラム終了時間予測手段およびプログラム実行状
態表示手段を設けたことにより、プログラム実行状態表
示指示コマンドの投入に応じて実行中のプログラムのプ
ログラム終了時間を表示することができ、プログラム実
行者またはシステム運用者がプログラム終了時間を手計
算で計算するときの手間や計算ミスなしにプログラムが
あとどのくらいで終了するのかを容易に把握することが
できるという効果がある。
As explained above, the present invention provides a program information storage means, a program end time predicting means, and a program execution state display means. The effect is that the program executor or system operator can easily understand how long it will take for the program to finish without the trouble and calculation errors that would be required when manually calculating the program completion time. There is.

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

第1図は本発明の一実施例に係るプログラム実行状態表
示方式の構成を示すプロンク図、第2図は第1図中のプ
ログラム情報保存ファイルの構成を示す図である。 図において、 プログラム情報保存手段、 プログラム情報保存ファイル、 キーボード、 プログラム終了時間予測手段、 プログラム実行状態表示手段、 CRT。 プログラム名、 22・・・CPLI占有時間、 23・・・ファイル110回数である。
FIG. 1 is a block diagram showing the configuration of a program execution status display system according to an embodiment of the present invention, and FIG. 2 is a diagram showing the configuration of a program information storage file in FIG. 1. In the figure, a program information storage means, a program information storage file, a keyboard, a program end time prediction means, a program execution status display means, and a CRT. Program name, 22... CPLI occupation time, 23... File 110 times.

Claims (1)

【特許請求の範囲】 実行中のプログラムの状態を可視表示装置に表示するコ
ンピュータシステムにおいて、 プログラムの終了時に当該プログラムで使用された各種
資源の使用量を各プログラム毎に記憶保存するプログラ
ム情報保存手段と、 実行中のプログラムに対するプログラム実行状態表示指
示コマンドを受け付け指定されたプログラムに関する現
在までに使用された各種資源の使用量と前記プログラム
情報保存手段によって保存されている当該プログラムの
終了までに使用された各種資源の使用量とに基づいてプ
ログラム終了時間を計算して推測するプログラム終了時
間予測手段と、 このプログラム終了時間予測手段により得られたプログ
ラム終了時間を可視表示装置に表示するプログラム実行
状態表示手段と を有することを特徴とするプログラム実行状態表示方式
[Scope of Claims] In a computer system that displays the status of a program being executed on a visual display device, program information storage means stores and stores the amount of various resources used by each program when the program ends. and receiving a program execution status display instruction command for the program being executed, and displaying the amount of various resources used up to now regarding the specified program and the amount of resources used up to the end of the program stored by the program information storage means. a program end time prediction means for calculating and estimating a program end time based on the usage amount of various resources; and a program execution status display for displaying the program end time obtained by the program end time prediction means on a visual display device. 1. A program execution status display method comprising:
JP1076317A 1989-03-27 1989-03-27 Display system for program executing state Pending JPH02253349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1076317A JPH02253349A (en) 1989-03-27 1989-03-27 Display system for program executing state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1076317A JPH02253349A (en) 1989-03-27 1989-03-27 Display system for program executing state

Publications (1)

Publication Number Publication Date
JPH02253349A true JPH02253349A (en) 1990-10-12

Family

ID=13601994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1076317A Pending JPH02253349A (en) 1989-03-27 1989-03-27 Display system for program executing state

Country Status (1)

Country Link
JP (1) JPH02253349A (en)

Similar Documents

Publication Publication Date Title
US6606658B1 (en) Apparatus and method for server resource usage display by comparison of resource benchmarks to determine available performance
US5426730A (en) Method and apparatus for displaying sequential function chart elements
JP2005049922A (en) Evaluation system for job execution plan
JPH02253349A (en) Display system for program executing state
JPH06348720A (en) Production development control display device
JP2715904B2 (en) Computer system performance evaluation device
JPH04305740A (en) Method for displaying processing status
JPH07129677A (en) Production simulation device
JPH083725B2 (en) Abnormality diagnostic device for sequence controller
JPH03265943A (en) Display system for program executing state
JPH11265306A (en) Throughput estimation device, its method and recording medium
JPH08194682A (en) Arithmetic tracking system and arithmetic method using the same
JP4982725B2 (en) Program change man-hour estimation device, program change man-hour estimation method, and program change man-hour estimation processing program
JPS63189960A (en) System performance improving system
JPH05257741A (en) Executing performance measurement system for program
JP2002196812A (en) Analysis supporting device for manual work
JP2561130Y2 (en) Distributed control system
JPH0584374A (en) Allocation time calculating system for each process in sewing factory and device therefor
JPH0695864A (en) Estimating device for software development man-hour
JPH01109060A (en) Production schedule forming device
JPH03255544A (en) Method and device for estimating reliability of software
JPH02211548A (en) Monitoring device for virtual computer
CN112417799A (en) Multi-signal selection and response method
JPH1173343A (en) Program test device and storage medium
JP2010039720A (en) System, device, method, and program for managing task, and recording medium