Skip to content
Advertisement

What does “file system outputs” mean with time -v?

What is ‘file system outputs’ counting when using the Linux ‘time’ command with dd?

It doesn’t equal dd ‘count’ (presumably the number of calls to fwrite?), nor the size of the output in 4096-byte pages (which should be 1024000 in this example).

An example:

JavaScript

Advertisement

Answer

The command time is printing out values from the rusage struct (see getrusage(2)).

And according to the source:

JavaScript

So (at least on Linux) “File system outputs” in time output is the total number of bytes written / 512.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement