CN105488119A - Process finding method and device - Google Patents

Process finding method and device Download PDF

Info

Publication number
CN105488119A
CN105488119A CN201510819304.5A CN201510819304A CN105488119A CN 105488119 A CN105488119 A CN 105488119A CN 201510819304 A CN201510819304 A CN 201510819304A CN 105488119 A CN105488119 A CN 105488119A
Authority
CN
China
Prior art keywords
daily record
resource
time period
maximum
process number
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
CN201510819304.5A
Other languages
Chinese (zh)
Inventor
李明浩
王乐
刘吕平
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510819304.5A priority Critical patent/CN105488119A/en
Publication of CN105488119A publication Critical patent/CN105488119A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3495Performance evaluation by tracing or monitoring for systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/144Query formulation

Abstract

The invention provides a process finding method, which comprises the following steps of retrieving a process log of a preset keyword carried in the process log of each process in a preset time period, wherein the preset keyword represents that the current process occupies an IO (Input Output) resource; performing quantity statistics and performing counting by aiming at log items identical to the process number in the retrieved process log; and finding the process number with the greatest counting number as the process number occupying the most IO resources in the preset time period. The method and the device can realize the finding of the process occupying the most IO resources in the current system for a user, so that the basis is provided for the system optimization of the user.

Description

