Method and system for displaying dd test progress in real time

A test progress and real-time display technology, which is applied in software testing/debugging, faulty computer hardware detection, error detection/correction, etc., can solve the problems of delaying the testing time of testers and the inability to display the test progress in real time, etc.

Inactive Publication Date: 2017-07-04
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

During the test of the storage system, the dd command that comes with the Linux system is used in many cases, but the dd command that comes with the system cannot display the test progress in real time, and a result cannot be fed back until the end, which delays the testing time of the testers

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for displaying dd test progress in real time
  • Method and system for displaying dd test progress in real time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Such as figure 1 Shown, a kind of method of real-time display dd test progress of the present invention comprises the following steps:

[0026] Step S101: Write a shell script for real-time monitoring of the dd test, the shell script includes defining the number of execution times of the dd command and invoking a new window to feed back test progress information.

[0027] Step S102: Execute the Shell script for real-time monitoring of the dd test, display the progress of the dd test in real time, and output test progress information such as the number of times the dd command is executed, the time interval, and the average speed of data copying in a new window in real time.

[0028] Step S103: judging whether the number of executions of the dd command has reached the number of executions of the dd command set by the Shell script, if yes, then stop executing the Shell script, if not, then continue to execute the Shell script.

Embodiment 2

[0030] Such as figure 2 As shown, a system for displaying the progress of a dd test in real time in the present invention includes: a writing module 201, an execution display module 202, and a judgment module 203, and the writing module 201 is connected to the execution display module 202 and the judgment module 203 in sequence.

[0031] Compose module 201, be used for writing the Shell script of real-time monitoring dd test, described Shell script comprises the number of times that definition dd command is carried out and calls new window feedback test progress information; Execution display module 202, is used to carry out the Shell script of real-time monitoring dd test , real-time display of dd test progress; judging module 203, used to judge whether the number of times of dd command execution reaches the number of times of dd command execution set by Shell script, if so, then stop executing Shell script, if not, then continue to execute Shell script.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the field of hard disk performance test and discloses a method for displaying dd test progress in real time. The method comprises following steps: compiling a Shell script for monitoring dd test in real time, wherein the Shell script comprises defining the frequency of execution of a dd command and calling new windows to feed back test progress information; executing the Shell script for monitoring the dd test in real time and displaying the dd test progress in real time; determining whether or not the frequency of the execution of the dd command reaches to a set frequency of the execution of the dd command of the Shell script; if the frequency of the execution of the dd command reaches to the set frequency, then stopping executing the Shell script; otherwise, continuing executing the Shell script. The invention also discloses a system for displaying dd test progress in real time comprising a compiling module, an execution and display module and a determination module. The invention realizes the method and system for displaying dd test progress in real time, which is convenient for realizing the dd test progress and provides convenience for storage test personnel and operation and maintenance personnel.

Description

technical field [0001] The invention relates to the field of hard disk performance testing, in particular to a method and system for real-time display of DD testing progress. Background technique [0002] With the rapid development of Internet+ and cloud services, the replacement of storage devices is getting faster and faster. The tasks of storage device developers are also very arduous. Working time is precious, and methods to improve work efficiency are urgently needed. During the test of the storage system, the built-in dd command of the Linux system is used in many cases, but the built-in dd command of the system cannot display the test progress in real time, and a result cannot be fed back until the end, which delays the testing time of the testers. Contents of the invention [0003] Aiming at the current demand and the shortcomings of the development of the prior art, the present invention proposes a method and system for displaying the progress of the dd test in re...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/22G06F11/36
CPCG06F11/2205G06F11/2247G06F11/3648
Inventor 陈保平
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products