JPH0348946A - Monitor system for system load state - Google Patents

Monitor system for system load state

Info

Publication number
JPH0348946A
JPH0348946A JP1183585A JP18358589A JPH0348946A JP H0348946 A JPH0348946 A JP H0348946A JP 1183585 A JP1183585 A JP 1183585A JP 18358589 A JP18358589 A JP 18358589A JP H0348946 A JPH0348946 A JP H0348946A
Authority
JP
Japan
Prior art keywords
job
information
job information
stack
common
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
JP1183585A
Other languages
Japanese (ja)
Inventor
Tatsuro Tanigami
谷上 達郎
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP1183585A priority Critical patent/JPH0348946A/en
Publication of JPH0348946A publication Critical patent/JPH0348946A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To quickly cope with the deterioration of the system processing performance, etc., by comparing the latest job information with the job information preceding by a unit time and extracting only the common jobs. CONSTITUTION:A stack means 2 extracts the job information, the information on the resources used by the jobs, and the job behavior information out of a system table 1 and sends these information to a comparison means 4. The means 4 compares Sa-1 with Sb-1 of a divided area 3-1 of a stack area 3 and stores only the common job information in the Sa-2. This procedure is repeated to the divided areas 3-2 - 3-n and finally the job information is stored in Sa-(n + 1). Thus it is possible to know the job name that worked continuously for (n) unit times, the job name that used continuously the same file, the job name that outputted continuously the same message, and the job name that repeated the start and the end. As a result, it is possible to detect the cause that gives the wrong load to the system and to quickly cope with the deterioration of the system processing performance, etc.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、コンビニ−タシステムのシステム資源に対す
る負荷状況を監視するシステム負荷状況監視方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a system load status monitoring method for monitoring the load status on system resources of a convenitor system.

[従来の技術] 従来では、コンビク、−タシステムの負荷状況を監視す
るのに、必要時にシステム運行結果をリスト出力してそ
れを元に作業者が分析、追跡する静的な監視方式がとら
れていた。
[Conventional technology] Conventionally, to monitor the load status of a computer system, a static monitoring method was used in which a list of system operation results was output when necessary, and workers analyzed and tracked the results based on the list. was.

[発明が解決しようとする課題] このように上述した従来のシステム負荷状況監視方式は
、あくまで人手による情報解析が主となっていた。これ
によって、発生している問題をその時点で察知すること
ができず、システム負荷を異常に高める原因の追求及び
問題点解決が遅くなったり、また、システムの運行不良
状態が長引き、システムスループブトの低下、オンライ
ン業務の処理性能劣化を誘発したり、あるいは人手の作
業によってコストが上昇するなどの欠点などがあった。
[Problems to be Solved by the Invention] As described above, the conventional system load status monitoring method described above mainly relies on manual information analysis. As a result, it is not possible to detect the problem at the time it is occurring, which slows down the pursuit of the cause of the abnormally high system load and problem resolution, and prolongs the system's poor operation, resulting in system sloop. There were drawbacks such as a decrease in processing performance, a decline in processing performance for online operations, and an increase in costs due to manual work.

また、ある特定の、権限を持たない不正なジョブによっ
てシステムの資源(例えばメモリ、CPU、磁気ディス
クの空領域、回線等)が不正に長時間使用されてもこれ
を検出出来ないというセキュリティ上の問題もあった。
In addition, there are security concerns in that even if system resources (e.g. memory, CPU, free space on magnetic disks, lines, etc.) are used illegally for a long time by a specific unauthorized job, this cannot be detected. There were also problems.

なお、これを検出しようとしてオペレーテングシステム
の各所に閾値制御を実装するとそれに要するオーバヘプ
トが、逆にシステムの性能を低下させ、またコスト増に
なる。
Note that if threshold control is implemented in various parts of the operating system in an attempt to detect this, the overhead required will conversely deteriorate the performance of the system and increase costs.

