CN107678916A - A kind of analysis and diagnosis method and system based on CPU register informations - Google Patents

A kind of analysis and diagnosis method and system based on CPU register informations Download PDF

Info

Publication number
CN107678916A
CN107678916A CN201710846772.0A CN201710846772A CN107678916A CN 107678916 A CN107678916 A CN 107678916A CN 201710846772 A CN201710846772 A CN 201710846772A CN 107678916 A CN107678916 A CN 107678916A
Authority
CN
China
Prior art keywords
cpu
analysis
register informations
informations
cpu register
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
CN201710846772.0A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710846772.0A priority Critical patent/CN107678916A/en
Publication of CN107678916A publication Critical patent/CN107678916A/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/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3024Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a central processing unit [CPU]
    • 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

Abstract

The present invention provides a kind of analysis and diagnosis method based on CPU register informations, belong to computer glitch technical field, think to analyze the problem of daily record is wasted time and energy when breaking down for settlement server CPU, this method is by gathering and analyzing CPU register informations, carry out the positioning of determining server cpu fault, diagnosis scheme is finally provided according to the problem of positioning, the specific implementation process of this method includes:1)CPU whole register informations are gathered, are saved in specified file;2)Cpu fault rule is extract according to IA64 processor handbooks;3)CPU register informations are analyzed, according to cpu fault rule process register information, it is determined that final diagnosis scheme, the analysis failure of help user's real-time.The present invention also provides a kind of analysis and diagnosis system based on CPU register informations, it is combined with the above method, again by collection and analysis CPU register informations so that user can be analyzed and processed with real-time to cpu fault information, finally provide diagnosis scheme.

Description

