Compress the Core Files
Purpose
gzip is a compression utility used to compress the core files. Files created using the
gzipcommand end with the file extension .gz. Compress the core files if they are larger than 50 MB.Action
To compress the core files with gzip, use the following command from the shell:
root@host%gzipfilenameSample Output
root@host%gzip core-SCB.101010920452What It Means
The contents of the core file are compressed into a single compressed file named
core-SCB.10101092045.gz. Thegzipcommand preserves the mode, ownership, and timestamps of files when compressing or decompressing them.