lsdriveprogress
Use the lsdriveprogress command to view the progress of various drive tasks.
Syntax
Parameters
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are space-separated. The
width of each column is set to the maximum width of each item of data. In a detailed
view, each item of data has its own row, and if the headers are displayed, the data is
separated from the header by a space. The -delim parameter
overrides this behavior. Valid input for the -delim parameter is a
1-byte character. If you enter
-delim :on the command line, the colon character (:) separates all items of data in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data is separated from its header by the specified delimiter. - -filtervalue attribute=value
- (Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
- -filtervalue?
- (Optional) Displays the valid filter attributes for the
-filtervalueattribute=vaule parameter:
- task
- drive_id
- (Optional) The drive for which you want to view progress.
Description
The following outputs are possible:
- drive_id
- Indicates the ID for the drive with the active task.
- task
- Indicates the type of task:
- format
- certify
- erase
- recover
- progress
- Indicates the percentage completion for a job.
- estimated_completion_time
- Indicates the estimated completion time, in the format
YYMMDDHHMMSS, where:Yis the year.- (The first)
Mis the month. Dis the day.His the hour.- (The second)
Mis the minute. Sis the second.
An invocation example
lsdriveprogress -delim :
The resulting output:
drive_id:task:progress:estimated_completion_time
0:format:10:091118131056
9:erase:25:991231235959
An invocation example
lsdriveprogress -delim :The resulting output:
drive_id:task:progress:estimated_completion_time
0:format:10:091118131056
9:certify:25:991231235959An invocation example
lsdriveprogress -delim : 9 The resulting output:
9:certify:25:991231235959