A kind of analysis and diagnosis method and system based on CPU register informations
Technical field
The present invention relates to computer glitch technical field, specifically a kind of analysis based on CPU register informations is examined Disconnected method and system.
Background technology
With the high speed development of internet, daily life, work and study all be unable to do without computer.But common meter Calculation machine can not meet the needs of enterprise customer, and almost each enterprise can use server process business, and server is being located Reason ability, stability, reliability, security, scalability etc. have obvious advantage.But server breaks down can be straight Connecing influences the business of user, and CPU processor is critically important as core component in computer.
Generally, when server CPU breaks down, it is necessary to artificial goes to be analyzed by daily record, corresponding failure is found Daily record, and then solve the failure problems occurred.This method has the drawback that:Artificial analysis daily record is wasted time and energy, and is easily lost Leak information.
The content of the invention
The technical assignment of the present invention is that solve the deficiencies in the prior art, thinks to analyze when breaking down for server CPU A kind of the shortcomings that daily record is wasted time and energy, there is provided analysis and diagnosis method based on CPU register informations.
The technical scheme is that realize in the following manner:
A kind of analysis and diagnosis method based on CPU register informations, this method are come by gathering and analyzing CPU register informations The positioning of determining server cpu fault, diagnosis scheme is finally provided according to the problem of positioning.
The specific implementation process of involved analysis and diagnosis method includes:
1)CPU whole register informations are gathered, are saved in specified file;
2)Cpu fault rule is extract according to IA64 processor handbooks;
3)CPU register informations are analyzed, according to cpu fault rule process register information, it is determined that final diagnosis side Case, help the analysis failure of user's real-time.
Steps involved 1)Concrete operations content be:
BMC is linked using server K1-910 BMC IP address and username and password by SSH instruments, calls and performs and post Storage order k2_csr_access, to obtain register information, the register information of acquisition is then saved in local file In.
Steps involved 2)In, cpu fault rule includes:
Machine models, trouble unit, daily record rank, keyword, log path.
Steps involved 3)Concrete operations be:
Read CPU register informations and cpu fault rule, according to cpu fault rule match CPU register informations, if matching into Work(, you can record the result of fault location.
With reference to above-mentioned analysis and diagnosis method, the present invention also provides a kind of analysis and diagnosis system based on CPU register informations, wraps Include:
Acquisition module, for gathering CPU register informations;
Extraction module, for extracting cpu fault rule according to IA64 processors handbook;
Analyzing and diagnosing module, analyzed for analyzing the CPU register informations of collection, and according to the cpu fault rule process of extraction CPU register informations afterwards, it is determined that final diagnosis scheme.
Involved acquisition module is used to gather the concrete operations contents of CPU register informations:
BMC is linked using server K1-910 BMC IP address and username and password by SSH instruments, calls and performs and post Storage order k2_csr_access, to obtain register information, the register information of acquisition is then saved in local file In.
Involved cpu fault rule includes:
Machine models, trouble unit, daily record rank, keyword, log path.
The concrete operations of involved analyzing and diagnosing module are:
Read CPU register informations and cpu fault rule, according to cpu fault rule match CPU register informations, if matching into Work(, you can record the result of fault location.
A kind of analysis and diagnosis method and system based on CPU register informations of the present invention are caused compared with prior art to be had Beneficial effect is:
The present invention is by gathering and analyzing CPU register informations so that user can be divided cpu fault information with real-time Analysis is handled, and finally provides diagnosis scheme according to the problem of positioning.
Brief description of the drawings
Accompanying drawing 1 is flow chart of the method for the present invention;
Accompanying drawing 2 is the operational flowchart of step S10 described in the inventive method;
Accompanying drawing 3 is the operational flowchart of step S30 described in the inventive method;
Accompanying drawing 4 is the frame structure connection figure of present system.
Mark in accompanying drawing 4 represents respectively:
1st, acquisition module, 2, extraction module, 3, analyzing and diagnosing module.
Embodiment
Below in conjunction with the accompanying drawings, a kind of analysis and diagnosis method and system based on CPU register informations of the present invention are made with Lower detailed description.
Embodiment one:
A kind of analysis and diagnosis method based on CPU register informations of the present invention, this method is by gathering and analyzing CPU registers Information, carry out the positioning of determining server cpu fault, diagnosis scheme is finally provided according to the problem of positioning.
As shown in Figure 1, the specific implementation process of involved analysis and diagnosis method includes:
S10:CPU whole register informations are gathered, are saved in specified file;
S20:Cpu fault rule is extract according to IA64 processor handbooks;
S30:CPU register informations are analyzed, according to cpu fault rule process register information, it is determined that final diagnosis Scheme, help the analysis failure of user's real-time.
By taking server K1-910 as an example, as shown in Figure 2, steps involved S10 concrete operations content is:
BMC is linked using server K1-910 BMC IP address and username and password by SSH instruments, calls and performs and post Storage order k2_csr_access, to obtain register information, the register information of acquisition is then saved in local file In.
In steps involved S20, cpu fault rule includes:
Machine models, trouble unit, daily record rank, keyword, log path.
As shown in Figure 3, steps involved S30 concrete operations are:
Read CPU register informations and cpu fault rule, according to cpu fault rule match CPU register informations, if matching into Work(, you can record the result of fault location.
The analysis and diagnosis method of the present invention is by gathering and analyzing CPU register informations so that user can be with real-time Cpu fault information is analyzed and processed, diagnosis scheme is finally provided according to the problem of positioning.
Embodiment two:
Refer to the attached drawing 4, with reference to above-mentioned analysis and diagnosis method, the present invention also provides a kind of analysis based on CPU register informations and examined Disconnected system, including:
Acquisition module 1, for gathering CPU register informations;
Extraction module 2, for extracting cpu fault rule according to IA64 processors handbook;
Analyzing and diagnosing module 3, analyzed for analyzing the CPU register informations of collection, and according to the cpu fault rule process of extraction CPU register informations afterwards, it is determined that final diagnosis scheme.
Involved acquisition module 1 is used to gather the concrete operations contents of CPU register informations:
Refer to the attached drawing 2, BMC is linked using server K1-910 BMC IP address and username and password by SSH instruments, adjusted With and perform register command k2_csr_access, to obtain register information, then the register information of acquisition is saved in In local file.
Involved cpu fault rule includes:
Machine models, trouble unit, daily record rank, keyword, log path.
Refer to the attached drawing 3, the concrete operations of involved analyzing and diagnosing module 3 are:
Read CPU register informations and cpu fault rule, according to cpu fault rule match CPU register informations, if matching into Work(, you can record the result of fault location.
The analysis and diagnosis system of the present invention is by gathering and analyzing CPU register informations so that user can be with real-time Cpu fault information is analyzed and processed, diagnosis scheme is finally provided according to the problem of positioning.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (9)

1. a kind of analysis and diagnosis method based on CPU register informations, it is characterised in that this method is by gathering and analyzing CPU Register information, carry out the positioning of determining server cpu fault, diagnosis scheme is finally provided according to the problem of positioning.
2. a kind of analysis and diagnosis method based on CPU register informations according to claim 1, it is characterised in that described The specific implementation process of method includes:
1)CPU whole register informations are gathered, are saved in specified file;
2)Cpu fault rule is extract according to IA64 processor handbooks;
3)CPU register informations are analyzed, according to cpu fault rule process register information, it is determined that final diagnosis side Case, help the analysis failure of user's real-time.
3. a kind of analysis and diagnosis method based on CPU register informations according to claim 2, it is characterised in that described Step 1)Concrete operations content be:
BMC is linked using server K1-910 BMC IP address and username and password by SSH instruments, calls and performs and post Storage order k2_csr_access, to obtain register information, the register information of acquisition is then saved in local file In.
4. a kind of analysis and diagnosis method based on CPU register informations according to claim 3, it is characterised in that described Step 2)In, the cpu fault rule includes:
Machine models, trouble unit, daily record rank, keyword, log path.
5. a kind of analysis and diagnosis method based on CPU register informations according to claim 3, it is characterised in that described Step 3)Concrete operations be:
Read CPU register informations and cpu fault rule, according to cpu fault rule match CPU register informations, if matching into Work(, you can record the result of fault location.
A kind of 6. analysis and diagnosis system based on CPU register informations, it is characterised in that including:
Acquisition module, for gathering CPU register informations;
Extraction module, for extracting cpu fault rule according to IA64 processors handbook;
Analyzing and diagnosing module, analyzed for analyzing the CPU register informations of collection, and according to the cpu fault rule process of extraction CPU register informations afterwards, it is determined that final diagnosis scheme.
7. a kind of analysis and diagnosis system based on CPU register informations according to claim 6, it is characterised in that described Acquisition module is used to gather the concrete operations contents of CPU register informations:
BMC is linked using server K1-910 BMC IP address and username and password by SSH instruments, calls and performs and post Storage order k2_csr_access, to obtain register information, the register information of acquisition is then saved in local file In.
8. a kind of analysis and diagnosis system based on CPU register informations according to claim 6, it is characterised in that described Cpu fault rule includes:
Machine models, trouble unit, daily record rank, keyword, log path.
9. a kind of analysis and diagnosis system based on CPU register informations according to claim 6, it is characterised in that described The concrete operations of analyzing and diagnosing module are:
Read CPU register informations and cpu fault rule, according to cpu fault rule match CPU register informations, if matching into Work(, you can record the result of fault location.
CN201710846772.0A 2017-09-19 2017-09-19 A kind of analysis and diagnosis method and system based on CPU register informations Pending CN107678916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710846772.0A CN107678916A (en) 2017-09-19 2017-09-19 A kind of analysis and diagnosis method and system based on CPU register informations

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710846772.0A CN107678916A (en) 2017-09-19 2017-09-19 A kind of analysis and diagnosis method and system based on CPU register informations

Publications (1)

Publication Number Publication Date
CN107678916A true CN107678916A (en) 2018-02-09

Family

ID=61135829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710846772.0A Pending CN107678916A (en) 2017-09-19 2017-09-19 A kind of analysis and diagnosis method and system based on CPU register informations

Country Status (1)

Country Link
CN (1) CN107678916A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920314A (en) * 2018-06-26 2018-11-30 郑州云海信息技术有限公司 A kind of faulty hardware localization method, device, system and readable storage medium storing program for executing
CN111625382A (en) * 2020-05-21 2020-09-04 浪潮电子信息产业股份有限公司 Server fault diagnosis method, device, equipment and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920314A (en) * 2018-06-26 2018-11-30 郑州云海信息技术有限公司 A kind of faulty hardware localization method, device, system and readable storage medium storing program for executing
CN111625382A (en) * 2020-05-21 2020-09-04 浪潮电子信息产业股份有限公司 Server fault diagnosis method, device, equipment and medium
CN111625382B (en) * 2020-05-21 2022-06-10 浪潮电子信息产业股份有限公司 Server fault diagnosis method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN109328335B (en) Intelligent configuration discovery techniques
US7500150B2 (en) Determining the level of availability of a computing resource
US7747986B2 (en) Generating static performance modeling factors in a deployed system
US20130132933A1 (en) Automated compliance testing during application development
US9442817B2 (en) Diagnosis of application server performance problems via thread level pattern analysis
CN107632920A (en) A kind of power transmission and transforming equipment monitoring device deep monitored method
CN104462606B (en) A kind of method that diagnostic process measure is determined based on daily record data
US10380001B2 (en) Pattern oriented data collection and analysis
CN108563526A (en) A kind of iOS interim cards monitoring strategies
CN104104734A (en) Log analysis method and device
US20170177463A1 (en) Data flow analysis in processor trace logs using compiler-type information method and apparatus
CN109240917A (en) A kind of blog management method and relevant apparatus
CN107870850A (en) A kind of efficient the Internet, applications log system
CN107678916A (en) A kind of analysis and diagnosis method and system based on CPU register informations
US10241957B2 (en) Workload patterns for realistic load recreation in performance testing
CN111130877B (en) NLP-based weblog processing system and method
CN110351131B (en) Monitoring method and device for distributed link and electronic equipment
CN107665260A (en) A kind of log collection instrument based on Linux system
CN113282854A (en) Data request response method and device, electronic equipment and storage medium
US20180373612A1 (en) Adaptive application performance analysis
CN112187509A (en) Multi-architecture cloud platform execution log management method, system, terminal and storage medium
Zhang et al. Genlog: Accurate log template discovery for stripped x86 binaries
CN103186551B (en) Exception analysis method and analogue system based on web application platform
CN109062797B (en) Method and device for generating information
US11397574B2 (en) Changes in source code

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180209

RJ01 Rejection of invention patent application after publication