JP2900851B2 - File usage output / monitoring device - Google Patents
File usage output / monitoring deviceInfo
- Publication number
- JP2900851B2 JP2900851B2 JP7220404A JP22040495A JP2900851B2 JP 2900851 B2 JP2900851 B2 JP 2900851B2 JP 7220404 A JP7220404 A JP 7220404A JP 22040495 A JP22040495 A JP 22040495A JP 2900851 B2 JP2900851 B2 JP 2900851B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- usage
- usage rate
- output
- information
- 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.)
- Expired - Lifetime
Links
- 238000012806 monitoring device Methods 0.000 title claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003466 anti-cipated effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012925 reference material Substances 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ファイル使用率出
力・監視装置に関し、特に、ファイルの容量見積りを行
うときの参考となる使用率の実績値を出力するファイル
使用率出力・監視装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file utilization output / monitoring device, and more particularly, to a file utilization output / monitoring device for outputting an actual utilization value which is used as a reference when estimating a file capacity.
【0002】[0002]
【従来の技術】従来は、人が任意のタイミングでユーテ
ィリティなどを使い、そのときの使用率を確認する。2. Description of the Related Art Conventionally, a person uses a utility or the like at an arbitrary timing to check the usage rate at that time.
【0003】[0003]
【発明が解決しようとする課題】従来の方法では定期的
に手作業により使用率を確認しなければならない。In the conventional method, the usage rate must be periodically checked manually.
【0004】より正確なファイル容量見積りを行うため
には、実際の使用量の最大値を計測することが大変有効
である。しかしジョブの動き、多重度などによりファイ
ルの使用率は時々刻々と変化する。また、特異日(例:
銀行業務における利息決算日)などは一般の日と比較し
て、ファイルの使用率は大きく変わることが予想され
る。このように時間または日によってファイル使用率の
最大値が変化するため、ファイル使用率の測定者は頻繁
にかつ数日間に渡ってあるいは特異日に手作業によって
測定する必要があり、大変効率の悪い面倒な作業であ
る。In order to estimate the file capacity more accurately, it is very effective to measure the maximum value of the actual usage. However, the usage rate of the file changes every moment due to the movement of the job, the degree of multiplicity, and the like. In addition, unusual days (eg:
It is anticipated that the usage rate of the file will greatly change, for example, the interest settlement date in the banking business) as compared to general days. Since the maximum value of the file usage varies depending on the time or the day, the file usage measurer needs to measure the frequency frequently and manually over several days or on special days, which is very inefficient. It is troublesome work.
【0005】[0005]
【課題を解決するための手段】本発明のファイル使用率
出力・監視装置は、ファイル使用率監視間隔を指定する
インターバルタイム(21)、ファイル使用率監視基準
を指定する基準使用率(22)、ファイル使用率監視対
象ファイルを指定するファイル名(23)の入力処理を
行うデータ入力手段(11)と、対象ファイル(24)
のスペース使用状況の情報を得るファイル情報入手手段
(12)と、前記ファイル情報入手手段が得た情報から
ファイル使用率を計算し、これらの情報を編集し出力エ
リア(25)に出力し、このときのファイル使用率が前
記基準使用率より大きかった場合、その旨をコンソール
に出力するとともに、計算された前記使用率に応じて前
記インターバルタイムを変更するデータ出力手段(1
3)と、前記インターバルタイムで指定された時間の持
ち合わせを行うタイマ手段(14)と、前記出力エリア
に格納されているファイル情報からファイル使用状況一
覧表および最大ファイル容量(一定時間間隔における最
大サブファイル容量の合算値)を出力する帳表出力手段
(15)とを有することを特徴とする。According to the present invention, there is provided a file utilization output / monitoring device comprising: an interval time (21) for designating a file utilization monitoring interval; a reference utilization (22) for designating a file utilization monitoring standard; A data input means (11) for inputting a file name (23) for designating a file usage monitoring target file; and a target file (24)
File information obtaining means (12) for obtaining information on the space use status of the above, and a file usage rate is calculated from the information obtained by the file information obtaining means, and the information is edited and output to an output area (25). If the file usage rate at the time is greater than the reference usage rate, a message to that effect is output to the console, and the previous usage rate is calculated according to the calculated usage rate.
Data output means (1) for changing the interval time
3), a timer means (14) for holding the time specified by the interval time, a file use list and a maximum file capacity (maximum sub-capacity at a certain time interval) from the file information stored in the output area. Book table output means (15) for outputting a total value of file capacity).
【0006】[0006]
【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。Next, embodiments of the present invention will be described with reference to the drawings.
【0007】図1は本発明の一実施の形態を示すブロッ
ク図である。データ入力手段11は入力データとして、
ファイル使用率を監視する時間間隔を指示するインター
バルタイム21、通知メッセージ出力の基準値を指示す
る基準使用率22、ファイル使用率出力・監視対象ファ
イル名を指示するファイル名23を得る。FIG. 1 is a block diagram showing an embodiment of the present invention. The data input means 11 receives as input data
An interval time 21 indicating a time interval for monitoring a file usage rate, a reference usage rate 22 indicating a reference value of a notification message output, and a file name 23 indicating a file usage rate output / monitoring target file name are obtained.
【0008】ファイル情報入手手段12は、ファイル名
23で指示された対象ファイル24のスペース状況の情
報としてファイルスペース量、ディレクトリ領域量、論
理トラックサイズ、データ領域量、使用中領域量、ディ
レクトリオーバーフロー情報、トラック当たりのブロッ
ク数、ブロックサイズ、リターンコードをシステムマク
ロを用いて取得する。[0008] The file information obtaining means 12 includes a file space amount, a directory area amount, a logical track size, a data area amount, a used area amount, and directory overflow information as information on the space status of the target file 24 designated by the file name 23. , The number of blocks per track, the block size, and the return code are obtained using a system macro.
【0009】データ出力手段13は、ファイル情報入手
手段12が得たデータ領域と使用中領域からファイル使
用率を算出し、これらの情報を編集し出力エリア25に
出力する。The data output means 13 calculates a file usage rate from the data area and the busy area obtained by the file information obtaining means 12, edits the information, and outputs the information to the output area 25.
【0010】また、データ出力手段13は、このときの
ファイル使用率が基準使用率22より大きかった場合、
その旨をコンソール26に出力し、利用者に注意を促
す。If the file usage rate at this time is larger than the reference usage rate 22,
This is output to the console 26 to alert the user.
【0011】タイマ手段14は、インターバルタイム2
1で指定された時間の持ち合わせを行なう。The timer means 14 has an interval time 2
Hold for the time specified in 1.
【0012】タイマ手段14での待ち合わせ後、ファイ
ル情報入手手段12へ再び処理が移り、これら一連の処
理を繰り返す。After the waiting in the timer means 14, the processing shifts to the file information obtaining means 12 again, and a series of these processing is repeated.
【0013】帳表出力手段15は、出力エリア25に格
納されているファイル情報からファイル使用率状況一覧
表を出力する。また、帳表出力手段15は、指定された
一定時間間隔における最大サブファイル容量の合算値で
ある最大ファイル容量を出力する。The book table output means 15 outputs a file usage status list from the file information stored in the output area 25. Further, the book table output unit 15 outputs the maximum file capacity, which is the sum of the maximum sub-file capacities at the specified fixed time interval.
【0014】次に、処理データの例を用いて、図1の実
施の形態を動作を具体的に説明する。Next, the operation of the embodiment shown in FIG. 1 will be specifically described using an example of processing data.
【0015】入力データはインターバルタイム=600
(単位:秒)、基準資料率=70(%)、ファイル名=
FILE.ABCとする。この場合データ出力手段13
は、ファイル情報入手手段12が得た対象ファイルであ
るFILE.ABCのスペース使用状況の情報からその
ファイル使用率を算出し、ファイル情報を出力エリア2
5に出力する。このときのファイル使用率が基準使用率
である70%より小さいとき(図2のAのとき)は、タ
イマ手段14に処理は移り、10分間(=600秒)の
待ち合わせを行なう。また、このときのファイル使用率
が基準使用率である70%以上のとき、(図2のB,
C,Dのとき)は通知メッセージをコンソールに出力す
る。また、ファイル使用率が80%以上のとき(図2の
Cのとき)は監視間隔を5分に短縮してファイル容量監
視を行う。またファイル使用率が90%以上のとき(図
2のDのとき)は監視間隔を3分に短縮してファイル容
量監視を続行する。Input data is interval time = 600
(Unit: seconds), reference material rate = 70 (%), file name =
FILE. ABC. In this case, the data output means 13
Is the target file FILE. Obtained by the file information obtaining means 12. The file usage rate is calculated from the information on the space usage status of ABC, and the file information is output to the output area 2
5 is output. If the file usage rate at this time is smaller than the reference usage rate of 70% (in the case of A in FIG. 2), the processing shifts to the timer means 14 and waits for 10 minutes (= 600 seconds). When the file usage rate at this time is 70% or more, which is the reference usage rate, (B, FIG.
(C, D) outputs a notification message to the console. When the file usage rate is 80% or more (C in FIG. 2), the monitoring interval is shortened to 5 minutes and the file capacity is monitored. When the file usage rate is 90% or more (D in FIG. 2), the monitoring interval is reduced to 3 minutes and the file capacity monitoring is continued.
【0016】なお、ファイル使用率が80%より小さく
なると、監視間隔はインインターバルタイムで指定した
値(=10分間)に戻る。When the file usage rate becomes smaller than 80%, the monitoring interval returns to the value specified by the in-interval time (= 10 minutes).
【0017】監視後、帳表出力手段15は出力エリア2
5に格納されているファイル情報を編集し、ファイル使
用状況一覧表を出力する。また指定された一定時間間隔
(例:30分)におけるサブファイルの最大値をサーチ
しその合算値を求める。図3の例により説明すると、1
0時10分の時点がファイル使用量は35で最大となっ
ている。しかし10時10分から10時30分までの3
0分間で各サブファイルの最大値をみるとa1:20,
a2:5,b1:20,c2:5であり合計50であ
る。つまり、ジョブの動きによってはファイルの最大使
用量は50になる可能性があるわけであり、この合算値
50をもとにファイル容量の見積りを行えば、ジョブの
動作条件、多重度などの動作環境により最大ファイル容
量が変わった場合でも十分な容量を確保することができ
る。After monitoring, the book table output means 15 outputs the output area 2
5 to edit the file information and output a file usage status list. In addition, the maximum value of the sub-file at a specified fixed time interval (for example, 30 minutes) is searched, and the total value is obtained. Explaining with the example of FIG.
At 0:10, the file usage is 35, which is the maximum. However, from 10:10 to 10:30, 3
Looking at the maximum value of each subfile in 0 minutes, a1: 20,
a2: 5, b1: 20, c2: 5, which is 50 in total. In other words, the maximum usage of the file may be 50 depending on the movement of the job. If the file capacity is estimated based on the total value 50, the operation conditions such as the job operation conditions and the multiplicity can be obtained. Even if the maximum file capacity changes depending on the environment, a sufficient capacity can be secured.
【0018】[0018]
【発明の効果】以上説明したように、本発明は、指定し
たファイルの使用率を一定時間間隔に測定・監視し、そ
の情報を出力するものである。As described above, according to the present invention, the usage rate of a specified file is measured and monitored at regular time intervals, and the information is output.
【0019】ファイル使用率の監視機構(データ出力手
段13の出力する通知メッセージ)により、オーバーフ
ローの危険のあるファイルを運用者が事前に知ることが
できる。そこで、そのファイルを使用するジョブの起動
を止めておき、ファイル拡張などの措置を施すことがで
きる。The file usage monitoring mechanism (notification message output from the data output means 13) allows the operator to know in advance the files at risk of overflow. Therefore, it is possible to stop the start of a job that uses the file and take measures such as file expansion.
【0020】ファイルの使用率が高くなると、監視時間
が短くなり、より正確なファイル容量見積りを行うこと
ができる。When the usage rate of the file is high, the monitoring time is shortened, and a more accurate file capacity estimation can be performed.
【0021】ファイル使用状況一覧表により、運用者は
時々刻々と変化するファイルの使用率を、ほとんど運用
者の手を煩わせることなく知ることができ、より的確な
容量の見積りを行うことができる。From the file usage status table, the operator can know the file usage rate that changes every moment with little trouble for the operator, and can estimate the capacity more accurately. .
【0022】また本発明では、ファイル使用率ピーク時
間帯における最大サブファイル容量を集計し情報提供し
ているため、その情報に基づき事前に十分な容量を確保
するなどの処置を実施しておけば、ジョブの動作条件、
多重度などの動作環境により最大ファイル容量が変わっ
た場合でもファイルオーバーフローによるジョブの異常
終了を起こすことなく安定したシステムの運行を確保す
ることができる。Further, in the present invention, since the maximum subfile capacity in the peak time period of the file usage rate is totaled and the information is provided, it is necessary to take measures such as securing a sufficient capacity in advance based on the information. , Job operating conditions,
Even when the maximum file capacity changes due to the operating environment such as the degree of multiplicity, stable operation of the system can be ensured without abnormal termination of the job due to file overflow.
【図1】本発明の一実施の形態のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.
【図2】ファイル使用率区分を示す図である。FIG. 2 is a diagram showing a file usage rate category.
【図3】サブファイル使用量一覧を示す図である。FIG. 3 is a diagram showing a list of subfile usage amounts;
11 データ入力手段 12 ファイル情報入手手段 13 データ出力手段 14 タイマ手段 15 帳表出力手段 21 インターバルタイム 22 基準使用率 23 ファイル名 24 対象ファイル 25 出力エリア 26 コンソール DESCRIPTION OF SYMBOLS 11 Data input means 12 File information acquisition means 13 Data output means 14 Timer means 15 Book table output means 21 Interval time 22 Standard usage rate 23 File name 24 Target file 25 Output area 26 Console
フロントページの続き (56)参考文献 特開 昭63−137345(JP,A) 特開 平4−144322(JP,A) 特開 平5−233391(JP,A) 特開 平5−241918(JP,A) 特開 平5−298159(JP,A) 特開 平6−44108(JP,A) 特開 平6−222964(JP,A) 特開 平7−141233(JP,A) 特開 平7−175692(JP,A) (58)調査した分野(Int.Cl.6,DB名) G06F 12/00 Continuation of the front page (56) References JP-A-63-137345 (JP, A) JP-A-4-144322 (JP, A) JP-A-5-233391 (JP, A) JP-A-5-241918 (JP) JP-A-5-298159 (JP, A) JP-A-6-44108 (JP, A) JP-A-6-222964 (JP, A) JP-A-7-141233 (JP, A) 7-175692 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) G06F 12/00
Claims (1)
ターバルタイム(21)、ファイル使用率監視基準を指
定する基準使用率(22)、ファイル使用率監視対象フ
ァイルを指定するファイル名(23)の入力処理を行う
データ入力手段(11)と、対象ファイル(24)のス
ペース使用状況の情報を得るファイル情報入手手段(1
2)と、前記ファイル情報入手手段が得た情報からファ
イル使用率を計算し、これらの情報を編集し出力エリア
(25)に出力し、このときのファイル使用率が前記基
準使用率より大きかった場合、その旨をコンソールに出
力するとともに、計算された前記使用率に応じて前記イ
ンターバルタイムを変更するデータ出力手段(13)
と、前記インターバルタイムで指定された時間の持ち合
わせを行うタイマ手段(14)と、前記出力エリアに格
納されているファイル情報からファイル使用状況一覧表
および最大ファイル容量(一定時間間隔における最大サ
ブファイル容量の合算値)を出力する帳表出力手段(1
5)とを有することを特徴とするファイル使用率出力・
監視装置。1. An interval time (21) for specifying a file usage monitoring interval, a standard usage (22) for specifying a file usage monitoring standard, and a file name (23) for specifying a file usage monitoring target file are input. Data input means (11) for performing processing, and file information obtaining means (1) for obtaining information on the space usage status of the target file (24)
2) and calculating the file usage rate from the information obtained by the file information obtaining means, editing the information and outputting it to the output area (25), and the file usage rate at this time was larger than the reference usage rate. If, and outputs the fact to the console, the Lee according to the calculated the utilization
Data output means for changing the interval time (13)
A timer means (14) for holding the time designated by the interval time; a file use status table and a maximum file capacity (maximum sub-file capacity at a certain time interval) based on the file information stored in the output area. Table output means (1)
5) File usage rate output characterized by having
Monitoring device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7220404A JP2900851B2 (en) | 1995-08-29 | 1995-08-29 | File usage output / monitoring device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7220404A JP2900851B2 (en) | 1995-08-29 | 1995-08-29 | File usage output / monitoring device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0962546A JPH0962546A (en) | 1997-03-07 |
| JP2900851B2 true JP2900851B2 (en) | 1999-06-02 |
Family
ID=16750592
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7220404A Expired - Lifetime JP2900851B2 (en) | 1995-08-29 | 1995-08-29 | File usage output / monitoring device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2900851B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6293966B2 (en) * | 2017-10-26 | 2018-03-14 | 株式会社東芝 | Database management apparatus, database management method, and database management program |
-
1995
- 1995-08-29 JP JP7220404A patent/JP2900851B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0962546A (en) | 1997-03-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110457287A (en) | Database expansion and contraction processing method and device, computer equipment and readable medium | |
| CN109407984B (en) | Method, device and equipment for monitoring performance of storage system | |
| JP2900851B2 (en) | File usage output / monitoring device | |
| JP3190902B2 (en) | Performance monitoring apparatus, performance monitoring method, and recording medium recording performance monitoring program | |
| CA2393445A1 (en) | Method and apparatus for recursive data filtering | |
| JP2536304B2 (en) | Job end time prediction system | |
| JP7119484B2 (en) | Information aggregation device, information aggregation method, and program | |
| FI104598B (en) | Storage of transactions in a service database system | |
| JP2002259166A (en) | Operation repot preparation system, operation report preparation method and program for preparing operation report | |
| JP2961199B2 (en) | Pulse train input processor | |
| CN109947765B (en) | Data source detection method and device | |
| JPH11288382A (en) | System resource using information collecting device, system resource using information collecting method, and storage medium recorded with program | |
| JP3867303B2 (en) | Auto gain control circuit | |
| CN114325083B (en) | A power synchronization method, management device and power meter | |
| JP2000259449A (en) | Program execution trace acquisition control system and method, and recording medium recording program for realizing the method | |
| JPH09189579A (en) | Monitoring data collection device | |
| FI104596B (en) | Storage of transactions in a service database system | |
| JPH103413A (en) | Necessary time prediction method in installation from recording medium | |
| JPS60190124A (en) | Method of preventing excess of contacted power amount | |
| CN120407578A (en) | Method and device for collecting incremental data from a database | |
| CN116893931A (en) | Data processing method and related equipment | |
| CN116664030A (en) | Super-long single-time monitoring method, device, equipment and storage medium for logistics | |
| JPH0561738A (en) | Data base system | |
| KR100537208B1 (en) | Method for managing trace data file in photo exposure process | |
| JPH06231011A (en) | System for measuring number of times of access of peripheral equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 19990216 |