New answers tagged compression
There's no foolproof way to tell. However, for log files, the change time (as opposed to the modification time) which you see in the output of stat may be the time at which the compressed file was created, because the filesystem attributes of these compressed files are rarely modified after their creation. For .gz files which were not created by compressing ...
It looks like zfs-fuse will update the compressratio data every 30 seconds with limited IO occurring but there is another trigger to the update as background IO or really large files cause the data update to occur sooner. I've put some test functions up on a gist. They require a clean (no files) file system that will start at 1.00x. If the scripts pause ...
My research on various compressors show that space saving is not worth going into the non-traditional path. 8800M unpacked bi-weekly input (5842 files) 270M just bzip2 (traditional logrotate style - separate .log.bz2 files) 257M tar bzip2 400M zip 132M p7zip (Windows .7z compatible) 140M tar xz 129M tar lrzip
Top 50 recent answers are included