This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
On OSX (10.15.6), I am using fs_usage to measure disk IO for a process. When I invoke it via the command-line, it works as expected, providing the number of bytes written: $ sudo fs_usage -f diskio 0 Yields 10:16:04.496784 WrMeta[AT1P] D=0x0000022e B=0x1000 /dev/disk1 0.004530 W kernel_task.691 10:16:04.496787 WrMeta[AT1P] D=0x000008d5 B=0x1000 [...] read more