Process lookup method and device
Technical field
The disclosure relates to the communications field, particularly relates to process lookup method and device.
Background technology
In the process that android system is optimized, often need the indices of the system of checking, such as CPU takies, memory consumption etc.But, system cloud gray model slowly bottleneck often all because some process takies, IO is too high to be caused, therefore search take the highest process of IO for android system optimize significant.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of process lookup method and device.
According to the first aspect of disclosure embodiment, provide a kind of process lookup method, described method comprises:
Retrieve the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period; Described predetermined keyword characterizes current process and takies IO resource;
The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts;
Search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
Optionally, before in described process daily record in preset time period, the process daily record of predetermined keyword is carried in retrieval, described method also comprises:
Order based on user's input exports the process daily record of each process;
Obtain the preset time period that user is arranged;
The process daily record of each process in described preset time period is read from the process daily record exported.
Optionally, before the journal entries that in the described described process daily record for retrieving, process number is identical carries out quantity statistics, described method also comprises:
The invalidation of its process daily record in the described process daily record retrieved is removed based on preset strategy.
Optionally, described invalidation of its process daily record of removing based on preset strategy in the described process daily record retrieved comprises:
Travel through the described process daily record retrieved;
Screen the journal entries of carrying non-alphabetic characters in described process daily record;
The journal entries of carrying non-alphabetic characters described in filtering out is removed as invalidation of its process daily record.
Optionally, the journal entries that in the described described process daily record for retrieving, process number is identical is carried out quantity statistics and is comprised:
Based on process number, the described process daily record retrieved is sorted;
The journal entries identical for process number in the described process daily record after sequence is carried out quantity statistics and counts.
Optionally, described method also comprises:
The process number that process number maximum for described counting takies IO resource maximum in described preset time period is exported to user.
Optionally, described method also comprises:
Count value maximum for described counting is associated as the process number that IO resource occupation quantity is maximum with described counting and exports.
Optionally, described predetermined keyword comprises: one or more in READ, WRITE and dirtied.
According to the second aspect of disclosure embodiment, provide a kind of process to search device, described device comprises:
Retrieval module, is configured to the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period of retrieving; Described predetermined keyword characterizes current process and takies IO resource;
Statistical module, the journal entries be configured to for process number in the described process daily record retrieved is identical is carried out quantity statistics and counts;
Searching module, being configured to search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
Optionally, described device also comprises:
First output module, is configured to the process daily record exporting each process based on the order of user's input;
Acquisition module, is configured to the preset time period obtaining user's setting;
Read module, is configured to the process daily record of reading each process in described preset time period from the process daily record exported.
Optionally, described device also comprises:
Remove module, be configured to process number is identical in described statistical module is for the described process daily record retrieved journal entries and carry out quantity statistics and before counting, remove the invalidation of its process daily record in the described process daily record retrieved based on preset strategy.
Optionally, described removing module comprises:
Traversal submodule, is configured to travel through the described process daily record retrieved;
Screening submodule, is configured to screen the journal entries of carrying non-alphabetic characters in described process daily record;
Remove submodule, be configured to the journal entries of carrying non-alphabetic characters described in filtering out to remove as invalidation of its process daily record.
Optionally, described statistical module comprises:
Sorting sub-module, is configured to sort to the described process daily record retrieved based on process number;
Statistics submodule, is configured to the journal entries that in the described process daily record after for sequence, process number is identical and carries out quantity statistics and count.
Optionally, described device also comprises:
Second output module, the process number be configured to process number maximum for described counting takies IO resource maximum in described preset time period exports to user.
Optionally, described device also comprises:
3rd output module, is configured to count value maximum for described counting to associate as the process number that IO resource occupation quantity is maximum with described counting export.
Optionally, described predetermined keyword comprises: one or more in READ, WRITE and dirtied.
According to the third aspect of disclosure embodiment, provide a kind of process to search device, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Retrieve the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period; Described predetermined keyword characterizes current process and takies IO resource;
The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts;
Search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In above embodiment of the present disclosure, in the process daily record by each process in retrieval preset time period, carry the process daily record of predetermined keyword; Described predetermined keyword characterizes current process and takies IO resource; The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts; Searching the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period, can be implemented as user and searching in current system and take the highest process of IO resource, thus provide foundation for the system optimization of user.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the schematic flow sheet of a kind of process lookup method according to an exemplary embodiment;
Fig. 2 is the schematic flow sheet of the another kind of process lookup method according to an exemplary embodiment;
Fig. 3 is the schematic block diagram that a kind of process according to an exemplary embodiment searches device;
Fig. 4 is the schematic block diagram that another kind of process according to an exemplary embodiment searches device;
Fig. 5 is the schematic block diagram that another kind of process according to an exemplary embodiment searches device;
Fig. 6 is the schematic block diagram that another kind of process according to an exemplary embodiment searches device;
Fig. 7 is the schematic block diagram that another kind of process according to an exemplary embodiment searches device;
Fig. 8 is the schematic block diagram that another kind of process according to an exemplary embodiment searches device;
Fig. 9 is the schematic block diagram that another kind of process according to an exemplary embodiment searches device;
Figure 10 is a kind of structural representation searching device for process according to an exemplary embodiment;
Figure 11 is another kind according to an exemplary embodiment searches a device structural representation for process.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
The term used in the disclosure is only for the object describing specific embodiment, and the not intended to be limiting disclosure." one ", " described " and " being somebody's turn to do " of the singulative used in disclosure and the accompanying claims book is also intended to comprise most form, unless context clearly represents other implications.It is also understood that term "and/or" used herein refer to and comprise one or more project of listing be associated any or all may combine.
Term first, second, third, etc. may be adopted although should be appreciated that to describe various information in the disclosure, these information should not be limited to these terms.These terms are only used for the information of same type to be distinguished from each other out.Such as, when not departing from disclosure scope, the first information also can be called as the second information, and similarly, the second information also can be called as the first information.Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining ".
In the related, in the process be optimized for system (such as android system), in the normal situation of every system index, usually need to find out the process that current system takies IO (InputOutput input and output) most.But current system does not provide the implementation method monitored simply and easily and take the too high process of IO in current system.
In view of this, the disclosure proposes a kind of process lookup method, carries the process daily record of predetermined keyword in the process daily record by each process in retrieval preset time period; Described predetermined keyword characterizes current process and takies IO resource; The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts; Searching the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period, can be implemented as user and searching in current system and take the highest process of IO resource, thus provide foundation for the system optimization of user.
As shown in Figure 1, Fig. 1 is a kind of process lookup method according to an exemplary embodiment, and this process lookup method is used for, in client, comprising the following steps:
In a step 101, the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period is retrieved; Described predetermined keyword characterizes current process and takies IO resource;
In a step 102, carry out quantity statistics for the journal entries that process number in the described process daily record retrieved is identical and count;
In step 103, the maximum process number of described counting is searched as taking the maximum process number of IO resource in described preset time period.
Above-mentioned client can comprise system-oriented maintainer provides process to search the client software of service; Such as, for Android system, this client software can be provide process to search the lookup tool of service towards Android system maintainer, and developer can be searched by this lookup tool and currently in Android system take the maximum process of IO resource.
Wherein, carry the hardware environment of above-mentioned client software, be not particularly limited in the present embodiment; Such as, can be PC main frame, mobile terminal or server.
In the present embodiment, system maintenance personnel, in the process be optimized system, often need every operating index of the system of checking, the CPU usage of such as system, memory consumption rate etc.But, in actual applications, system cloud gray model slowly bottleneck often all because some process takies, IO resource is too high to be caused, therefore currently in seeking system take the highest process of IO resource, what the optimization for system just became being extremely necessary.
At present, system maintenance personnel, when needs seeking system process, are by using the system tools such as such as blockdump usually, specifically export that order come at blockdump interface inediting.When after the output order that blockdump tool detection is edited to user, then in interface, the journal file (log file) of each process run current in system can be exported to system maintenance personnel in interface.
Such as, for blockdump instrument, system maintenance personnel in the interface inediting dmesg order of blockdump instrument, can trigger the log file of the current each process of blockdump instrument output system usually.
But, system maintenance personnel are by using the system tools such as blockdump, although the journal file of each process in system can be checked very easily, then the system tool such as existing such as blockdump does not provide the current function taking the highest process of IO in seeking system, therefore when system maintenance personnel need to be optimized system, the journal file that the analysis blockdump instrument of having to one by one manual exports.
In the present embodiment, for solving the problem, can introduce in existing blockdump instrument and search logic shown by above-mentioned steps 101 to step 103, existing blockdump instrument is made to have current this New function taking the highest process of IO resource in seeking system, thus system maintenance personnel can use blockdump instrument to find out efficiently currently in system takies the highest process of IO resource, for system optimization provides foundation.
Be that the blockdump instrument with the process function that the current IO of taking resource is the highest in seeking system is described for above-mentioned client software below.
Certainly, be that the blockdump instrument of the function with the highest process of the current IO of taking resource in seeking system is only exemplary illustration above for above-mentioned client software, in actual applications, also can search to step 103 system tool that logic development makes new advances based on step 101.That is, above-mentioned client software can be have the current existing system instrument taking this New function of the highest process of IO resource in seeking system, also can be the new system tool again developed.
In an initial condition, when system maintenance personnel need to search sometime in section, the process of IO resource is taken most in system, blockdump instrument can be run, in the interface inediting dmesg order of blockdump instrument, trigger the log file of the current each process of blockdump instrument output system.
Wherein, the above-mentioned time period can by the self-defined setting of system maintenance personnel.
When realizing, system-oriented maintainer one can be provided for arranging the user option of above-mentioned time period in blockdump instrument, system maintenance personnel can arrange the default time period in this user option, after the time period that this is preset is provided with, now blockdump instrument can run above-mentioned search logic to search this preset time period in, take the process of IO resource in system most.
Such as, suppose that the above-mentioned preset time period that user is arranged is 30 minutes, so blockdump instrument can run and above-mentionedly search logic to search, and to after 30 minutes from current time, takies the process of IO resource in system most.
In the present embodiment, after the log file of the current each process of output system, now blockdump instrument can obtain the above-mentioned default time period that user is arranged on backstage, from the log file exported, then read the log file of each process in this preset time period.
Such as, still suppose that the above-mentioned preset time period that user is arranged is 30 minutes, so blockdump instrument can, the log file of backstage from each process exported, read from current time, the log file of each process within 30 minutes.
After blockdump instrument reads the log file of each process within the above-mentioned default time period, now blockdump instrument can in these log files read, and the log file of predetermined keyword is carried in retrieval.Wherein, this predetermined keyword can characterize current process and take IO resource, and namely this predetermined keyword can comprise the keyword that those sign current process take IO resource.
For blockdump instrument, generally include process number in the log file exported, the information such as action, filename, disk name and implementor name that No. Inode (inode number of reading and writing data), this process perform, and the action that this process of carrying in this log file performs usually can characterize this process and whether taking IO resource.Such as, in the log file that process generates when taking IO resource, usually the actions such as READ, WRITE and dirtied can be comprised, READ represents that current process take part in digital independent, WRITE represents that current process take part in data write, and dirtied then represents that current process take part in write back data.
Therefore, in actual applications, above-mentioned can characterize that predetermined keyword that current process takies IO resource then can comprise in the keywords such as READ, WRITE and dirtied one or more.Blockdump instrument is in the log file from each process in the above-mentioned default time period read, when the log file of predetermined keyword is carried in retrieval, the log file carrying the keywords such as READ, WRITE and dirtied in the log file read can be retrieved.
In the present embodiment, after blockdump instrument retrieves the log file carrying above-mentioned predetermined keyword, owing to also may comprise some invalid log files in these log files, therefore blockdump instrument can also remove the invalid log file in these log files retrieved based on preset strategy.
Wherein, in blockdump instrument, the log file generated when process takies IO resource only comprises letter usually, and there is not the character of non-letter, if comprise the character of non-letter in the log file that therefore blockdump instrument retrieves, so this log file is probably invalid log file.
Therefore, in a kind of embodiment illustrated, above-mentioned preset strategy can comprise: travel through the log file retrieved, and screens the log entry of carrying non-alphabetic characters in the log file retrieved, then the log entry of carrying non-alphabetic characters filtered out is removed as invalid log file.
Visible, in this way, effectively can remove the invalid log file in the log file retrieved, thus when the follow-up log file to retrieving carries out quantity statistics to search taking the highest process of IO resource, can avoid because invalid log file causes interference to final lookup result, and the situation that the lookup result caused is undesirable.
In the present embodiment, due to usually can process number be comprised in log file, and some processes take IO resource more time, the log file comprising the process number of this process in these log files that blockdump instrument retrieves is also more.
Therefore, when after the invalid log file that blockdump instrument to remove based on preset strategy in the log file retrieved, blockdump instrument can carry out quantity statistics for the log entry that process number in these log files retrieved is identical and counts, and search the maximum process number of counting as taking the maximum process number of IO resource in preset time period, then process number maximum for the counting found is exported.This process number now exported then takies the maximum process number of IO resource in preset time period.
Wherein, when the log entry that blockdump instrument process number in for these log files retrieved is identical is carried out quantity statistics and counts, can sort to these log files retrieved based on process number, then carry out quantity statistics for the log entry that process number in these log files after sequence is identical and count.In this way, the complexity of blockdump instrument when carrying out quantity statistics can be reduced.
Blockdump, when being exported by process number maximum for counting, can export one and also can export multiple.Namely blockdump is when output process, and a process number that can be maximum by the counting counted exports to system maintenance personnel, also can export to system maintenance personnel by multiple process number that the counting counted is maximum.
In addition, blockdump is when exporting process number maximum for counting, and the number of the concrete process number exported also can be set based on the demand of reality by system maintenance personnel.
Such as, system maintenance personnel are when carrying out system optimization, if the running status of current system still can, now system maintenance personnel may only need be optimized for the process taking IO the highest, and now the number of the process number of above-mentioned output can be set to 1 by system maintenance personnel.If the operation of current system is slow, now system maintenance personnel may need to be optimized for taking IO the most much higher process, and now the number of the process number of above-mentioned output can be set to multiple by system maintenance personnel.
In the present embodiment, count value maximum for counting except can except the maximum process number of counting exports to system maintenance personnel, can also carry out associating with above-mentioned process number and exports by blockdump.Wherein, blockdump count the maximum count value process number maximum with above-mentioned counting associate export time, still can export one and also can export multiple.
Such as, suppose that log entry that blockdump is identical to process number in the log file retrieved draws after carrying out quantity statistics, in these log files, the maximum count of the log entry that process number is identical is 100, corresponding same process number is 1, so this process number 1 can be taken the maximum process number of IO resource and exports to system maintenance personnel by blockdump in preset time period, simultaneously by the maximum count 100 of this process number 1 correspondence, to associate with this process number 1 as the IO resource occupation quantity of this process and export.Thus system maintenance personnel, by checking the content that blockdump exports, both can recognize the current process number taking IO resource most, the IO resource quantity that this process specifically takies also can be recognized.
Visible, in this way, system maintenance personnel can use blockdump instrument to find out efficiently and currently in system take the highest process of IO resource, for system optimization provides foundation.
After blockdump to output to system maintenance personnel take the IO resource occupation quantity of the maximum process number of IO resource and association within the time period of presetting, now system maintenance personnel using the content of blockdump output as the foundation of system optimization, can be optimized system.Such as, if the current operation of system is slow, system maintenance personnel can select to terminate currently to take one or more the highest process of IO resource, reach the object of system optimization with the processing pressure of delivery system.
In the embodiment above, the process daily record of predetermined keyword is carried in the process daily record by each process in retrieval preset time period; Described predetermined keyword characterizes current process and takies IO resource; The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts; Searching the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period, can be implemented as user and searching in current system and take the highest process of IO resource, thus provide foundation for the system optimization of user.
As shown in Figure 2, Fig. 2 is the another kind of process lookup method according to an exemplary embodiment, and this process lookup method is used for, in client, said method comprising the steps of:
In step 201, the order inputted based on user exports the process daily record of each process;
In step 202., the preset time period that user is arranged is obtained;
In step 203, from the process daily record exported, read the process daily record of each process in described preset time period;
In step 204, the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period is retrieved; Described predetermined keyword characterizes current process and takies IO resource;
In step 205, based on process number, the described process daily record retrieved is sorted;
In step 206, carry out quantity statistics for the journal entries that process number in the described process daily record after sequence is identical and count;
In step 207, search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period, and the process number that process number maximum for described counting takies IO resource maximum in described preset time period is exported to user, and count value maximum for described counting is associated as the process number that IO resource occupation quantity is maximum with described counting export.
Above-mentioned client can comprise system-oriented maintainer provides process to search the client software of service; Such as, for Android system, this client software can be provide process to search the lookup tool of service towards Android system maintainer, and developer can be searched by this lookup tool and currently in Android system take the maximum process of IO resource.
Wherein, carry the hardware environment of above-mentioned client software, be not particularly limited in the present embodiment; Such as, can be PC main frame, mobile terminal or server.
In the present embodiment, system maintenance personnel, in the process be optimized system, often need every operating index of the system of checking, the CPU usage of such as system, memory consumption rate etc.But, in actual applications, system cloud gray model slowly bottleneck often all because some process takies, IO resource is too high to be caused, therefore currently in seeking system take the highest process of IO resource, what the optimization for system just became being extremely necessary.
At present, system maintenance personnel, when needs seeking system process, are by using the system tools such as such as blockdump usually, specifically export that order come at blockdump interface inediting.When after the output order that blockdump tool detection is edited to user, then in interface, the journal file (log file) of each process run current in system can be exported to system maintenance personnel in interface.
Such as, for blockdump instrument, system maintenance personnel in the interface inediting dmesg order of blockdump instrument, can trigger the log file of the current each process of blockdump instrument output system usually.
But, system maintenance personnel are by using the system tools such as blockdump, although the journal file of each process in system can be checked very easily, then the system tool such as existing such as blockdump does not provide the current function taking the highest process of IO in seeking system, therefore when system maintenance personnel need to be optimized system, the journal file that the analysis blockdump instrument of having to one by one manual exports.
In the present embodiment, for solving the problem, can introduce in existing blockdump instrument and search logic shown by above-mentioned steps 201 to step 207, existing blockdump instrument is made to have current this New function taking the highest process of IO resource in seeking system, thus system maintenance personnel can use blockdump instrument to find out efficiently currently in system takies the highest process of IO resource, for system optimization provides foundation.
Be that the blockdump instrument with the process function that the current IO of taking resource is the highest in seeking system is described for above-mentioned client software below.
Certainly, be that the blockdump instrument of the function with the highest process of the current IO of taking resource in seeking system is only exemplary illustration above for above-mentioned client software, in actual applications, also can search to step 207 system tool that logic development makes new advances based on step 201.That is, above-mentioned client software can be have the current existing system instrument taking this New function of the highest process of IO resource in seeking system, also can be the new system tool again developed.
In an initial condition, when system maintenance personnel need to search sometime in section, the process of IO resource is taken most in system, blockdump instrument can be run, in the interface inediting dmesg order of blockdump instrument, trigger the log file of the current each process of blockdump instrument output system.
Wherein, the above-mentioned time period can by the self-defined setting of system maintenance personnel.
When realizing, system-oriented maintainer one can be provided for arranging the user option of above-mentioned time period in blockdump instrument, system maintenance personnel can arrange the default time period in this user option, after the time period that this is preset is provided with, now blockdump instrument can run above-mentioned search logic to search this preset time period in, take the process of IO resource in system most.
Such as, suppose that the above-mentioned preset time period that user is arranged is 30 minutes, so blockdump instrument can run and above-mentionedly search logic to search, and to after 30 minutes from current time, takies the process of IO resource in system most.
In the present embodiment, after the log file of the current each process of output system, now blockdump instrument can obtain the above-mentioned default time period that user is arranged on backstage, from the log file exported, then read the log file of each process in this preset time period.
Such as, still suppose that the above-mentioned preset time period that user is arranged is 30 minutes, so blockdump instrument can, the log file of backstage from each process exported, read from current time, the log file of each process within 30 minutes.
After blockdump instrument reads the log file of each process within the above-mentioned default time period, now blockdump instrument can in these log files read, and the log file of predetermined keyword is carried in retrieval.Wherein, this predetermined keyword can characterize current process and take IO resource, and namely this predetermined keyword can comprise the keyword that those sign current process take IO resource.
For blockdump instrument, generally include process number in the log file exported, the information such as action, filename, disk name and implementor name that No. Inode (inode number of reading and writing data), this process perform, and the action that this process of carrying in this log file performs usually can characterize this process and whether taking IO resource.Such as, in the log file that process generates when taking IO resource, usually the actions such as READ, WRITE and dirtied can be comprised, READ represents that current process take part in digital independent, WRITE represents that current process take part in data write, and dirtied then represents that current process take part in write back data.
Therefore, in actual applications, above-mentioned can characterize that predetermined keyword that current process takies IO resource then can comprise in the keywords such as READ, WRITE and dirtied one or more.Blockdump instrument is in the log file from each process in the above-mentioned default time period read, when the log file of predetermined keyword is carried in retrieval, the log file carrying the keywords such as READ, WRITE and dirtied in the log file read can be retrieved.
In the present embodiment, after blockdump instrument retrieves the log file carrying above-mentioned predetermined keyword, owing to also may comprise some invalid log files in these log files, therefore blockdump instrument can also remove the invalid log file in these log files retrieved based on preset strategy.
Wherein, in blockdump instrument, the log file generated when process takies IO resource only comprises letter usually, and there is not the character of non-letter, if comprise the character of non-letter in the log file that therefore blockdump instrument retrieves, so this log file is probably invalid log file.
Therefore, in a kind of embodiment illustrated, above-mentioned preset strategy can comprise: travel through the log file retrieved, and screens the log entry of carrying non-alphabetic characters in the log file retrieved, then the log entry of carrying non-alphabetic characters filtered out is removed as invalid log file.
Visible, in this way, effectively can remove the invalid log file in the log file retrieved, thus when the follow-up log file to retrieving carries out quantity statistics to search taking the highest process of IO resource, can avoid because invalid log file causes interference to final lookup result, and the situation that the lookup result caused is undesirable.
In the present embodiment, due to usually can process number be comprised in log file, and some processes take IO resource more time, the log file comprising the process number of this process in these log files that blockdump instrument retrieves is also more.
Therefore, when after the invalid log file that blockdump instrument to remove based on preset strategy in the log file retrieved, blockdump instrument can carry out quantity statistics for the log entry that process number in these log files retrieved is identical and counts, and search the maximum process number of counting as taking the maximum process number of IO resource in preset time period, then process number maximum for the counting found is exported.This process number now exported then takies the maximum process number of IO resource in preset time period.
Wherein, when the log entry that blockdump instrument process number in for these log files retrieved is identical is carried out quantity statistics and counts, can sort to these log files retrieved based on process number, then carry out quantity statistics for the log entry that process number in these log files after sequence is identical and count.In this way, the complexity of blockdump instrument when carrying out quantity statistics can be reduced.
Blockdump, when being exported by process number maximum for counting, can export one and also can export multiple.Namely blockdump is when output process, and a process number that can be maximum by the counting counted exports to system maintenance personnel, also can export to system maintenance personnel by multiple process number that the counting counted is maximum.
In addition, blockdump is when exporting process number maximum for counting, and the number of the concrete process number exported also can be set based on the demand of reality by system maintenance personnel.
Such as, system maintenance personnel are when carrying out system optimization, if the running status of current system still can, now system maintenance personnel may only need be optimized for the process taking IO the highest, and now the number of the process number of above-mentioned output can be set to 1 by system maintenance personnel.If the operation of current system is slow, now system maintenance personnel may need to be optimized for taking IO the most much higher process, and now the number of the process number of above-mentioned output can be set to multiple by system maintenance personnel.
In the present embodiment, count value maximum for counting except can except the maximum process number of counting exports to system maintenance personnel, can also carry out associating with above-mentioned process number and exports by blockdump.Wherein, blockdump count the maximum count value process number maximum with above-mentioned counting associate export time, still can export one and also can export multiple.
Such as, suppose that log entry that blockdump is identical to process number in the log file retrieved draws after carrying out quantity statistics, in these log files, the maximum count of the log entry that process number is identical is 100, corresponding same process number is 1, so this process number 1 can be taken the maximum process number of IO resource and exports to system maintenance personnel by blockdump in preset time period, simultaneously by the maximum count 100 of this process number 1 correspondence, to associate with this process number 1 as the IO resource occupation quantity of this process and export.Thus system maintenance personnel, by checking the content that blockdump exports, both can recognize the current process number taking IO resource most, the IO resource quantity that this process specifically takies also can be recognized.
Visible, in this way, system maintenance personnel can use blockdump instrument to find out efficiently and currently in system take the highest process of IO resource, for system optimization provides foundation.
After blockdump to output to system maintenance personnel take the IO resource occupation quantity of the maximum process number of IO resource and association within the time period of presetting, now system maintenance personnel using the content of blockdump output as the foundation of system optimization, can be optimized system.Such as, if the current operation of system is slow, system maintenance personnel can select to terminate currently to take one or more the highest process of IO resource, reach the object of system optimization with the processing pressure of delivery system.
In the embodiment above, the process daily record of predetermined keyword is carried in the process daily record by each process in retrieval preset time period; Described predetermined keyword characterizes current process and takies IO resource; The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts; Search the maximum process number of described counting to export to user as the process number taking IO resource maximum in described preset time period, can be implemented as user and search in current system and take the highest process of IO resource, thus provide foundation for the system optimization of user.
Corresponding with aforementioned process lookup method embodiment, the disclosure additionally provides the embodiment that process searches device.
Fig. 3 is the schematic block diagram that a kind of process according to an exemplary embodiment searches device.
As shown in Figure 3, a kind of process according to an exemplary embodiment searches device 30, comprising: retrieval module 301, statistical module 302 and search module 303; Wherein:
Described retrieval module 301, is configured to the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period of retrieving; Described predetermined keyword characterizes current process and takies IO resource;
Described statistical module 302, the journal entries be configured to for process number in the described process daily record retrieved is identical is carried out quantity statistics and counts;
Describedly search module 303, the process number be configured to process number maximum for described counting takies IO resource maximum in described preset time period exports to user.
Wherein, above-mentioned predetermined keyword can comprise: one or more in READ, WRITE and dirtied.
In the embodiment above, the process daily record of predetermined keyword is carried in the process daily record by each process in retrieval preset time period; Described predetermined keyword characterizes current process and takies IO resource; The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts; Search the maximum process number of described counting to export to user as the process number taking IO resource maximum in described preset time period, can be implemented as user and search in current system and take the highest process of IO resource, thus provide foundation for the system optimization of user.
Refer to Fig. 4, Fig. 4 is that the another kind of process of the disclosure according to an exemplary embodiment searches device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 3, and described device 30 can also comprise the first output module 304, acquisition module 305 and read module 306; Wherein:
Described first output module 304, is configured to the process daily record exporting each process based on the order of user's input;
Described acquisition module 305, is configured to the preset time period obtaining user's setting;
Described read module 306, is configured to the process daily record of reading each process in described preset time period from the process daily record exported.
Refer to Fig. 5, Fig. 5 is that the another kind of process of the disclosure according to an exemplary embodiment searches device block diagram, and this embodiment is on aforementioned basis embodiment illustrated in fig. 4, and described device also comprises removes module 307; Wherein:
Described removing module 307, be configured to process number is identical in described statistical module 302 is for the described process daily record retrieved journal entries carry out quantity statistics and before counting, remove the invalidation of its process daily record in the described process daily record retrieved based on preset strategy.
It should be noted that, the structure of the removing module 307 shown in device embodiment shown in above-mentioned Fig. 5 also can be included in the device embodiment of earlier figures 3, does not limit this disclosure.
Refer to Fig. 6, Fig. 6 is that the another kind of process of the disclosure according to an exemplary embodiment searches device block diagram, this embodiment is on aforementioned basis embodiment illustrated in fig. 5, and described removing module 307 can comprise traversal submodule 307A, screening submodule 307B and remove submodule 307C; Wherein:
Described traversal submodule 307A, is configured to travel through the described process daily record retrieved;
Described screening submodule 307B, is configured to screen the journal entries of carrying non-alphabetic characters in described process daily record;
Described removing submodule 307C, is configured to the journal entries of carrying non-alphabetic characters described in filtering out to remove as invalidation of its process daily record.
It should be noted that, the structure of the traversal submodule 307A shown in device embodiment shown in above-mentioned Fig. 6, screening submodule 307B and removing submodule 307C also can be included in the device embodiment of earlier figures 3-4, does not limit this disclosure.
Refer to Fig. 7, Fig. 7 is that the another kind of process of the disclosure according to an exemplary embodiment searches device block diagram, and this embodiment is on aforementioned basis embodiment illustrated in fig. 5, and described statistical module 302 can comprise sorting sub-module 302A and statistics submodule 302B; Wherein:
Described sorting sub-module 302A, is configured to sort to the described process daily record retrieved based on process number;
Described statistics submodule 302B, is configured to the journal entries that in the described process daily record after for sequence, process number is identical and carries out quantity statistics and count.
It should be noted that, the structure of the sorting sub-module 302A shown in device embodiment shown in above-mentioned Fig. 7 and statistics submodule 302B also can be included in the device embodiment of earlier figures 3-4 or 6, does not limit this disclosure.
Refer to Fig. 8, Fig. 8 is that the another kind of process of the disclosure according to an exemplary embodiment searches device block diagram, and this embodiment is on aforementioned basis embodiment illustrated in fig. 5, and described device also comprises the second output module 308; Wherein:
Described second output module 308, the process number be configured to process number maximum for described counting takies IO resource maximum in described preset time period exports to user.
It should be noted that, the structure of the second output module 308 shown in device embodiment shown in above-mentioned Fig. 8 also can be included in the device embodiment of earlier figures 3-4 or 6-7, does not limit this disclosure.
Refer to Fig. 9, Fig. 9 is that the another kind of process of the disclosure according to an exemplary embodiment searches device block diagram, and this embodiment is on aforementioned basis embodiment illustrated in fig. 5, and described device can also comprise the 3rd output module 309; Wherein:
Described 3rd output module 309, is configured to count value maximum for described counting to associate as the process number that IO resource occupation quantity is maximum with described counting export.
It should be noted that, the structure of the 3rd output module 309 shown in the device embodiment shown in above-mentioned Fig. 9 also can be included in the device embodiment of earlier figures 3-4 or 6-8, does not limit this disclosure.
In said apparatus, the implementation procedure of the function and efficacy of modules specifically refers to the implementation procedure of corresponding step in said method, does not repeat them here.
For device embodiment, because it corresponds essentially to embodiment of the method, so relevant part illustrates see the part of embodiment of the method.Device embodiment described above is only schematic, the wherein said module illustrated as separating component can or may not be physically separates, parts as module display can be or may not be physical module, namely can be positioned at a place, or also can be distributed on multiple mixed-media network modules mixed-media.Some or all of module wherein can be selected according to the actual needs to realize the object of disclosure scheme.Those of ordinary skill in the art, when not paying creative work, are namely appreciated that and implement.
Accordingly, the disclosure also provides a kind of process to search device, and described process is searched device and comprised:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Retrieve the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period; Described predetermined keyword characterizes current process and takies IO resource;
The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts;
Search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
Accordingly, the disclosure also provides a kind of terminal, described terminal includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to perform described more than one or one routine package containing the instruction for carrying out following operation by more than one or one processor:
Retrieve the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period; Described predetermined keyword characterizes current process and takies IO resource;
The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts;
Search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
Figure 10 is the structural representation that a kind of process according to an exemplary embodiment searches device.
As shown in Figure 10, a kind of process according to an exemplary embodiment searches device 1000, and this device 1000 can be computing machine, mobile phone, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Figure 10, device 1000 can comprise following one or more assembly: processing components 1001, storer 1002, power supply module 1003, multimedia groupware 1004, audio-frequency assembly 1005, the interface 1006 of I/O (I/O), sensor module 1007, and communications component 1008.
The integrated operation of the usual control device 1000 of processing components 1001, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1001 can comprise one or more processor 1009 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1001 can comprise one or more module, and what be convenient between processing components 1001 and other assembly is mutual.Such as, processing element 1001 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1004 and processing components 1001.
Storer 1002 is configured to store various types of data to be supported in the operation of device 1000.The example of these data comprises for any application program of operation on device 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1002 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 1003 is device 1000 provide electric power.Power supply module 1003 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1000 and be associated.
Multimedia groupware 1004 is included in the screen providing an output interface between described device 1000 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1004 comprises a front-facing camera and/or post-positioned pick-up head.When device 1000 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1005 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1005 comprises a microphone (MIC), and when device 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1002 further or be sent via communications component 1008.In certain embodiments, audio-frequency assembly 1005 also comprises a loudspeaker, for output audio signal.
I/O interface 1002 is for providing interface between processing components 1001 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1007 comprises one or more sensor, for providing the state estimation of various aspects for device 1000.Such as, sensor module 1007 can detect the opening/closing state of device 1000, the relative positioning of assembly, such as described assembly is display and the keypad of device 1000, the position of all right pick-up unit 1000 of sensor module 1007 or device 1000 assemblies changes, the presence or absence that user contacts with device 1000, the temperature variation of device 1000 orientation or acceleration/deceleration and device 1000.Sensor module 1007 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1007 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1007 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1008 is configured to the communication being convenient to wired or wireless mode between device 1000 and miscellaneous equipment.Device 1000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 1008 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communications component 1008 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technology realize.
In the exemplary embodiment, device 1000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electron component.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1002 of instruction, above-mentioned instruction can perform said method by the processor 1009 of device 1000.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Wherein, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform a kind of process lookup method, comprising:
Retrieve the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period; Described predetermined keyword characterizes current process and takies IO resource;
The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts;
Search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
Accordingly, the disclosure also provides a kind of process to search device, and described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Retrieve the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period; Described predetermined keyword characterizes current process and takies IO resource;
The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts;
Search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
Figure 11 is a kind of block diagram searching device 1000 for process according to an exemplary embodiment.Such as, device 1100 may be provided in a server.
With reference to Figure 11, device 1100 comprises processing components 1122, and it comprises one or more processor further, and the memory resource representated by storer 1132, can such as, by the instruction of the execution of processing element 1122, application program for storing.The application program stored in storer 1132 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1122 is configured to perform instruction, to perform the said equipment binding method.
Device 1100 can also comprise the power management that a power supply module 1126 is configured to actuating unit 1100, and a wired or wireless network interface 1150 is configured to device 1100 to be connected to network, and input and output (I/O) interface 1158.Device 1100 can operate the operating system based on being stored in storer 1132, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. a process lookup method, is characterized in that, described method comprises:
Retrieve the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period; Described predetermined keyword characterizes current process and takies IO resource;
The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts;
Search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
2. the method for claim 1, is characterized in that, before in described process daily record in preset time period, the process daily record of predetermined keyword is carried in retrieval, described method also comprises:
Order based on user's input exports the process daily record of each process;
Obtain the preset time period that user is arranged;
The process daily record of each process in described preset time period is read from the process daily record exported.
3. the method for claim 1, is characterized in that, before the journal entries that in the described described process daily record for retrieving, process number is identical carries out quantity statistics, described method also comprises:
The invalidation of its process daily record in the described process daily record retrieved is removed based on preset strategy.
4. method as claimed in claim 3, it is characterized in that, described invalidation of its process daily record of removing based on preset strategy in the described process daily record retrieved comprises:
Travel through the described process daily record retrieved;
Screen the journal entries of carrying non-alphabetic characters in described process daily record;
The journal entries of carrying non-alphabetic characters described in filtering out is removed as invalidation of its process daily record.
5. the method for claim 1, is characterized in that, the journal entries that in the described described process daily record for retrieving, process number is identical is carried out quantity statistics and comprised:
Based on process number, the described process daily record retrieved is sorted;
The journal entries identical for process number in the described process daily record after sequence is carried out quantity statistics and counts.
6. the method for claim 1, is characterized in that, described method also comprises:
The process number that process number maximum for described counting takies IO resource maximum in described preset time period is exported to user.
7. method as claimed in claim 6, it is characterized in that, described method also comprises: count value maximum for described counting associated as the process number that IO resource occupation quantity is maximum with described counting and export.
8. the method for claim 1, is characterized in that, described predetermined keyword comprises: one or more in READ, WRITE and dirtied.
9. process searches a device, it is characterized in that, described device comprises:
Retrieval module, is configured to the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period of retrieving; Described predetermined keyword characterizes current process and takies IO resource;
Statistical module, the journal entries be configured to for process number in the described process daily record retrieved is identical is carried out quantity statistics and counts;
Searching module, being configured to search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
10. device as claimed in claim 9, it is characterized in that, described device also comprises:
First output module, is configured to the process daily record exporting each process based on the order of user's input;
Acquisition module, is configured to the preset time period obtaining user's setting;
Read module, is configured to the process daily record of reading each process in described preset time period from the process daily record exported.
11. devices as claimed in claim 9, it is characterized in that, described device also comprises:
Remove module, be configured to process number is identical in described statistical module is for the described process daily record retrieved journal entries and carry out quantity statistics and before counting, remove the invalidation of its process daily record in the described process daily record retrieved based on preset strategy.
12. devices as claimed in claim 11, it is characterized in that, described removing module comprises:
Traversal submodule, is configured to travel through the described process daily record retrieved;
Screening submodule, is configured to screen the journal entries of carrying non-alphabetic characters in described process daily record;
Remove submodule, be configured to the journal entries of carrying non-alphabetic characters described in filtering out to remove as invalidation of its process daily record.
13. devices as claimed in claim 9, it is characterized in that, described statistical module comprises:
Sorting sub-module, is configured to sort to the described process daily record retrieved based on process number;
Statistics submodule, is configured to the journal entries that in the described process daily record after for sequence, process number is identical and carries out quantity statistics and count.
14. devices as claimed in claim 9, it is characterized in that, described device also comprises:
Second output module, the process number be configured to process number maximum for described counting takies IO resource maximum in described preset time period exports to user.
15. devices as claimed in claim 14, it is characterized in that, described device also comprises:
3rd output module, is configured to count value maximum for described counting to associate as the process number that IO resource occupation quantity is maximum with described counting export.
16. devices as claimed in claim 9, it is characterized in that, described predetermined keyword comprises: one or more in READ, WRITE and dirtied.
17. 1 kinds of processes search device, it is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Retrieve the process daily record of carrying predetermined keyword in the process daily record of each process in preset time period; Described predetermined keyword characterizes current process and takies IO resource;
The journal entries identical for process number in the described process daily record retrieved is carried out quantity statistics and counts;
Search the maximum process number of described counting as taking the maximum process number of IO resource in described preset time period.
CN201510819304.5A 2015-11-23 2015-11-23 Process finding method and device Pending CN105488119A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510819304.5A CN105488119A (en) 2015-11-23 2015-11-23 Process finding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510819304.5A CN105488119A (en) 2015-11-23 2015-11-23 Process finding method and device

