Skip to content

Instantly share code, notes, and snippets.

@rljohnsn
Created September 20, 2017 23:49
Show Gist options
  • Save rljohnsn/8943e973adbba80750ee39ee1f31b3a4 to your computer and use it in GitHub Desktop.
Save rljohnsn/8943e973adbba80750ee39ee1f31b3a4 to your computer and use it in GitHub Desktop.
dd-example
[root@dougu tmp]# rm -f ./testfile && dd if=/dev/zero of=./testfile bs=1G count=1 oflag=dsync
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 10.4005 s, 103 MB/s
[root@dougu tmp]# rm -f /tmp/testfile && dd if=/dev/zero of=/tmp/testfile bs=1G count=1 oflag=dsync
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 8.47671 s, 127 MB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment