CN105404567A - Method for automatically controlling aging time of server in Linux system - Google Patents
Method for automatically controlling aging time of server in Linux system Download PDFInfo
- Publication number
- CN105404567A CN105404567A CN201510725772.6A CN201510725772A CN105404567A CN 105404567 A CN105404567 A CN 105404567A CN 201510725772 A CN201510725772 A CN 201510725772A CN 105404567 A CN105404567 A CN 105404567A
- Authority
- CN
- China
- Prior art keywords
- pressure test
- time
- server
- test
- sequence 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000032683 aging Effects 0.000 title abstract description 8
- 238000012360 testing method Methods 0.000 claims abstract description 70
- 230000029087 digestion Effects 0.000 claims description 19
- 238000009434 installation Methods 0.000 claims description 4
- 238000010998 test method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000035882 stress Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a method for automatically controlling the aging time of a server in a Linux system, which belongs to the technical field of automatic test of server production, wherein a Linux operating system is installed on the server to establish an environment required by software operation; starting a server to enter a Linux operating system, and automatically running a pressure test program; firstly, setting variables of default pressure test time by a pressure test program, wherein the variables comprise CPU (central processing unit), memory pressure test time and hard disk pressure test time variables; secondly, acquiring a machine serial number, searching a corresponding order number through the serial number, and searching whether the corresponding order has a corresponding pressure test time requirement; and thirdly, searching whether the pressure test time of the specified serial number exists or not, finally carrying out pressure test according to the search result, and automatically uploading the test result after the test is finished. The aging pressure testing time is set through the webpage, and the method is simple and convenient.
Description
Technical field
The present invention relates to server production automation measuring technology, a kind of method of automatic Control Server digestion time under particularly relating to linux system.Use a kind of test macro and program, by peripheral webpage setup times, carry out the pressure test time test of different product, different order, different sequence number.
Background technology
In server production run, need to carry out the pressure test of analog subscriber environment for use to server, reliably requirement stable when client uses with Deterministic service device.
Under existing linux system, the method for Control Server digestion time is: the set pressure test duration in program, needs to change during different digestion times, use different pressure test programs.The method is for the server stress test needing multiple different digestion time, and complex operation, needs to remember each pressure test program and corresponding time, not easy to operate, and easily occurs mistake.
Summary of the invention
Technical assignment of the present invention be to provide a kind of easy-operating, can according to order, sequence number setting different pressures test time, the method for automatic Control Server digestion time under a kind of linux system of raising efficiency.
This method designs a kind of automatic program identification, controls user according to order number or the method for sequence number set pressure test duration.The priority level of procedure identification is followed successively by from high to low: sequence number, order number, general-purpose machinery.If pressure test program tests end at the appointed time, then automatic cycle carries out reaching the test stipulated time.Program is collected in all pressure testing results upload server databases and is preserved.
Technical scheme of the present invention is
Under linux system, a method for automatic Control Server digestion time, comprises the steps:
(1), on the server (SuSE) Linux OS is installed, builds the environment needed for running software;
(2), automatic operating pressure test procedure after linux system installation;
(3), the acquiescence pressure test time is set, comprises CPU, memory pressure test duration and hard disk pressure test time
(4), obtain the sequence number of test machine, searched the order number of machine by sequence number;
(5), search by order number the setting whether this order exists the particular pressure test duration;
(6), search by sequence number the setting whether this sequence number exists the particular pressure test duration;
(7), according to the result that finds carry out pressure test, its pressure test time requirement order is: sequence number requires to be the first priority, is secondly order requirements, as without particular/special requirement, carries out pressure time test according to default value;
(8), after pressure test terminates, in the database uploaded onto the server after test data can being calculated, record is carried out.
Wherein step (2), pressure test program is automatic operation, does not need human intervention, is a kind of automated testing method.
About step (5), (6), (7), the method is one kind of multiple control modes and deposits, and can carry out the method for different pressures time test according to real needs.
About (8), test terminates automatically to upload test result afterwards.
The invention has the beneficial effects as follows:
(1), the digestion time of different order, sequence number can be set by a program, do not need again by amendment, select burn-in test program, greatly reduce the complexity of operation;
(2), can as required by webpage setting different machines the aging pressure test time, time setting customizes more, and applicability is stronger;
(3), by webpage the aging pressure test time is set, simple and easy, convenient.
Accompanying drawing explanation
Fig. 1 is process flow diagram of the present invention;
Fig. 2 arranges digestion time webpage schematic diagram by order;
Fig. 3 arranges digestion time webpage schematic diagram by sequence number.
Embodiment
With reference to Figure of description and specific embodiment, Control Server digestion time method automatic under of the present invention kind of linux system is described in detail below.
Embodiment 1:
Order is certain key customer's order, and carry out special aging pressure test time management by order, set pressure test duration total duration is 20 hours, wherein CPU, memory pressure test duration 18 hours, hard disk pressure test time 2 h.
Step is as follows:
(1), on the server (SuSE) Linux OS is installed, builds the environment needed for running software;
(2), automatic operating pressure test procedure after linux system installation;
(3), obtain the sequence number of test machine, searched the order number of machine by sequence number;
(4), search by order number the setting whether this order exists the particular pressure test duration;
(5), the special digestion time of this order requirements is inquired about, setting program digestion time variable;
(6), by sequence number search the setting whether this sequence number exists the particular pressure test duration, checking sequence number does not have special digestion time requirement;
(7), circulating pressure test is carried out according to the order requirements time;
(8) aging pressure testing results, is uploaded in server database.
Embodiment 2:
Certain sequence number machine has fault, repeatedly after maintenance, and failture evacuation.For after the shipment of guarantee machine, fault no longer reappears, the pressure test time is increased to this machine, tests total duration 48 hours, wherein CPU, memory pressure test duration 40 hours, 8 hours hard disk pressure test time.
Step is as follows:
(1), on the server (SuSE) Linux OS is installed, builds the environment needed for running software;
(2), automatic operating pressure test procedure after linux system installation;
(3), obtain the sequence number of test machine, searched the order number of machine by sequence number;
(4), search by order number the setting whether this order exists the particular pressure test duration;
(5), search by sequence number the setting whether this sequence number exists the particular pressure test duration;
(6), this sequence number requires special digestion time, arranges digestion time variable;
(7), circulating pressure test is carried out according to the order requirements time;
(8) aging pressure testing results, is uploaded in server database.
By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to 2 kinds of above-mentioned embodiments.On the basis of disclosed embodiment, described those skilled in the art can the different technical characteristic of combination in any, thus realizes different technical schemes.
Claims (3)
1. the method for automatic Control Server digestion time under linux system, is characterized in that comprising the steps:
(1), on the server (SuSE) Linux OS is installed, builds the environment needed for running software;
(2), automatic operating pressure test procedure after linux system installation;
(3), the acquiescence pressure test time is set;
(4), obtain the sequence number of test machine, searched the order number of machine by sequence number;
(5), search by order number the setting whether this order exists the particular pressure test duration;
(6), search by sequence number the setting whether this sequence number exists the particular pressure test duration;
(7), according to the result that finds carry out pressure test, its pressure test time requirement order is: sequence number requires to be the first priority, is secondly order requirements, as without particular/special requirement, carries out pressure time test according to default value;
(8), after pressure test terminates, in the database uploaded onto the server after test data is calculated, record is carried out.
2. the method for automatic Control Server digestion time under a kind of linux system according to claim 1, is characterized in that, arranges the acquiescence pressure test time, comprises CPU, memory pressure test duration and hard disk pressure test time.
3. the method for automatic Control Server digestion time under a kind of linux system according to claim 1, is characterized in that, test terminates automatically to upload test result afterwards.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510725772.6A CN105404567A (en) | 2015-10-30 | 2015-10-30 | Method for automatically controlling aging time of server in Linux system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510725772.6A CN105404567A (en) | 2015-10-30 | 2015-10-30 | Method for automatically controlling aging time of server in Linux system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105404567A true CN105404567A (en) | 2016-03-16 |
Family
ID=55470065
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510725772.6A Pending CN105404567A (en) | 2015-10-30 | 2015-10-30 | Method for automatically controlling aging time of server in Linux system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105404567A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055444A (en) * | 2016-06-07 | 2016-10-26 | 浪潮电子信息产业股份有限公司 | Memory test method in aging test |
CN107103426A (en) * | 2017-04-26 | 2017-08-29 | 郑州云海信息技术有限公司 | Batch deletes the method and device of sequence number and multiple order number binding relationships |
CN108280003A (en) * | 2018-01-19 | 2018-07-13 | 郑州云海信息技术有限公司 | A kind of method and system of automatic Boot Server batch testing |
CN113075487A (en) * | 2021-03-31 | 2021-07-06 | 读书郎教育科技有限公司 | Method for controlling aging test duration in factory |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063354A (en) * | 2009-11-18 | 2011-05-18 | 英业达股份有限公司 | Pressure test method of server |
CN102497293A (en) * | 2011-12-08 | 2012-06-13 | 曙光信息产业(北京)有限公司 | Hardware test analysis method of large-scale server |
US20130083572A1 (en) * | 2011-09-29 | 2013-04-04 | Power Integrations, Inc. | Protection for inadvertent missing feedback voltage signal |
CN104850495A (en) * | 2015-05-14 | 2015-08-19 | 曙光信息产业(北京)有限公司 | Automatic detection method and device |
-
2015
- 2015-10-30 CN CN201510725772.6A patent/CN105404567A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102063354A (en) * | 2009-11-18 | 2011-05-18 | 英业达股份有限公司 | Pressure test method of server |
US20130083572A1 (en) * | 2011-09-29 | 2013-04-04 | Power Integrations, Inc. | Protection for inadvertent missing feedback voltage signal |
CN102497293A (en) * | 2011-12-08 | 2012-06-13 | 曙光信息产业(北京)有限公司 | Hardware test analysis method of large-scale server |
CN104850495A (en) * | 2015-05-14 | 2015-08-19 | 曙光信息产业(北京)有限公司 | Automatic detection method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106055444A (en) * | 2016-06-07 | 2016-10-26 | 浪潮电子信息产业股份有限公司 | Memory test method in aging test |
CN107103426A (en) * | 2017-04-26 | 2017-08-29 | 郑州云海信息技术有限公司 | Batch deletes the method and device of sequence number and multiple order number binding relationships |
CN108280003A (en) * | 2018-01-19 | 2018-07-13 | 郑州云海信息技术有限公司 | A kind of method and system of automatic Boot Server batch testing |
CN113075487A (en) * | 2021-03-31 | 2021-07-06 | 读书郎教育科技有限公司 | Method for controlling aging test duration in factory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107480066B (en) | Code coverage rate statistical method, device, storage medium, processor and terminal | |
CN105404567A (en) | Method for automatically controlling aging time of server in Linux system | |
CN110058998B (en) | Software testing method and device | |
JP6955309B2 (en) | Methods and equipment for defining stages for multivariate batch control analysis, manufactured articles | |
US20180031587A1 (en) | Diagnostic Device and Method for Monitoring Operation of a Technical System | |
CN102497293A (en) | Hardware test analysis method of large-scale server | |
CN104007348A (en) | Automated testing system and method thereof | |
US20120303144A1 (en) | Method and device for the uniform naming of identical parameters of different field devices of an automation system | |
CN110673515A (en) | Monitoring of industrial facilities | |
US9733628B2 (en) | System and method for advanced process control | |
CN108093275B (en) | Data processing method and device | |
CN112446389A (en) | Fault judgment method and device | |
CN112668727A (en) | Method and device for detecting equipment fault | |
CN110297749B (en) | Method and terminal for testing new function | |
US20220291674A1 (en) | Method and Device for Efficent Fault Analysis Through Simulated Faults in a Digital Twin | |
CN107102938B (en) | Test script updating method and device | |
CN105058731A (en) | Management system for injection press molding problems | |
US9274515B2 (en) | Systems and methods for recording data associated with the operation of foundation fieldbus devices | |
CN116359658A (en) | Power equipment abnormality judgment method and device, electronic equipment and storage medium | |
CN112559313A (en) | Test case setting method and device, storage medium and electronic equipment | |
CN115741708A (en) | Method and device for determining manipulator state and storage medium | |
CN115963766A (en) | Method and system for rapidly switching multiple partial discharge sensors and storage medium | |
CN110688296A (en) | Automatic testing method for computerized rule configuration | |
CN109541426B (en) | Method for automatically reading parameters by tester in wafer test | |
KR20220079167A (en) | Power consumption pattern analysis device and operating method for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160316 |
|
WD01 | Invention patent application deemed withdrawn after publication |