Publications (1)

Publication Number Publication Date
CN105488119A true CN105488119A (en) 2016-04-13

Family

ID=55675094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510819304.5A Pending CN105488119A (en) 2015-11-23 2015-11-23 Process finding method and device

Country Status (1)

Country Link
CN (1) CN105488119A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832189A (en) * 2017-10-31 2018-03-23 维沃移动通信有限公司 A kind of monitoring method and mobile terminal of I/O systems
CN108304310A (en) * 2018-02-28 2018-07-20 厦门美图移动科技有限公司 A kind of log analysis method and computing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479084A (en) * 2010-11-26 2012-05-30 腾讯科技(深圳)有限公司 Method and device for acquiring log by Android terminal
US20130024466A1 (en) * 2009-12-28 2013-01-24 Sd Co., Ltd. System event logging system
CN103207827A (en) * 2013-04-19 2013-07-17 北京百度网讯科技有限公司 Method and device for detecting IO (input output) hotspots based on Linux system
CN103412793A (en) * 2013-07-29 2013-11-27 北京奇虎科技有限公司 Method, device and system for optimizing system resources

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130024466A1 (en) * 2009-12-28 2013-01-24 Sd Co., Ltd. System event logging system
CN102479084A (en) * 2010-11-26 2012-05-30 腾讯科技(深圳)有限公司 Method and device for acquiring log by Android terminal
CN103207827A (en) * 2013-04-19 2013-07-17 北京百度网讯科技有限公司 Method and device for detecting IO (input output) hotspots based on Linux system
CN103412793A (en) * 2013-07-29 2013-11-27 北京奇虎科技有限公司 Method, device and system for optimizing system resources

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
百度知道: "怎么查看linux的哪个进程占用磁盘io较多", 《HTTPS://ZHIDAO.BAIDU.COM/QUESTION/1882904486137130588.HTML》 *
运维生存时间: "LINUX下找出哪个进程造成的IO等待很高的方法(转)", 《HTTP://WWW.TTLSA.COM/LINUX/LINUX-HIGH-WAIT-IO/》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832189A (en) * 2017-10-31 2018-03-23 维沃移动通信有限公司 A kind of monitoring method and mobile terminal of I/O systems
CN107832189B (en) * 2017-10-31 2020-09-01 维沃移动通信有限公司 Monitoring method of I/O system and mobile terminal
CN108304310A (en) * 2018-02-28 2018-07-20 厦门美图移动科技有限公司 A kind of log analysis method and computing device
CN108304310B (en) * 2018-02-28 2021-04-16 厦门美图移动科技有限公司 Log analysis method and computing device

