pcp
[Top] [All Lists]

Re: datetime enhancements

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: datetime enhancements
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Fri, 21 Feb 2014 07:05:21 +1100
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0meh2xomsw.fsf@xxxxxxxx>
References: <53042BF5.5070704@xxxxxxxxxx> <y0mbny3owuy.fsf@xxxxxxxx> <53050D07.8080206@xxxxxxxxxxxxxxxx> <y0meh2xomsw.fsf@xxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
On 21/02/14 01:56, Frank Ch. Eigler wrote:

Understood.  One can also see a need also to use relative-to-now types
of queries against archives, like "play back stats X from exactly 24
hours ago"; would that be covered by the -O/-S "@TIMESTR" syntax?

Yes, the @ctime-like-string handling was for this purpose, and the "something weird happened at 04:13 last Fri, show me stuff from 04:00 in that archive".

Just an aside, the -z option is _really_ useful here when the archive is collected in one timezone and analysed in another timezone.

<Prev in Thread] Current Thread [Next in Thread>