Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Compress the Core Files

    Purpose

    gzip is a compression utility used to compress the core files. Files created using the gzip command 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% gzip filename

    Sample Output

    root@host% gzip core-SCB.101010920452

    Meaning

    The contents of the core file are compressed into a single compressed file named core-SCB.10101092045.gz. The gzip command preserves the mode, ownership, and timestamps of files when compressing or decompressing them.

    Published: 2013-02-25