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 vmcore File

    Purpose

    The gzip compression utility is used to compress files. Compress the vmcore file if it is larger than 50 MB. Files created using the gzip command end with the file extension .gz.

    Note: Use lowercase for the gzip command when you are in the shell.

    Action

    To compress the vmcore file with gzip, use the following command from the shell:

    root@host% gzip vmcore .number

    To unzip the vmcore file with gzip, use the following command from the shell:

    root@host% gzip -d vmcore .number.gz

    Meaning

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

    Published: 2013-02-25