CN107145389A - A kind of system process monitoring method and computing device - Google Patents
A kind of system process monitoring method and computing device Download PDFInfo
- Publication number
- CN107145389A CN107145389A CN201710139101.0A CN201710139101A CN107145389A CN 107145389 A CN107145389 A CN 107145389A CN 201710139101 A CN201710139101 A CN 201710139101A CN 107145389 A CN107145389 A CN 107145389A
- Authority
- CN
- China
- Prior art keywords
- monitored
- monitored process
- threshold value
- identity
- operating system
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 275
- 238000012544 monitoring process Methods 0.000 title claims abstract description 72
- 230000026676 system process Effects 0.000 title claims abstract description 23
- 230000008569 process Effects 0.000 claims abstract description 244
- 230000006870 function Effects 0.000 claims description 6
- 230000005059 dormancy Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 4
- 230000004048 modification Effects 0.000 claims description 3
- 238000012986 modification Methods 0.000 claims description 3
- 230000009467 reduction Effects 0.000 claims description 3
- 238000004140 cleaning Methods 0.000 claims description 2
- 230000006399 behavior Effects 0.000 claims 1
- 238000011112 process operation Methods 0.000 description 5
- 241000208340 Araliaceae Species 0.000 description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 235000008434 ginseng Nutrition 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- FFBHFFJDDLITSX-UHFFFAOYSA-N benzyl N-[2-hydroxy-4-(3-oxomorpholin-4-yl)phenyl]carbamate Chemical compound OC1=C(NC(=O)OCC2=CC=CC=C2)C=CC(=C1)N1CCOCC1=O FFBHFFJDDLITSX-UHFFFAOYSA-N 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of system process monitoring method and computing device, the monitoring method includes:Identity and its operation relevant parameter of monitored process are obtained using operating system own process;Judge whether the operation relevant parameter exceedes the threshold value pre-set;If more than the threshold value pre-set, then the monitored process and/or other processes of the operating system more than the threshold value pre-set are handled, through the above way, the present invention can monitor and handle other processes of monitored process and/or operating system automatically using operating system own process, user's manual handle is not needed, monitoring flexibility is improved.
Description
Technical field
The present invention relates to computer realm, more particularly to a kind of system process monitoring method and computing device.
Background technology
In system process running, it runs relevant parameter, such as CPU usage, real-time change.When a certain process is high
During speed operation, it is too high to be easily caused the total CPU usage of system, so as to cause the operation of other processes slow or system overburden
Situation.
The present inventor has found in long-term research, in the prior art using fortune of the monitoring process to system process
Such as row relevant parameter is monitored, when the operation relevant parameter of a certain process is too high, when CPU usage is too high, is reminded and is used
Family, by user's manual handle, flexibility is not high.
The content of the invention
The present invention solves the technical problem of a kind of system process monitoring method and computing device is provided, it can solve the problem that
The problem of needing user's manual handle process in the prior art.
In order to solve the above technical problems, one aspect of the present invention is:A kind of system process monitoring side is provided
Method, including:Identity and its operation relevant parameter of monitored process are obtained using operating system own process;Judge fortune
Whether row relevant parameter exceedes the threshold value pre-set;If more than the threshold value pre-set, to more than the threshold value pre-set
Monitored process and/or other processes of operating system handled.
In order to solve the above technical problems, another technical solution used in the present invention is:A kind of computing device is provided, wrapped
Include:The processor and memory of interconnection, processor are used to obtain monitored process using operating system own process
Whether identity and its operation relevant parameter, judge to run relevant parameter more than the threshold value that pre-sets, more than setting in advance
During the threshold value put, the monitored process and/or other processes of operating system more than the threshold value pre-set are handled;
Memory is used for the identity for storing monitored process and its operation relevant parameter.
The beneficial effects of the invention are as follows:The situation of prior art is different from, embodiments of the invention utilize operating system certainly
Body process obtains identity and its operation relevant parameter of monitored process, judges whether operation relevant parameter exceedes advance
The threshold value of setting, when more than the threshold value pre-set, to the monitored process more than the threshold value pre-set and/or operation
Other processes of system are handled, thus monitored automatically using operating system own process and handle monitored process and/
Or other processes of operating system, it is not necessary to user's manual handle, improves monitoring flexibility.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of present system process monitoring method first embodiment;
Fig. 2 is the schematic flow sheet of present system process monitoring method second embodiment;
Fig. 3 is the schematic flow sheet of the embodiment of present system process monitoring method the 3rd;
Fig. 4 is the structural representation of the embodiment of computing device one of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of present system process monitoring method first embodiment.Such as Fig. 1 institutes
Show, the present invention quickly checks that the method for notice includes:
Step S10:The related ginseng of identity and its operation of monitored process is obtained using operating system own process
Number;
Wherein, operation relevant parameter is included in CPU usage, memory usage and the priority of monitored process
At least one, monitored process includes at least one in the process of all operations of system, the process of all dormancy.
Further, step S10 includes:
Step S101:The identity of monitored process is obtained from from the utilization rate signal of monitored process.
Wherein, PID is exactly the identity of each process, when process brings into operation, and system will automatic feed journey distribution one
Individual unique PID, PID is recovered in the system after process stops, and may continue to distribute to the process newly run;Utilization rate signal
It is at least to include in the signal of relevant parameter value changes in monitored process running, the utilization rate signal monitored entering
The identity of journey and its operation relevant parameter, can be by operating system own process active obtaining or by being supervised
The process active reporting of control, is not specifically limited herein.
Specifically, in an application examples, monitored process runs on (SuSE) Linux OS, the operating system itself
Process is the monitoring process run in operating system nucleus.Increase customized monitoring in the kernel of the (SuSE) Linux OS
Program, produces also self-defined in the monitoring process, and the operating system and/or modification kernel journey when the monitoring programme is run
Sequence, shell shell programs and built-in function, during make it that the monitoring process is run, can call corresponding detection, the shell of processing
Program and built-in function, carry out monitoring and handling in real time so as to realize to monitored process.
After os starting, loading tasks list performs the task in task list, and the operating system monitoring process is real
When monitoring system in all operations process and the process of all dormancy, when monitored process brings into operation, obtain all
The identity (i.e. PID) of monitored process and its run relevant parameter, such as CPU usage, memory usage and just
Beginning priority, and the parameter of acquisition is preserved;Wherein, in monitored process running, the CPU of monitored process is used
Rate, memory usage etc. run relevant parameter real-time change, the monitored related ginseng of process operation of monitoring process monitoring in real time
Number, obtains the related ginseng of identity and its operation of monitored process from from the utilization rate signal of monitored process
Number.
Certainly, in other embodiments, monitored process can be the specific process in part, can also operate in other
In operating system, it is not specifically limited herein.
Further, include before step S10:
Step S00:Authentication is carried out to monitored process using operating system own process;
Step S01:If being verified, step S10 is performed;
Step S02:If checking does not pass through, monitored process is shielded, so that monitored process can not access system.
Specifically, in above-mentioned application examples, operating system own process is right when monitored process attempts access system
The monitored process carries out authentication, judges whether the monitored process has access rights, if being verified, after
It is continuous to perform step S10, if checking does not pass through, show that the monitored process does not have access rights, shield this monitored
Process, so that the monitored process can not access system.
For example, operating system own process obtains the identity for the monitored process for attempting access system, judging should
Whether identity is in the process list that system is preserved, and wherein the process list includes all processes with access rights,
If the identity of the monitored process is verified in the process list, step S10 is continued executing with;If this is supervised
The identity of the process of control is not verified in the process list, then not to be passed through, and shields the monitored process, so that this is supervised
The process of control can not access system, so as to prevent the illegal program without access rights from accessing system, improve the safety of system
Property.
Certainly, in other application example, operating system own process can also be using other modes such as checking digital certificates
Authentication is carried out to monitored process, is not specifically limited herein.
Step S11:Judge to run whether relevant parameter exceedes the threshold value pre-set;
Wherein, the threshold value pre-set is the monitored process operation phase that the operating system monitoring process is pre-set
The KB limit of the limits value of related parameter, such as CPU usage, different processes can set different threshold values, and herein
Threshold value can refer to a scope, be not specifically limited herein.
Step S12:If more than the threshold value pre-set, to the monitored process more than the threshold value pre-set and/
Or other processes of operating system are handled.
Specifically, in above-mentioned application examples, the monitoring process obtains the operation relevant parameter of monitored process, judges each
Whether operation relevant parameter exceedes the threshold value that pre-sets, and to the monitored process more than the threshold value pre-set at
Reason.For example, the monitoring process obtains the CPU usage of a certain monitored process, judge whether the CPU usage exceedes advance
The threshold value of setting, such as 50%, if exceeding, monitored process is handled, for example shield the monitored process 1 to
2 seconds, to cause the monitored process CPU usage to reduce, so that the total CPU usage of system declines, it is to avoid due to
Interim card or mistake are run caused by CPU usage is too high, the stability of a system is improved.
Certainly, in other embodiments, the monitoring process can also reduce monitored more than the threshold value pre-set
The priority of process, either other processes simultaneously to operating system handled or other processes of operating system entered
Row processing, so that operation interim card or Problem-Error is mitigated or overcome such as the priority for adjusting other processes, improves system stable
Property, it is not specifically limited herein.
In present embodiment, identity and its operation phase of monitored process are obtained using operating system own process
Related parameter, judges to run whether relevant parameter exceedes the threshold value pre-set, when more than the threshold value pre-set, to more than pre-
The monitored process of the threshold value first set and/or other processes of operating system are handled, so as to realize automatic monitoring simultaneously
Other processes of the monitored process of processing and/or operating system, it is not necessary to user's manual handle, improve monitoring flexibility.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of present system process monitoring method second embodiment, it is this hair
Bright system process monitoring method first embodiment step S12 specific steps, including:
Step S121:Reduction exceedes the priority of the monitored process of the threshold value pre-set;
Wherein, when process brings into operation, operating system can give one initial priority of the course allocation, the process it is preferential
The system resource that level determines the speed of service of the process and occupied, the specific grade of priority is set can be according to different processes
Set, be not specifically limited herein.
Specifically, in an application examples, the monitoring run in operating system own process, the i.e. operating system nucleus is entered
The operation relevant parameter of journey, the in real time monitored process of monitoring, when the operation relevant parameter exceedes the threshold value pre-set, drop
The priority of the low monitored process more than the threshold value pre-set.Enter for example, monitoring process acquisition is a certain monitored
The memory usage of journey, judges whether the memory usage exceedes the threshold value that pre-sets, such as 50%, if exceeding, reduce
The priority of the process, to cause the monitored process to be changed into the slow running status in backstage from high-speed cruising state, so that
The total memory usage of system declines, it is to avoid due to memory usage it is too high caused by operation interim card or mistake, improve system
System stability.
Certainly, in other embodiments, the monitoring process can also remind user by sending reminder message to user
The monitored process operation relevant parameter exceedes the threshold value pre-set, it is proposed that user closes associated process, when user is pre-
In fixing time or when reminding number of times more than preset times, when being still not turned off associated process, this is reduced automatically monitored
The priority of process directly closes process after the scheduled time.
Further, include after step S121:
Step S122:Cleaning exceedes the system cache that the monitored process of the threshold value pre-set takes;
Specifically, in above-mentioned application examples, after the priority for reducing the monitored process, the monitoring process can also be clear
The system cache that the monitored process takes is managed, to allow other processes to use more spatial caches, resource profit is improved
With rate, the wasting of resources is reduced, running efficiency of system is improved.
Step S123:Internal memory and cpu resource that the monitored process of the threshold value pre-set takes are reduced by more than, so that
Monitored process more than the threshold value pre-set keeps running background.
Specifically, in above-mentioned application examples, the monitoring process can also further reduce the interior of monitored process occupancy
Deposit and cpu resource, so that the monitored process keeps running background, further improve resource utilization.Certainly, at it
In his application examples, the memory headroom and CPU usage that the process that the monitoring process can also redistribute the monitoring takes are most
Big limits value etc., is not specifically limited herein.
Present embodiment is the specific steps of step S12 in present system process monitoring method first embodiment, this
Embodiment can be combined with present system process monitoring method first embodiment.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet of the embodiment of present system process monitoring method the 3rd, it is at this
On the basis of invention system process monitoring method first embodiment, further comprise:
Step S21:Judge whether to receive monitored process exits signal;
Wherein, when process exception is exited, the process can send one to operating system and exit signal, and such as 0, to notify
Operating system carries out relevant treatment.
Step S22:If receive monitored process exits signal, monitored process is restarted.
Wherein, step S22 further comprises:
Step S221:From monitored process exit signal in obtain the identity of monitored process;
Step S222:Restart the corresponding monitored process of the identity.
Specifically, when monitored process exception is exited, it sends one to operating system and exits signal, and this exits signal
Include the identity of the monitored process, the operating system process of itself, i.e., the prison run in operating system nucleus
Control process, from this exit signal in obtain the identity of the monitored process, in order to ensure that monitored process keeps fortune
Row state, the monitoring process sends Restart Signal to the monitored process, and such as 1, to restart identity correspondence
Monitored process.
Wherein, step S222 further comprises:
Step S2221:Obtain the corresponding control script name of the identity recorded in restarting configuration file;
Step S2222:The corresponding control script of control script name is performed, to restart the corresponding quilt of the identity
The process of monitoring.
Specifically, the restarting configuration file of each process is preserved in an application examples, in operating system memory, should
The monitoring process run in operating system own process, i.e. operating system nucleus is, it is necessary to restart a certain monitored process
When, the monitoring process obtains the corresponding control of identity of the monitored process from the restarting configuration file in internal memory
Script name processed, performs the corresponding control script of the control script name, to restart the process that this is monitored, so as to ensure
Monitored sequence lasts operation, improves the stability of a system.
The execution of the step of present embodiment can be in present system process monitoring method first or second embodiment
In any one step it is front/rear, present embodiment can be implemented with present system process monitoring method first and/or second
Mode is to combination.
Referring to Fig. 4, Fig. 4 is the structural representation of the embodiment of computing device one of the present invention.As shown in figure 4, of the invention
Computing device 40 includes:The processor 401 and memory 402 of interconnection;
In an application examples, the computing device 40 is server, and the server can be cloud server, and it has many
Individual client-side interface, receives the access of multiple subscription clients.
Processor 401 is used for identity and its operation phase that monitored process is obtained using operating system own process
Related parameter, judges to run whether relevant parameter exceedes the threshold value pre-set, when more than the threshold value pre-set, to more than pre-
The monitored process of the threshold value first set and/or other processes of operating system are handled.
Memory 402 is used for the identity for storing monitored process and its operation relevant parameter.
Wherein, the operating system own process is the monitoring process run in the operating system nucleus of server 40, operation
Relevant parameter includes at least one in CPU usage, memory usage and the priority of monitored process, and this sets in advance
The threshold value put can specifically be set according to different processes, and threshold value herein can refer to a scope, be not specifically limited herein.
Specifically, in an application examples, monitored process runs on (SuSE) Linux OS.The (SuSE) Linux OS
Kernel in increase customized monitoring programme, the monitoring process, and the operating system are produced when the monitoring programme is run
In also self-defined and/or modification kernel program, shell shell programs and built-in function, during make it that the monitoring process is run, can adjust
With corresponding detection, the shell programs of processing and built-in function, monitored process is carried out to monitor in real time and place so as to realize
Reason.
After os starting, loading tasks list performs the task in task list, and processor 401 utilizes the operation
The process of all operations and the process of all dormancy in system monitoring process real-time monitoring system, when monitored process starts fortune
During row, identity (i.e. PID) and its operation relevant parameter of all monitored processes are obtained, for example CPU usage, interior
Utilization rate and initial priority are deposited, and the parameter of acquisition is preserved;Certainly, in other application example, monitored process can be with
It is the specific process in part, can also operates in other operating systems, be not specifically limited herein.
Wherein, in monitored process running, the operation such as monitored CPU usage, memory usage of process
Relevant parameter real-time change, processor 401 is using the monitored process operation relevant parameter of monitoring process monitoring in real time, at this
When operation relevant parameter exceedes the threshold value pre-set, the monitored process more than the threshold value pre-set is handled.
For example, processor 401 obtains the CPU usage of a certain monitored process using the monitoring process, the CPU is judged
Whether utilization rate exceedes the threshold value that pre-sets, and such as 30%, if exceeding, the priority of the process is reduced, to cause the quilt
The process of monitoring is changed into the slow running status in backstage from high-speed cruising state, so that the total CPU usage of system declines, keeps away
Exempt from due to CPU usage it is too high caused by operation interim card or mistake, improve the stability of computing device 40.
Certainly, in other application example, processor 401 can also using the monitoring process by client-side interface to user
Reminder message is sent, reminds user that the monitored process operation relevant parameter exceedes the threshold value pre-set, it is proposed that Yong Huguan
Associated process is closed, correlation is closed when in the scheduled time or when reminding number of times more than preset times, being still not received by user
During the message of process, using the monitoring process, the process monitored to this is handled processor 401 automatically;In addition, processor
401 can also be handled other processes of operating system simultaneously, or other processes of operating system be handled, example
Such as adjust the priority of other processes operation interim card or Problem-Error is mitigated or overcome, improve the stability of a system, herein not
It is specifically limited.
Further, processor 401 first can also carry out identity using operating system own process to monitored process
Checking, and when being verified, then obtain identity and its operation relevant parameter of monitored process, do not pass through in checking
When, the monitored process of shielding, so that monitored process can not access system.
For example, processor 401 obtains the body for the monitored process for attempting access system using operating system own process
Part mark, judges the identity whether in the process list that system is preserved, wherein the process list includes having access right
All processes of limit, if the identity of the monitored process is verified in the process list, obtain what is be monitored
The identity of process and its operation relevant parameter;If the identity of the monitored process is not in the process list,
Checking does not pass through, and shields the monitored process, so that the monitored process can not access system, so as to prevent without visit
Ask that the illegal program of authority accesses system, improve the security of system.
Certainly, in other application example, operating system own process can also be using other modes such as checking digital certificates
Authentication is carried out to monitored process, is not specifically limited herein.
Fig. 4 is further regarded to, in another application example, processor 401 is used to judge whether to receive monitored process
Exit signal, receiving when exiting signal of monitored process, the monitored process of restarting.
Specifically, when monitored process exception is exited, it sends one to operating system and exits signal, and this exits signal
Include the identity of the monitored process, processor 401 is using the operating system process of itself, i.e., in operating system
The monitoring process run in core, from this exit signal in obtain the identity of the monitored process, in order to ensure to be monitored
Process remain on state, the monitoring process sends Restart Signal to the monitored process, such as 1, so that restart should
The corresponding monitored process of identity.
In other application example, processor 401 can obtain what is recorded in restarting configuration file from memory 402
The corresponding control script name of the identity, performs the corresponding control script of control script name, to restart the identity
Corresponding monitored process is identified, so as to ensure monitored sequence lasts operation, the stability of computing device 40 is improved.
Certainly, in other embodiments, the computing device 40 can also be other meters such as tablet personal computer, notebook computer
Equipment is calculated, is not specifically limited herein.
In present embodiment, computing device obtained using operating system own process monitored process identity and
It runs relevant parameter, judges to run whether relevant parameter exceedes the threshold value pre-set, when more than the threshold value pre-set,
Monitored process and/or other processes of operating system more than the threshold value pre-set is handled, so as to realize certainly
It is dynamic to monitor and handle monitored process and/or other processes of operating system, it is not necessary to user's manual handle, improve calculating and set
Standby flexibility.
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, is included within the scope of the present invention.
Claims (13)
1. a kind of system process monitoring method, it is characterised in that including:
Identity and its operation relevant parameter of monitored process are obtained using operating system own process;
Judge whether the operation relevant parameter exceedes the threshold value pre-set;
If more than the threshold value pre-set, to more than the monitored process of the threshold value pre-set and/or the behaviour
Other processes for making system are handled.
2. according to the method described in claim 1, it is characterised in that described pair exceedes the described of threshold value pre-set and be monitored
Process progress processing include:
Reduction exceedes the priority of the monitored process of the threshold value pre-set.
3. method according to claim 2, it is characterised in that the reduction exceedes the described of threshold value pre-set and supervised
Include after the priority of the process of control:
The system cache that the cleaning monitored process for exceeding the threshold value pre-set takes;
Internal memory and cpu resource that the monitored process of the threshold value pre-set takes are reduced by more than, so that more than advance
The monitored process of the threshold value of setting keeps running background.
4. according to the method described in claim 1, it is characterised in that including:
Judge whether to receive the monitored process exits signal;
If receive the monitored process exits signal, the monitored process is restarted.
5. method according to claim 4, it is characterised in that the restarting monitored process is further wrapped
Include:
From the monitored process exit signal in obtain the identity of monitored process;
Restart the corresponding monitored process of the identity.
6. method according to claim 5, it is characterised in that the restarting identity is corresponding monitored
Process further comprise:
Obtain the corresponding control script name of the identity recorded in restarting configuration file;
The corresponding control script of the control script name is performed, the identity is corresponding monitored to enter to restart
Journey.
7. according to the method described in claim 1, it is characterised in that the identity for obtaining monitored process includes:
The identity of the monitored process is obtained from the utilization rate signal from the monitored process.
8. according to the method described in claim 1, it is characterised in that the utilization operating system own process obtains monitored
Before the identity of process and its operation relevant parameter, including:
Authentication is carried out to the monitored process using the operating system own process;
If being verified, identity and its fortune that the utilization operating system own process obtains monitored process are performed
The step of row relevant parameter;
If checking does not pass through, the monitored process is shielded, so that the monitored process can not access the system.
9. the method according to any one of claim 1 to 8, it is characterised in that the operation relevant parameter includes the quilt
At least one in CPU usage, memory usage and the priority of the process of monitoring, the monitored process includes institute
State at least one in the processes of all operations of system, the process of all dormancy.
10. the method according to any one of claim 1 to 8, it is characterised in that the monitored process is run on
(SuSE) Linux OS.
11. according to the method described in claim 1, it is characterised in that
The operating system own process is the monitoring process run in the operating system nucleus, the operating system it is interior
Increase customized monitoring programme in core, the monitoring process is produced during the monitoring programme operation;
Further self-defined and/or modification kernel program, shell shell programs and built-in function in the operating system, to cause
When stating monitoring process operation, the corresponding shell programs and the built-in function can be called.
12. a kind of computing device, it is characterised in that including:The processor and memory of interconnection,
The identity and its operation that the processor is used to obtain monitored process using operating system own process are related
Parameter, judges whether the operation relevant parameter exceedes the threshold value that pre-sets, when more than the threshold value pre-set, to more than
The monitored process of the threshold value pre-set and/or other processes of the operating system are handled;
The memory is used for the identity for storing the monitored process and its operation relevant parameter.
13. computing device according to claim 12, it is characterised in that the computing device is server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710139101.0A CN107145389B (en) | 2017-03-09 | 2017-03-09 | System process monitoring method and computing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710139101.0A CN107145389B (en) | 2017-03-09 | 2017-03-09 | System process monitoring method and computing device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107145389A true CN107145389A (en) | 2017-09-08 |
CN107145389B CN107145389B (en) | 2020-12-15 |
Family
ID=59783779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710139101.0A Expired - Fee Related CN107145389B (en) | 2017-03-09 | 2017-03-09 | System process monitoring method and computing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107145389B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107861812A (en) * | 2017-10-30 | 2018-03-30 | 江西博瑞彤芸科技有限公司 | A kind of internal memory method for cleaning |
CN108229167A (en) * | 2017-12-29 | 2018-06-29 | 北京安云世纪科技有限公司 | For the method, equipment and mobile terminal controlled multi-process application |
CN109032812A (en) * | 2018-06-29 | 2018-12-18 | Oppo(重庆)智能科技有限公司 | A kind of mobile terminal and its method for limiting, the storage medium of interprocess communication |
CN109032814A (en) * | 2018-06-29 | 2018-12-18 | Oppo(重庆)智能科技有限公司 | A kind of mobile terminal and its monitoring method, the storage medium of interprocess communication |
CN109376007A (en) * | 2018-09-20 | 2019-02-22 | 武汉烽火技术服务有限公司 | A kind of process management method and system of host high load |
CN109684090A (en) * | 2018-12-19 | 2019-04-26 | 三星电子(中国)研发中心 | A kind of resource allocation methods and device |
CN109982144A (en) * | 2019-03-12 | 2019-07-05 | 四川长虹电器股份有限公司 | Monitor and judge the automated testing method that application process CPU occupies superelevation and alarms |
CN110286961A (en) * | 2019-06-27 | 2019-09-27 | 深圳市网心科技有限公司 | Process based on physical host processor hangs up method and relevant device |
CN110837455A (en) * | 2019-11-07 | 2020-02-25 | 北京宝兰德软件股份有限公司 | Script-based application configuration information acquisition method and device |
CN110955514A (en) * | 2019-10-09 | 2020-04-03 | 烽火通信科技股份有限公司 | Method, system and computer readable medium for improving utilization rate of Linux business process |
CN111143844A (en) * | 2019-12-25 | 2020-05-12 | 浙江军盾信息科技有限公司 | Safety detection method and system for Internet of things equipment and related device |
CN112925691A (en) * | 2021-02-20 | 2021-06-08 | 中通天鸿(北京)通信科技股份有限公司 | System monitoring method and device |
CN113626203A (en) * | 2021-08-27 | 2021-11-09 | 广东九联科技股份有限公司 | Memory environment real-time optimization method and system for android system |
CN113722080A (en) * | 2020-05-22 | 2021-11-30 | 北京小米移动软件有限公司 | Memory optimization method and device and computer storage medium |
CN113722086A (en) * | 2020-05-26 | 2021-11-30 | 南宁富桂精密工业有限公司 | Application process daemon method, server and computer readable storage medium |
CN114691258A (en) * | 2020-12-29 | 2022-07-01 | 深圳Tcl新技术有限公司 | System performance display method and system, intelligent device and storage medium |
CN115408160A (en) * | 2022-09-16 | 2022-11-29 | 湖南胜云光电科技有限公司 | Data processing system for process monitoring |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033782A (en) * | 2009-09-30 | 2011-04-27 | 英业达集团(天津)电子技术有限公司 | Scheduling method for dynamically adjusting priority value of process |
CN102253900A (en) * | 2011-06-13 | 2011-11-23 | 华中师范大学 | Memory optimization method under Windows CE operating system |
CN103365758A (en) * | 2013-08-05 | 2013-10-23 | 北京搜狐新媒体信息技术有限公司 | Process monitoring method and system in virtualization environment |
-
2017
- 2017-03-09 CN CN201710139101.0A patent/CN107145389B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033782A (en) * | 2009-09-30 | 2011-04-27 | 英业达集团(天津)电子技术有限公司 | Scheduling method for dynamically adjusting priority value of process |
CN102253900A (en) * | 2011-06-13 | 2011-11-23 | 华中师范大学 | Memory optimization method under Windows CE operating system |
CN103365758A (en) * | 2013-08-05 | 2013-10-23 | 北京搜狐新媒体信息技术有限公司 | Process monitoring method and system in virtualization environment |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107861812A (en) * | 2017-10-30 | 2018-03-30 | 江西博瑞彤芸科技有限公司 | A kind of internal memory method for cleaning |
CN108229167A (en) * | 2017-12-29 | 2018-06-29 | 北京安云世纪科技有限公司 | For the method, equipment and mobile terminal controlled multi-process application |
CN108229167B (en) * | 2017-12-29 | 2022-05-31 | 北京安云世纪科技有限公司 | Method and device for controlling multi-process application and mobile terminal |
CN109032814B (en) * | 2018-06-29 | 2020-10-02 | Oppo(重庆)智能科技有限公司 | Mobile terminal, method for monitoring interprocess communication of mobile terminal and storage medium |
CN109032812A (en) * | 2018-06-29 | 2018-12-18 | Oppo(重庆)智能科技有限公司 | A kind of mobile terminal and its method for limiting, the storage medium of interprocess communication |
CN109032812B (en) * | 2018-06-29 | 2020-10-02 | Oppo(重庆)智能科技有限公司 | Mobile terminal, limiting method for interprocess communication of mobile terminal and storage medium |
CN109032814A (en) * | 2018-06-29 | 2018-12-18 | Oppo(重庆)智能科技有限公司 | A kind of mobile terminal and its monitoring method, the storage medium of interprocess communication |
CN109376007A (en) * | 2018-09-20 | 2019-02-22 | 武汉烽火技术服务有限公司 | A kind of process management method and system of host high load |
CN109684090A (en) * | 2018-12-19 | 2019-04-26 | 三星电子(中国)研发中心 | A kind of resource allocation methods and device |
CN109982144B (en) * | 2019-03-12 | 2020-06-30 | 四川长虹电器股份有限公司 | Automatic testing method for monitoring and judging CPU occupancy of application process and alarming |
CN109982144A (en) * | 2019-03-12 | 2019-07-05 | 四川长虹电器股份有限公司 | Monitor and judge the automated testing method that application process CPU occupies superelevation and alarms |
CN110286961A (en) * | 2019-06-27 | 2019-09-27 | 深圳市网心科技有限公司 | Process based on physical host processor hangs up method and relevant device |
CN110955514A (en) * | 2019-10-09 | 2020-04-03 | 烽火通信科技股份有限公司 | Method, system and computer readable medium for improving utilization rate of Linux business process |
CN110837455B (en) * | 2019-11-07 | 2023-04-14 | 北京宝兰德软件股份有限公司 | Script-based application configuration information acquisition method and device |
CN110837455A (en) * | 2019-11-07 | 2020-02-25 | 北京宝兰德软件股份有限公司 | Script-based application configuration information acquisition method and device |
CN111143844A (en) * | 2019-12-25 | 2020-05-12 | 浙江军盾信息科技有限公司 | Safety detection method and system for Internet of things equipment and related device |
CN113722080A (en) * | 2020-05-22 | 2021-11-30 | 北京小米移动软件有限公司 | Memory optimization method and device and computer storage medium |
CN113722086A (en) * | 2020-05-26 | 2021-11-30 | 南宁富桂精密工业有限公司 | Application process daemon method, server and computer readable storage medium |
CN114691258A (en) * | 2020-12-29 | 2022-07-01 | 深圳Tcl新技术有限公司 | System performance display method and system, intelligent device and storage medium |
CN112925691A (en) * | 2021-02-20 | 2021-06-08 | 中通天鸿(北京)通信科技股份有限公司 | System monitoring method and device |
CN112925691B (en) * | 2021-02-20 | 2024-05-24 | 中通天鸿(北京)通信科技股份有限公司 | System monitoring method and device |
CN113626203A (en) * | 2021-08-27 | 2021-11-09 | 广东九联科技股份有限公司 | Memory environment real-time optimization method and system for android system |
CN113626203B (en) * | 2021-08-27 | 2024-02-13 | 广东九联科技股份有限公司 | Memory environment real-time optimization method and system for android system |
CN115408160A (en) * | 2022-09-16 | 2022-11-29 | 湖南胜云光电科技有限公司 | Data processing system for process monitoring |
CN115408160B (en) * | 2022-09-16 | 2023-05-05 | 湖南胜云光电科技有限公司 | Data processing system for process monitoring |
Also Published As
Publication number | Publication date |
---|---|
CN107145389B (en) | 2020-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107145389A (en) | A kind of system process monitoring method and computing device | |
US9618997B2 (en) | Controlling a turbo mode frequency of a processor | |
CN112000455B (en) | Multithreading task processing method and device and electronic equipment | |
CN110941325B (en) | Frequency modulation method and device of processor and computing equipment | |
CN110433496B (en) | Cloud game resource allocation method, electronic device and storage medium | |
CN110580195B (en) | Memory allocation method and device based on memory hot plug | |
CN103902364B (en) | A kind of physical resource management method, apparatus and intelligent terminal | |
CN104683573A (en) | Implementation method of shutdown alarm clock and mobile terminal | |
CN112306567B (en) | Cluster management system and container management and control method | |
CN106598740A (en) | System and method for limiting CPU (Central Processing Unit) occupancy rate of multi-thread program | |
CN110399034A (en) | A kind of power consumption optimization method and terminal of SoC system | |
CN113590337A (en) | Method and device for automatically adjusting cloud host configuration in cloud environment | |
CN107635026A (en) | Method and device for acquiring IP | |
WO2021078144A1 (en) | Power management method and device | |
CN107360207B (en) | Submit method, interface issuing means, storage medium and electronic device in interface | |
CN105100125B (en) | A kind of dormancy control method of virtual desktop, apparatus and system | |
CN113542256A (en) | Method, device, equipment and storage medium for updating login credentials in client | |
CN107908956A (en) | A kind of monitoring method of resource access request, device and readable storage medium storing program for executing | |
CN109189545B (en) | Implementation method and system for improving thermal migration reliability of virtual machine | |
CN108804152B (en) | Method and device for adjusting configuration parameters | |
CN114449628B (en) | Log data processing method, electronic device and medium thereof | |
CN212624019U (en) | Printer with credible judgment function | |
CN113867831B (en) | Intelligent device control method, intelligent device, storage medium and electronic device | |
CN111176848B (en) | Cluster task processing method, device, equipment and storage medium | |
US9639137B2 (en) | Control method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201215 |