本発明はこのような従来の欠点改善したもので、その目
的は、システム負荷状況を動的に監視して、問題の解決
を迅速に行わせ、システム処理性能の劣化やセキュリテ
ィ上の問題を有効に防止することの可能なシステム負荷
状況監視方式を提供することにある。
The present invention improves these conventional drawbacks.The purpose of the present invention is to dynamically monitor system load status, quickly resolve problems, and effectively prevent deterioration of system processing performance and security problems. An object of the present invention is to provide a system load status monitoring method that can prevent such problems.

[課題を解決するための手段] 本発明のシステム負荷状況監視方式は、実行中のジ日ブ
に関連するシステム資源の使用状況の情報としてのシッ
プ情報をシステムテーブルから単位時間ごとに呼び出し
、単位時間数に応じて分割されたスタックエリアにコピ
ーするスタック手段と、スタックエリアにコピーされた
ジョブ情報をセーブするセーブ手段と、前にスタック手
段によってコピーされた最新のジョブ情報と前にセーブ
手段によってセーブされた1単位時間前のジョブ情報と
比較して共通するジョブ情報のみを抽出し、最終的に所
定数の単位時間における共通のジョブ情報を求める比較
手段とを有している。
[Means for Solving the Problems] The system load status monitoring method of the present invention reads ship information, which is information on the usage status of system resources related to the job being executed, from a system table every unit time. A stack means copies the job information to stack areas divided according to the number of hours, a save means saves the job information copied to the stack area, and a save means saves the latest job information previously copied by the stack means. The comparison means compares the saved job information of one unit time ago, extracts only the common job information, and finally obtains the common job information for a predetermined number of unit times.

[作用] スタック手段は、実行中のン町ブに関連するシステム資
源の使用状況の情報としてのジョブ情報をシステムテー
ブルから単位時間ごとに呼出し、これを単位時間数に応
じて分割されたスタックエリアにコピーする。セーブ手
段では、スタックエリアにコピーされたジョブ情報をセ
ーブし、比較手段は、スタック手段によってコピーされ
た最新のジョブ情報とセーブ手段によってセーブされた
1単位時間前のジョブ情報とを比較して共通するジョブ
情報のみを抽出する。この処理を所定数の単位時間、繰
返して順次に行ない、最終的に所定数の単位時間を通し
て共通のジョブ情報を求める。
[Operation] The stack means reads job information as information on the usage status of system resources related to the job being executed from the system table every unit time, and loads this into stack areas divided according to the number of units of time. Copy to. The saving means saves the job information copied to the stack area, and the comparing means compares the latest job information copied by the stacking means with the job information one unit time ago saved by the saving means to find a common information. Extract only the job information to be used. This process is repeated and performed sequentially for a predetermined number of unit times, and finally common job information is obtained through the predetermined number of unit times.

この共通のジョブ情報は継続して生起した情報であり、
これを出力するによってシステム負荷状況を動的に監視
することができる。
This common job information is information that has occurred continuously,
By outputting this, the system load status can be dynamically monitored.

