Pmlogger timespec question
"Martins Innus" <[email protected]> Wed, 15 Feb 2017 14:12:07 +0000
| Newsgroups | gmane.comp.sysutils.pcp |
|---|---|
| Message-ID | <[email protected]> |
Hi, I’m seeing an oddity when trying to specify an absolute end time for pmlogger. Easiest to explain with an example: The following fails, note the "End of run time”: -bash-4.2$ date Wed Feb 15 08:58:29 EST 2017 -bash-4.2$ /usr/bin/pmlogger -c /etc/pcp/pmmgr/test_log.conf -T '@ 08:51:00' -l ./pmlogger.log ./archives/archive-test -bash-4.2$ cat pmlogger.log Log for pmlogger on euca-172-17-53-44 started Wed Feb 15 08:58:33 2017 preprocessor cmd: /usr/libexec/pcp/bin/pmcpp -rs /etc/pcp/pmmgr/test_log.conf -I /var/lib/pcp/config/pmlogger Config parsed Starting logger for host "euca-172-17-53-44" via "local:" Archive basename: ./archives/archive-test pmlogger: End of run time, exiting Log finished Wed Feb 15 08:58:33 2017 I would have expected this to run until 08:51 tomorrow. The following works fine, runs for ~30 seconds and exits as expected. -bash-4.2$ /usr/bin/pmlogger -c /etc/pcp/pmmgr/test_log.conf -T '@ 08:59:00' -l ./pmlogger.log ./archives/archive-test This also runs fine, is currently running and I expect it to run until 7:51 tomorrow if I leave it. -bash-4.2$ /usr/bin/pmlogger -c /etc/pcp/pmmgr/test_log.conf -T '@ 07:51:00' -l ./pmlogger.log ./archives/archive-test Any ideas? Seems to be an issue with specifying the current hour, but minutes prior to current. Thanks Martins -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#15178): https://groups.io/g/pcp/message/15178 View All Messages In Topic (1): https://groups.io/g/pcp/topic/4368599 Mute This Topic: https://groups.io/mt/4368599?uid=174580 New Topic: https://groups.io/g/pcp/post -=-=- pcp mailing list [email protected] https://groups.io/g/pcp/messages -=-=- Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580 Group Home: https://groups.io/g/pcp Contact Group Owner: [email protected] Terms of Service: https://groups.io/static/tos Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy -=-=-=-=-=-=-=-=-=-=-=-