Gzip
gzip is a single-file/stream lossless data compression utility, where the resulting compressed file generally has the suffix .gz. gzip also refers to the associated compressed data format used by the utility.
Documentation
Supported Platforms and Architectures
- linux-x64
- linux-arm64
Package Dependencies
The following package dependencies are required to be installed on the Unix/Linux system in order to support the requirements of the Gzip workload. Note that the Virtual Client will handle the installation of any required dependencies.
- unzip
- gzip
Workload Usage
gzip [OPTION]... [FILE]...
Compress or uncompress FILEs (by default, compress FILES in-place).
Mandatory arguments to long options are mandatory for short options too.
-c, --stdout write on standard output, keep original files unchanged
-d, --decompress decompress
-f, --force force overwrite of output file and compress links
-h, --help give this help
-k, --keep keep (don't delete) input files
-l, --list list compressed file contents
-L, --license display software license
-n, --no-name do not save or restore the original name and timestamp
-N, --name save or restore the original name and timestamp
-q, --quiet suppress all warnings
-r, --recursive operate recursively on directories
--rsyncable make rsync-friendly archive
-S, --suffix=SUF use suffix SUF on compressed files
--synchronous synchronous output (safer if system crashes, but slower)
-t, --test test compressed file integrity
-v, --verbose verbose mode
-V, --version display version number
-1, --fast compress faster
-9, --best compress better
With no FILE, or when FILE is -, read standard input.
Example usage: gzip -f myfile1.txt
What is Being Tested?
Gzip is used to measure performance in terms of ReductionRatio. Below are the metrics measured by Gzip Workload.
Name | Unit |
---|---|
ReductionRatio | - |