Similar Documents

Publication Publication Date Title
CN105718148A (en) Display method and device for application icons and equipment
CN104572942A (en) Push message display method and push message display device
CN104615769A (en) Image classification method and device
CN105225096A (en) The disposal route of reminder announced message, device and terminal
CN105488112A (en) Information pushing method and device
CN105100366A (en) Method, device and system for confirming harassment telephone number
CN104793846A (en) Displaying method and device for interface of application program
CN105224462A (en) The recognition methods of control element and device
CN104933170A (en) Information exhibition method and device
CN105930247A (en) Method, device and mobile terminal for processing problem of system restart
CN106202223A (en) Content collection method, device and for collecting the device of content in application program
CN104932712A (en) Text input method and device
CN110688527A (en) Video recommendation method and device, storage medium and electronic equipment
CN105843853A (en) Clearing method and apparatus for intelligent device
CN105159524A (en) Interface display method and apparatus
CN104216971A (en) Method and device for indexing applications
CN105447109A (en) Key word searching method and apparatus
CN104331503A (en) Information push method and device
CN104391878A (en) Book search method and book search device
CN104735243A (en) Method and device for displaying contact list
CN106126272A (en) File system discharging method and device
CN104636164A (en) Generating method and device for starting page
CN104615663A (en) File sorting method and device and terminal
CN104376075A (en) Data storage method and device
CN105205153A (en) File storage method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160413