[実施例コ 以下、本発明の一実施例について図面を参照して説明す
る。第1図は本発明の一実施例の構成図である。第1図
において、システムテーブルlには、コンピュータの主
記憶装置、二次記憶装置(図示せず)上で、実行中のジ
ョブに関連するシステム資源、例えばメモリ、CPU、
磁気ディスク装置、回線等の使用状況を示す情報(以下
、ジョブ情報と称す)が記憶されている。
[Embodiment] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, the system table l includes system resources related to the job being executed, such as memory, CPU, etc. on the computer's main storage and secondary storage (not shown).
Information indicating the usage status of magnetic disk devices, lines, etc. (hereinafter referred to as job information) is stored.

またスタックエリア3は、主記憶装置、2次記憶装置(
図示せず)上のテーブルであって、(2n+1)通りに
論理的に分割されており、それぞれS、−11tlll
、S、−1〜S、−1、S b−I〜S b−nから成
っている。なお第1図ではS、−8とS、−1とS a
−1e+との関係が図示されているが、本来このテーブ
ル3内にはこの様な回路等が存在するわけではなく、単
なるデータの流れを示しているにすぎない。
In addition, the stack area 3 includes main storage, secondary storage (
(not shown), which is logically divided into (2n+1) ways, S and -11tllll respectively.
, S, -1 to S, -1, and S b-I to S b-n. In addition, in Figure 1, S, -8 and S, -1 and S a
Although the relationship with -1e+ is illustrated, such a circuit or the like does not originally exist in this table 3, and merely shows the flow of data.

スタック手段2は、システムテーブルlからシステム資
源に関するあらかじめ定められた情報、例えばジョブ毎
の生起番号、使用メモリ、使用CPU等のジョブ情報を
抽出して、タイマ10によって計時される一定の単位時
間毎にスタックエリア3 (D S −−+ヘコピーし
、その完了を比較手段4に通知するようになっている。
The stack means 2 extracts predetermined information regarding system resources from the system table l, such as job information such as the occurrence number of each job, the memory used, the CPU used, etc. is copied to the stack area 3 (DS--+), and the comparison means 4 is notified of its completion.

比較手段4は、スタ・1クエリア3中のS、−1とSl
、1とを比較して共通するデータのみをS a−1*1
へ格納する処理を分割エリア3−1から3−111”1
1に対して順次に実行し、最終的にS a、a*+1へ
の格納が完了するとセーブ手段5及びファイル出力ツー
ル6に通知するようになっている。
Comparison means 4 compares S, -1 and Sl in star 1 querier 3.
, 1 and select only the common data as S a-1*1
The process of storing data in divided areas 3-1 to 3-111”1
1 is sequentially executed, and when the storage in Sa, a*+1 is finally completed, the save means 5 and the file output tool 6 are notified.

また、セーブ手段5は、スタックエリア3のS、−8〜
S、−7の内容をそっくりそのままS、−1〜S。
Further, the save means 5 saves S, -8 to S of the stack area 3.
S, -1 to S with the same contents as S, -7.

−、ヘコビーするようになっている。-, it becomes heavy.

ファイル出力ツール6は、比較手段4によって得られた
最終結果3、−(ae+)をログ用ファイル7(蓄積用
システムファイル)に書き込み、後でまとめて取出せる
ようにするためのプログラムからなり、ダンプツール8
は、ログ用ファイル7から最終結果群を読出し、編集し
てプリンタや端末などの出力装!!!9に表示するプロ
グラムからなっている。
The file output tool 6 consists of a program for writing the final result 3, -(ae+) obtained by the comparison means 4, into a log file 7 (accumulation system file) so that it can be retrieved all at once. dump tool 8
reads the final result group from the log file 7, edits it, and sends it to an output device such as a printer or terminal! ! ! It consists of programs displayed in 9.

なお、ログ用ファイル7は、磁気ディスク上のファイル
であり、タイマ10は、コンピュータシステムに通常備
わっている。
Note that the log file 7 is a file on a magnetic disk, and the timer 10 is normally provided in a computer system.

次にこのような構成におけるシステム負荷状況の監視動
作を具体的に説明する。先づ、タイマ10が時刻toに
スタック手段2に通知を出すと、スタック手段では、シ
ステムテーブルlからジ酋ブに関する情報、ジョブが使
用する資源に関する情報、ジョブの挙動に関する情報を
抽出して、比較手段4に制御を移す。なお、ジョブに関
する情報としては、ジ曹ブ名、ジ1ブ生起番号、ユーザ
名、課金名、プログラム名などがあり、ジョブが使用す
る資源に関する情報としては、CPU、メモリ、ファイ
ル名、周辺装置の番号などがあり、ジョブの挙動に関す
る情報としては、出力メツセージ、開始/終了、正常/
異常の区別などがある。
Next, the system load status monitoring operation in such a configuration will be specifically explained. First, when the timer 10 issues a notification to the stacking means 2 at time to, the stacking means extracts information about the job, information about the resources used by the job, and information about the behavior of the job from the system table l. Control is transferred to comparison means 4. Information regarding the job includes the job name, job origination number, user name, billing name, program name, etc. Information regarding the resources used by the job includes the CPU, memory, file name, peripheral device, etc. Information about job behavior includes output messages, start/end, normal/
There are distinctions between abnormalities, etc.

比較手段4は、スタック手段2から制御を移されると、
先づ、分割エリア3−1の5a−1とS b−1とを比
較して共通するジョブ情報のみをを81゜に格納する。
When the comparison means 4 is transferred control from the stacking means 2,
First, 5a-1 and Sb-1 of divided area 3-1 are compared and only common job information is stored at 81°.

次にSl、、と311とを比較して共通するジョブ情報
のみをSl、、に格納する。以下、同様の手順を繰返し
、最後に分割エリア3.nのS、−1とS、−1とを比
較してS、−10,にジョブ情報を格納し、セーブ手段
5及びファイル出力ツール6に制御を移す。なお、本シ
ステムの動作開始時には、スタックエリア3は“0“ま
たはブランク等でクリアされているものとする。したが
ってこの時点ではS、1.とS m−1との共通情報は
ないので、5a−t〜S、−10,、には何のジョブ情
報も入らない。 次いで、セーブ手段5は、比較手段4
からIJIIを移されると、S10.〜S、−7のデー
タをS、−□〜S、0.ヘコビーする。したがってS、
、、には時刻toのデータが格納される。
Next, Sl, , and 311 are compared, and only the common job information is stored in Sl, , . Hereafter, the same procedure is repeated and finally divided area 3. Compare S,-1 and S,-1 of n, store job information in S,-10, and transfer control to save means 5 and file output tool 6. It is assumed that the stack area 3 is cleared to "0" or blank when the system starts operating. Therefore, at this point, S, 1. Since there is no common information between and S m-1, no job information is entered in 5a-t to S, -10, . Next, the saving means 5 saves the comparison means 4
When IJII is transferred from S10. ~S, -7 data S, -□ ~S, 0. Hecobee. Therefore, S,
, , are stored with data at time to.

このようにして時刻tnまで上記の処理を繰返すと、各
時刻におけるスタックエリアS1.1〜S。
When the above processing is repeated until time tn in this way, the stack areas S1.1 to S at each time.

、1の内容は、第2図に示すように遷移する。第2図か
られかるように、注意の時刻txにおいて、S a−8
61には時刻t ml−111111)から【、までの
n単位時間内の共通ジョブ情報が格納される。
, 1 changes as shown in FIG. As can be seen from Fig. 2, at the caution time tx, S a-8
Common job information within n unit time from time tml-111111) to [, is stored in 61.

このようにしてS a −1a□、に格納されたデータ
に基づいて例えば、以下の事象を検出することができる
。すなわち、システムテーブルlがらのジョブに関する
情報から、n単位時間にわたって動作し続けたジョブ名
等がわかり、またジョブに関する情報とジョブが使用す
る資源に関する情報とからn単位時間にわたって同じフ
ァイルを使用し続けたジョブ名とそのファイル名がわか
り、またジョブに関する情報とジョブに関する挙動に関
する情報とからn1位時間にわたって同じメツセージを
出し続けたジョブ名や開始/終了を繰返したジョブ名と
そのユーザー名がわかる。
For example, the following events can be detected based on the data stored in S a -1a□ in this way. In other words, from the information about the job in the system table, we can find out the name of the job that has continued to operate for n units of time, and from the information about the job and the information about the resources used by the job, we can know whether the same file has continued to be used for n units of time. Also, from the information about the job and the information about the behavior related to the job, the name of the job that has continued to issue the same message for the n1th time, the name of the job that has been started/ended repeatedly, and the user name of the job can be found.

ファイル出力ツール6は、比較手段4から制御を渡され
ると、スタックエリア3のS a −(* e r 3
のデータをログ用ファイル7に書込み蓄積する。システ
ムエンジニアやシステム運用管理者は随時、ダンプソー
ル8によって、ログ用ファイル7のデータを!果し出力
装置9、例えばプリンタに印字して参照することができ
る。この時に得られるレポートとしては例えば次のよう
な情報がMI集可能である。すなわち、第2図に基づい
て記述した内容をそのまま印字したり、あるいは第2図
に基づいて記述した内容を更にm倍の単位時間にわたっ
て比較し直して、より濃縮度の高い(サンプリングタイ
ムの長い)データを印字したりすることができる。
When the file output tool 6 receives control from the comparison means 4, the file output tool 6 reads S a −(* e r 3
The data is written and accumulated in the log file 7. System engineers and system operation managers can download data from log file 7 using dump sole 8 at any time! The result can be printed out on an output device 9, such as a printer, for reference. As a report obtained at this time, for example, the following information can be collected as an MI collection. In other words, the content described based on Figure 2 may be printed as is, or the content described based on Figure 2 may be further compared over m times the unit time to obtain a higher concentration (with a longer sampling time). ) data can be printed.

[発明の効果] 以上説明したように本発明は、ジ5ブ情報を単位時間ご
とに呼び出してスタックエリアにコピし、スタックエリ
アにコピーされた最新のジョブmWとセーブされた1単
位時間前のジョブ情報とを比較して共通するジョブ情報
のみを抽出し、最終的に所定数の単位時間における共通
のシップ情報を求めるようにしているので、システムに
常駐し続けるシップの中から、システム資源を占有し続
けるものや、メツセージを出し続けたり開始/終了を繰
返すなどの異常な挙動を続けるものすなわちシステムに
不正な負荷を与丸る原因を任意の時刻で動的に検出する
ことが可能と゛なり、システムの運行不良状態を迅速に
検出できて、システムスループットの低下、オンライン
業務の処理性能劣化に迅速に対応できるという効果があ
る。また問題検出が自動化が可能であり、作業者等のコ
スト削減を図ることができ、またいたずらにシステム資
源を占有したり、無意味な処理を繰返す不完全なプログ
ラム等からシステムの安定稼動を保護することもできる
。なお、このセキュリティに関し、単位時間毎のサンプ
リング処理を追加するだけで良いので、従来のようにオ
ペレーティングシステムの各所に閾値制御を実装せずと
も良く、コスト増、性能低下を有効に防止することがで
きる。
[Effects of the Invention] As explained above, the present invention calls the jib information every unit time and copies it to the stack area, and stores the latest job mW copied to the stack area and the saved job one unit time ago. By comparing the job information and extracting only the common job information, and finally finding the common ship information for a predetermined number of unit times, system resources can be saved from among the ships that continue to reside in the system. It is now possible to dynamically detect at any time things that continue to occupy the system, things that continue to behave abnormally such as sending messages or repeatedly starting and ending, or that are causing an illegal load on the system. This has the effect of being able to quickly detect malfunctions in the system and quickly respond to a drop in system throughput and deterioration in online business processing performance. In addition, problem detection can be automated, reducing costs for workers, etc., and protecting the stable operation of the system from incomplete programs that unnecessarily monopolize system resources or repeat meaningless processing. You can also. Regarding this security, since it is only necessary to add sampling processing for each unit time, there is no need to implement threshold control in various parts of the operating system as in the past, and it is possible to effectively prevent increases in cost and performance degradation. can.

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

第1図は本発明の一実施例の全体構成図、第2図は各時
刻におけるスタックエリアの内容が遷移する様子を示す
図である。 第1図において l・・・システムテヘープル、 2・・・スタック手段、 3・・・スタックテーブル、 4・・・比較手段、 5・・・セーブ手段、 6・・・ファイル出力ツール、 7・・・ダンプツール、 9・・・出力装置、 1G・・・タイマである。
FIG. 1 is an overall configuration diagram of an embodiment of the present invention, and FIG. 2 is a diagram showing how the contents of the stack area change at each time. In FIG. 1, l...system technology, 2...stack means, 3...stack table, 4...comparison means, 5...save means, 6...file output tool, 7. ...dump tool, 9...output device, 1G...timer.

Claims (1)

【特許請求の範囲】[Claims] 実行中のジョブに関連するシステム資源の使用状況の情
報としてのジョブ情報をシステムテーブルから単位時間
ごとに呼び出し、単位時間数に応じて分割されたスタッ
クエリアにコピーするスタック手段と、スタックエリア
にコピーされたジョブ情報をセーブするセーブ手段と、
前にスタック手段によってコピーされた最新のジョブ情
報と前にセーブ手段によってセーブされた1単位時間前
のジョブ情報とを比較して共通するジョブ情報のみを抽
出し、最終的に所定数の単位時間における共通のジョブ
情報を求める比較手段とを備えていることを特徴とする
システム負荷状況監視方式。
A stack means for reading job information as information on the usage status of system resources related to the job being executed from a system table every unit time and copying it to a stack area divided according to the number of units of time; and a stack means for copying to the stack area. a save means for saving the job information that has been created;
The latest job information previously copied by the stacking means and the job information of one unit time ago saved by the saving means are compared, and only the common job information is extracted, and finally the job information is stored for a predetermined number of units of time. and a comparison means for determining common job information in the system.
JP1183585A 1989-07-18 1989-07-18 Monitor system for system load state Pending JPH0348946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1183585A JPH0348946A (en) 1989-07-18 1989-07-18 Monitor system for system load state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1183585A JPH0348946A (en) 1989-07-18 1989-07-18 Monitor system for system load state

Publications (1)

Publication Number Publication Date
JPH0348946A true JPH0348946A (en) 1991-03-01

Family

ID=16138392

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1183585A Pending JPH0348946A (en) 1989-07-18 1989-07-18 Monitor system for system load state

Country Status (1)

Country Link
JP (1) JPH0348946A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109803A (en) * 2019-05-09 2019-08-09 腾讯科技(深圳)有限公司 A kind of user behavior report method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109803A (en) * 2019-05-09 2019-08-09 腾讯科技(深圳)有限公司 A kind of user behavior report method and system
CN110109803B (en) * 2019-05-09 2022-05-06 腾讯科技(深圳)有限公司 User behavior reporting method and system

Similar Documents

Publication Publication Date Title
JP5049341B2 (en) Combination of virus check and replication filter
US7673324B2 (en) Method and system for tracking an operating performed on an information asset with metadata associated therewith
Ilgun USTAT: A real-time intrusion detection system for UNIX
JP3351318B2 (en) Computer system monitoring method
CN101136049B (en) Information processing system, information processing method, information processing program, computer readable medium and computer data signal
US7636919B2 (en) User-centric policy creation and enforcement to manage visually notified state changes of disparate applications
US6330588B1 (en) Verification of software agents and agent activities
US7085934B1 (en) Method and system for limiting processor utilization by a virus scanner
CN109918907B (en) Method, controller and medium for obtaining evidence of malicious codes in process memory of Linux platform
Feng et al. Poster: A new approach to detecting ransomware with deception
US10382477B2 (en) Identification apparatus, control method therefor, and storage medium
CN101243400A (en) Information protection method and system
JP2018028907A (en) Tracing of system operations across remote procedure linkages for identifying request originators
JP2001142764A (en) Log file protecting system
JP2009075940A (en) Log analyzing apparatus and program
JPH0348946A (en) Monitor system for system load state
CN112506928A (en) Method and device for verifying validity of backup data
CN111988322A (en) Attack event display system
KR100310860B1 (en) Method for detecting real-time intrusion using agent structure on real-time intrustion detecting system
CN113360909B (en) Lesovirus defense method, lesovirus defense apparatus, and readable storage medium
KR100897479B1 (en) Method for file backup
JPH10105440A (en) System fault monitoring device and recording medium
JP2006114044A (en) System and method for detecting invalid access to computer network
JP2010055566A (en) Client/server system and inspection method for the client/server system
CN109325347B (en) Method, system and device for searching and killing jump virus and readable storage medium