Created
October 25, 2013 19:28
-
-
Save colemanjp/7160458 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ du -hs maillog* | |
8.6G maillog.1 | |
8.6G maillog.1a | |
$ time gzip -9 maillog.1 | |
real 3m37.652s | |
user 3m28.382s | |
sys 0m5.502s | |
$ time bzip2 -9 maillog.1a | |
real 20m44.056s | |
user 20m32.287s | |
sys 0m5.223s | |
$ du -hs maillog* | |
614M maillog.1a.bz2 | |
1.1G maillog.1.gz | |
$ du -ks maillog* | |
628256 maillog.1a.bz2 | |
1070736 maillog.1.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment