diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-10-11 16:42:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-11 16:43:37 +0200 |
commit | cfbc22abd0525570a6e58968d518ea9a7d0403ba (patch) | |
tree | 75654346772c2d74c1b1837d1cf7c4b545d56cdf /man | |
parent | fb5d873cfd4606383964c707da0ec21ebaa1c04b (diff) |
journalctl: implement --since= and --until for filtering by time
Diffstat (limited to 'man')
-rw-r--r-- | man/journalctl.xml | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/man/journalctl.xml b/man/journalctl.xml index 62373d88ab..3786fdf514 100644 --- a/man/journalctl.xml +++ b/man/journalctl.xml @@ -264,12 +264,43 @@ <term><option>--cursor=</option></term> <term><option>-c</option></term> - <listitem><para>Jump to the location - in the journal specified by the passed + <listitem><para>Start showing entries + from the location in the journal + specified by the passed cursor.</para></listitem> </varlistentry> <varlistentry> + <term><option>--since=</option></term> + <term><option>--until=</option></term> + + <listitem><para>Start showing entries + newer or of the specified date, + resp. older or of the specified + date. Date specifications should be of + the format "2012-10-30 18:17:16". If + the time part is omitted, 00:00:00 is + assumed. If only the seconds component + is omitted, :00 is assumed. If the + date component is ommitted, the + current day is assumed. Alternatively + the strings + <literal>yesterday</literal>, + <literal>today</literal>, + <literal>tomorrow</literal> are + understood, which refer to 00:00:00 of + the day before the current day, the + current day, resp the day after the + current day. <literal>now</literal> + refers to the current time. Finally, + relative times may be specified, + prefixed with <literal>-</literal> or + <literal>+</literal>, referring to + times before resp. after the current + time.</para></listitem> + </varlistentry> + + <varlistentry> <term><option>--directory=</option></term> <term><option>-D</option></term> |