[Contents] [Prev] [Next] [Index] [Report an Error]


Compress the vmcore File

Purpose

gzip is a compression utility 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

What It Means

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.


[Contents] [Prev] [Next] [Index] [Report an Error]