Rate This Document
Findability
Accuracy
Completeness
Readability

File Formats

Input

Refer to the following table to learn about the format of an input CSV file.

disk_61873

19.11

20.71

0

17.89

0

0

10.16

... (121 columns by default)

disk_143014

15.14

8.12

0

8.21

6.27

0

0

...

disk_26149

23.16

0

9.65

7.16

7.86

0

0

...

disk_33028

17.07

0

8.17

0

0

15.33

38.94

...

... (The number of rows is the number of drives.)

...

...

...

...

...

...

...

......

  • The first value in each raw is a character string, indicating the serial number or ID that uniquely identifies a drive. The following 120 values are latency data (in ms) at 120 collection points. The interval between each point is 5s.
  • The total number of collection points default to 120 and can be adjusted through the detect_points parameter.

    Example:

    When the interface is invoked as follows, you need to input a data file with 101 columns. The first value in each raw is the serial number or ID of a drive, and the subsequent 100 columns are drive latency data (in ms) at 100 collection points. The collection interval is 5s.

    param = {'detect_points': 100} 
    slow_detect(r'slow_test.data', r'result.data', param)

Output

The output file is saved in result_path. The file format is as follows:

result: 2
ldid: disk_61873
ldid: disk_143014