CN109324938A - A kind of method of batch detection RAM information - Google Patents
A kind of method of batch detection RAM information Download PDFInfo
- Publication number
- CN109324938A CN109324938A CN201811166209.XA CN201811166209A CN109324938A CN 109324938 A CN109324938 A CN 109324938A CN 201811166209 A CN201811166209 A CN 201811166209A CN 109324938 A CN109324938 A CN 109324938A
- Authority
- CN
- China
- Prior art keywords
- server
- ram
- load
- ram information
- information
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording 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/3409—Recording 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 for performance assessment
- G06F11/3433—Recording 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 for performance assessment for load management
-
- 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 present invention provides a kind of method of batch detection RAM information, includes the following steps: the RAM information for collecting configuration, as benchmark baseline, and be placed on server server end;The server of production is connected into network and leads into server without disk ring border;Operation RAM detects script on entering server of the server without disk ring border, generates the log file about RAM information;The log file of generation and benchmark baseline are checked, checks and passes through if RAM information is identical, check and do not pass through if RAM information difference.This method batch checks that the information of memory RAM finishes RAM information one-time inspection instead of the mode manually checked one by one, and prints the memory information of needs, saves manpower and time, promotes testing efficiency.
Description
Technical field
The present invention relates to a kind of server hardware detection field, especially a kind of method of batch detection RAM information.
Background technique
In the prior art, well known technology is that server hardware is tested, it is often necessary to be checked to RAM essential information
It checks, factory needs to check the information such as model, capacity, position, manufacturer, the frequency of memory before bringing out goods, due to factory shipment machine
Device quantity is larger, and up to a hundred easily, if all using artificial detection, heavy workload, and speed is slow, is not able to satisfy production
It needs, therefore needs a kind of method and working method that can check memory RAM in batches, to replace manually checking the side of verification one by one
Formula.This is existing deficiencies in the technology.
Summary of the invention
The purpose of the present invention is to deficiencies of the prior art, and provide a kind of batch detection RAM information
Method, this method batch checks the information of memory RAM, instead of the mode manually checked one by one, RAM information one-time inspection is complete
Finish, and print the memory information of needs, save manpower and time, promotes testing efficiency.
This programme is achieved by the following technical measures: a kind of method of batch detection RAM information, it is characterized in that packet
It includes following steps: 1) collecting the RAM information of configuration, as benchmark baseline, and be placed on server server end;It 2) will production
Server be connected into network and lead into server without disk ring border;3) it is run on entering server of the server without disk ring border
RAM detects script, generates the log file about RAM information;4) log file and benchmark about RAM information will be generated
Baseline verification, checks if RAM information is identical and passes through, check and do not pass through if RAM information difference.It collects first
RAM information as benchmark, and is stored in server server end, for the benchmark as a comparison in the server of detection production;
The server of production is led into server without disk ring border, is convenient for detecting.If RAM information is identical, check logical
It crosses, and sends pass notice to server server end.If RAM information is different, checks and do not pass through, and is serviced to server
Device end sends fail notice.
When the RAM information being collected into is placed on server server end, server server includes load-balanced server
With multiple load subregions, load-balanced server records the storage state in each load subregion;Load-balanced server receives
To information storage request, the load stored is determined from the load partition group connecting with the load-balanced server group
Subregion stores the RAM information being collected into.When determining the load subregion stored, load-balanced server judgement
Whether storage state is more than threshold value in all load subregions, if only one is less than threshold value, will be directly collected into
RAM information is stored in this load subregion and then chooses the least load subregion of amount of storage if there is multiple being less than threshold value and deposited
Storage, if load subregion is more than threshold value, the load subregion for choosing amount of storage closest to threshold value is stored.It can fill in this way
Divide the space using server server, ensure that the validity of storage RAM information.
It is the edit script meminfo under root user that RAM, which detects script, is collected for memory information.Run RAM detection
Script is that script is written in .bashrc.Since root user is unique super keepe in system, it, which has, is equal to behaviour
Make the permission of system, therefore RAM detection script can just be run when into no disk ring border, for detecting memory information.
In the step 3), the RAM detection script being mounted on the server of production automatically configures the clothes of the production
Business device starts when entering server without disk ring border;When the server of the production enters no disk ring border, script startup is detected,
And starting notification message is sent to server server end;Detection script carries out RAM after connecing the confirmation message of server server-side
Infomation detection.This ensure that the case where going on smoothly, avoid server server end that from can not accurately receiving information of detection.
It can be seen that compared with prior art, the present invention implementing with substantive distinguishing features outstanding and significant progress
Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is the flow chart of the specific embodiment of the invention.
Specific embodiment
In order to clarify the technical characteristics of the invention, below by a specific embodiment, and its attached drawing is combined, it is right
This programme is illustrated.
By attached drawing as can be seen that the method for the batch detection RAM information of this programme, 1) the RAM information for collecting configuration, makees
For benchmark baseline, and it is placed on server server end;2) server of production is connected into network and leads into server
Without disk ring border;3) operation RAM detects script on entering server of the server without disk ring border, generates the log about RAM information
File;4) the log file of generation and benchmark baseline are checked, checks and passes through if RAM information is identical, and to server
Server end sends pass notice, checks and does not pass through if RAM information difference, and sends fail to server server end and lead to
Know.
When the RAM information being collected into being placed on server server end in step 1), server server includes that load is equal
Weigh server and multiple load subregions, and load-balanced server records the storage state in each load subregion;Load balancing clothes
Business device receives information storage request, determines to be deposited from the load partition group connecting with the load-balanced server group
The load subregion of storage stores the RAM information being collected into.When determining the load subregion stored, load balancing clothes
Business device judges whether storage state is more than threshold value in all load subregions, if only one is less than threshold value, directly will
The RAM information being collected into is stored in this load subregion, if there is multiple being less than threshold value, then chooses the least load point of amount of storage
Area is stored, if load subregion is more than threshold value, the load subregion for choosing amount of storage closest to threshold value is stored.
It is the edit script meminfo under root user that RAM, which detects script, is collected for memory information;Run RAM detection
Script is that script is written in .bashrc.
In the step 3), the RAM detection script being mounted on the server of production automatically configures the clothes of the production
Business device starts when entering server without disk ring border;When the server of the production enters no disk ring border, script startup is detected,
And starting notification message is sent to server server end;Detection script carries out RAM after connecing the confirmation message of server server-side
Infomation detection.
The present invention is not limited in above-mentioned specific embodiment, and those of ordinary skill in the art are in essential scope of the invention
The variations, modifications, additions or substitutions inside made, also should belong to protection scope of the present invention.
Claims (8)
1. a kind of method of batch detection RAM information, it is characterized in that including the following steps:
1) the RAM information for collecting configuration, as benchmark baseline, and is placed on server server end;
2) server of production is connected into network and leads into server without disk ring border;
3) operation RAM detects script on entering server of the server without disk ring border, generates the log file about RAM information;
4) the log file of generation and benchmark baseline are checked, checks and pass through if RAM information is identical, if RAM information
It is different then check and do not pass through.
2. the method for batch detection RAM information according to claim 1, it is characterized in that: the RAM information being collected into is placed on
When server server end, server server includes load-balanced server and multiple load subregions, load-balanced server
Record the storage state in each load subregion;Load-balanced server receives information storage request, loads from described
The load subregion stored is determined in the load partition group of weighing apparatus server group connection, and the RAM information being collected into is deposited
Storage.
3. the method for batch detection RAM information according to claim 2, it is characterized in that: determining the load stored
When subregion, load-balanced server judges whether storage state is more than threshold value in all load subregions, if only one does not surpass
Threshold value is crossed, then the RAM information being collected into directly is stored in this load subregion and is then chosen if there is multiple being less than threshold value
The least load subregion of amount of storage is stored, if load subregion is more than threshold value, chooses amount of storage closest to threshold value
Load subregion is stored.
4. the method for batch detection RAM information according to claim 1, it is characterized in that: RAM detection script is used in root
Edit script meminfo under family is collected for memory information.
5. the method for batch detection RAM information according to claim 1 or 4, it is characterized in that: operation RAM detection script is
Script is written in .bashrc.
6. the method for batch detection RAM information according to claim 1, it is characterized in that: being mounted in the step 3)
RAM on the server of production detects script, and the server for automatically configuring the production is opened when entering server without disk ring border
It is dynamic;When the server of the production enters no disk ring border, script startup is detected, and send starting to server server end and lead to
Know message;Detection script carries out RAM infomation detection after connecing the confirmation message of server server-side.
7. the method for batch detection RAM information according to claim 1, it is characterized in that: if RAM information phase in step 4)
Together, then it checks and passes through, and send pass notice to server server end.
8. the method for batch detection RAM information according to claim 1 or claim 7, it is characterized in that: if RAM believes in step 4)
Breath is different, then checks and do not pass through, and sends fail notice to server server end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811166209.XA CN109324938A (en) | 2018-10-08 | 2018-10-08 | A kind of method of batch detection RAM information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811166209.XA CN109324938A (en) | 2018-10-08 | 2018-10-08 | A kind of method of batch detection RAM information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109324938A true CN109324938A (en) | 2019-02-12 |
Family
ID=65266751
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811166209.XA Pending CN109324938A (en) | 2018-10-08 | 2018-10-08 | A kind of method of batch detection RAM information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109324938A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988480A (en) * | 2021-02-09 | 2021-06-18 | 山东英信计算机技术有限公司 | Server memory model verification system and method based on cloud platform and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10239397A (en) * | 1997-02-27 | 1998-09-11 | Ando Electric Co Ltd | Ic testing device |
US20050094450A1 (en) * | 2003-11-04 | 2005-05-05 | Fujitsu Limited | Semiconductor device and testing apparatus for semiconductor device |
EP2438812A1 (en) * | 2009-06-19 | 2012-04-11 | Incorporated National University Iwate University | Detection device, and recovery method and monitoring system therefor |
CN102959638A (en) * | 2010-04-20 | 2013-03-06 | 海盗船存储器公司 | Monitoring memory module parameters in high performance computers |
CN106227616A (en) * | 2016-08-10 | 2016-12-14 | 浪潮电子信息产业股份有限公司 | A kind of batch realizes the method that RMT tests automatically |
CN106383762A (en) * | 2016-08-31 | 2017-02-08 | 西安紫光国芯半导体有限公司 | Verification method used for DRAM (Dynamic Random Access Memory) controller |
-
2018
- 2018-10-08 CN CN201811166209.XA patent/CN109324938A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10239397A (en) * | 1997-02-27 | 1998-09-11 | Ando Electric Co Ltd | Ic testing device |
US20050094450A1 (en) * | 2003-11-04 | 2005-05-05 | Fujitsu Limited | Semiconductor device and testing apparatus for semiconductor device |
EP2438812A1 (en) * | 2009-06-19 | 2012-04-11 | Incorporated National University Iwate University | Detection device, and recovery method and monitoring system therefor |
CN102959638A (en) * | 2010-04-20 | 2013-03-06 | 海盗船存储器公司 | Monitoring memory module parameters in high performance computers |
CN106227616A (en) * | 2016-08-10 | 2016-12-14 | 浪潮电子信息产业股份有限公司 | A kind of batch realizes the method that RMT tests automatically |
CN106383762A (en) * | 2016-08-31 | 2017-02-08 | 西安紫光国芯半导体有限公司 | Verification method used for DRAM (Dynamic Random Access Memory) controller |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112988480A (en) * | 2021-02-09 | 2021-06-18 | 山东英信计算机技术有限公司 | Server memory model verification system and method based on cloud platform and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361562B (en) | Automatic testing method based on associated network equipment access | |
CN110471831B (en) | Automatic method and device for compatibility test | |
CN102567203A (en) | Method and system for testing performance of distributed file system (DFS) | |
CN114884838B (en) | Monitoring method and server of Kubernetes component | |
CN102567185B (en) | Monitoring method of application server | |
CN103778050B (en) | A kind of database server High Availabitity performance detecting system | |
CN103678124B (en) | Video surveillance platform auto-test method and device based on continuous integrated environment | |
WO2019128299A1 (en) | Test system and test method | |
CN109542746A (en) | Method for testing pressure, system and server stress test macro | |
CN111130597B (en) | HPLC communication unit detecting system | |
CN103760394A (en) | Automatic processing method and device for measured data of oscilloscope | |
CN107807869A (en) | A kind of test system and method for testing | |
CN113590393B (en) | Intelligent device testing method and device, electronic device and storage medium | |
CN109324938A (en) | A kind of method of batch detection RAM information | |
TWI627528B (en) | System and method applied to cloud virtual machine automated test environment deployment | |
CN101800672B (en) | Equipment detection method and equipment | |
CN110874311A (en) | Database detection method and device, computer equipment and storage medium | |
US20100251029A1 (en) | Implementing self-optimizing ipl diagnostic mode | |
CN109358998A (en) | A kind of server detection method, apparatus and system | |
CN107907838A (en) | A kind of redundant power module tests system and method | |
CN102081519B (en) | Method and device for collecting monitoring information of monitoring system | |
CN105893236A (en) | Detection method, apparatus and system for suspend running-out fault of to-be-tested device | |
CN110909378A (en) | Automatic detection method and device, storage medium and electronic equipment | |
CN111597101A (en) | SDK access state detection method, computer device and computer readable storage medium | |
CN108280003A (en) | A kind of method and system of automatic Boot Server batch testing |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190212 |