pmlogger_daily script compresses new archive files immediately even if --compress-after (-x) option is specified
Issue
pmlogger_daily
script manages Performance Co-Pilot (PCP) archive log files, and is intended to be run once per day.- PCP archive log compression is controlled with the
-x
or--compress-after
option in thePMLOGGER_DAILY_PARAMS
variable of/etc/sysconfig/pmlogger_timers
config file. - New archive log files are compressed unexpectedly even if
-x
or--compress-after
option is used inPMLOGGER_DAILY_PARAMS
. (For example, even if-x 5
is used like below, archive log files are compressed BEFORE 5 days has passed.)
## Type: string
## Default: ""
#
# Run the pmlogger_daily binary, via pmlogger_daily.service, with the
# following parameters.
#
PMLOGGER_DAILY_PARAMS="-x 5"
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- pcp-4.3.2 and later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.