A log file: with size of: 789M
gzip with different option, to have different compression as below
gzip -9 file.log
32M
gzip -9 file.log
37MB
example #2
-rw-r--r--. 1 srvusr srvusr 87M Jul 18 19:53 output.log.20220718_pm074234.log-rw-r--r--. 1 root root 87M Jul 21 12:01 output.log.20220718_pm074234.without9.logsudo gzip -9 output.log.20220718_pm074234.logsudo gzip output.log.20220718_pm074234.without9.log-rw-r--r--. 1 srvusr srvusr 4.0M Jul 18 19:53 output.log.20220718_pm074234.log.gz-rw-r--r--. 1 root root 4.2M Jul 21 12:01 output.log.20220718_pm074234.without9.log.gz
No comments:
Post a Comment