mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-06 00:10:04 +01:00
Fix JSON exampe in progress-frequency option.
This commit is contained in:
@@ -575,11 +575,11 @@ progress (except it's compact single line):
|
|||||||
+
|
+
|
||||||
....
|
....
|
||||||
{
|
{
|
||||||
"device":"/dev/sda" // backing device or file
|
"device":"/dev/sda", // backing device or file
|
||||||
"device_bytes":"8192", // bytes of I/O so far
|
"device_bytes":"8192", // bytes of I/O so far
|
||||||
"device_size":"44040192", // total bytes of I/O to go
|
"device_size":"44040192", // total bytes of I/O to go
|
||||||
"speed":"126877696", // calculated speed in bytes per second (based on progress so far)
|
"speed":"126877696", // calculated speed in bytes per second (based on progress so far)
|
||||||
"eta_ms":"2520012" // estimated time to finish an operation in milliseconds
|
"eta_ms":"2520012", // estimated time to finish an operation in milliseconds
|
||||||
"time_ms":"5561235" // total time spent in IO operation in milliseconds
|
"time_ms":"5561235" // total time spent in IO operation in milliseconds
|
||||||
}
|
}
|
||||||
....
|
....
|
||||||
|
|||||||
@@ -100,11 +100,11 @@ wipe progress (except it's compact single line):
|
|||||||
+
|
+
|
||||||
....
|
....
|
||||||
{
|
{
|
||||||
"device":"/dev/sda" // backing device or file
|
"device":"/dev/sda", // backing device or file
|
||||||
"device_bytes":"8192", // bytes wiped so far
|
"device_bytes":"8192", // bytes wiped so far
|
||||||
"device_size":"44040192", // total bytes to wipe
|
"device_size":"44040192", // total bytes to wipe
|
||||||
"speed":"126877696", // calculated speed in bytes per second (based on progress so far)
|
"speed":"126877696", // calculated speed in bytes per second (based on progress so far)
|
||||||
"eta_ms":"2520012" // estimated time to finish wipe in milliseconds
|
"eta_ms":"2520012", // estimated time to finish wipe in milliseconds
|
||||||
"time_ms":"5561235" // total time spent wiping device in milliseconds
|
"time_ms":"5561235" // total time spent wiping device in milliseconds
|
||||||
}
|
}
|
||||||
....
|
....
|
||||||
|
|||||||
Reference in New Issue
Block a user