The date-time argument can have any of the following formats:
date.time | date | time |now where:
Specify time in 24-hour format, relative to the local time zone. If you omit the time, the default value is 00:00:00. If you omit date, the default is today. If you omit the century, year, or a specific date, the most recent one is used. Specify UTC if you want to resolve the time to the same moment in time regardless of time zone. Use the plus (+) or minus (-) operator to specify a positive or negative offset to the UTC time. If you specify UTC without hour or minute offsets, Greenwich Mean Time (GMT) is used. (Dates before January 1, 1970 Universal Coordinated Time (UTC) are invalid.)
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
cmd-context getlog –inquire
vobsnap ClearCase VOB snapshot log
vobrpc ClearCase vobrpc_server log
vob_scrubber ClearCase vob scrubber log (unformatted)
vob ClearCase vob_server log
view ClearCase view_server log...
cmd-context getlog vob
=========================================================================
Log Name: vob Hostname: superior Date: 2007-02-24T16:51:02
Selection: Last 10 lines of log displayed
-------------------------------------------------------------------------
2007-02-22T00:52:52 vob_server(183): debug=0, verbose=0, dont_fsync=0,
check_for_nulls=0, wait_time=500ms
2007-02-22T00:52:52 vob_server(183): UID: 1049610 GID: 1049650
2007-02-22T00:52:52 vob_server(183): using C:\USERS\vobs\ms_test.vbs,
on host: superior
2007-02-22T00:52:51 vob_server(183): addr = 0, port= 1247
2007-02-22T00:50:37 vob_server(167): debug=0, verbose=0, dont_fsync=0,
check_for_nulls=0, wait_time=500ms
2007-02-22T00:50:37 vob_server(167): UID: 1049610 GID: 1049650
2007-02-22T00:50:37 vob_server(167): using C:\USERS\vobs\smg_bld.vbs,
on host: superior
2007-02-22T00:50:36 vob_server(167): addr = 0, port= 1201
2007-02-22T01:10:47 vob_server(166): debug=0, verbose=0, dont_fsync=0,
check_for_nulls=0, wait_time=500ms
2007-02-22T01:10:47 vob_server(166): UID: 1049610 GID: 1049650
========================================================================
cmd-context getlog –host saturn –around 24-Aug.16:00 20 view =========================================================================== Log Name: view Hostname: saturn Date: 2007-08-25T17:28:57 Selection: Lines between 2007-08-24T15:40:00 and 2007-08-24T16:20:00 displayed ----------------------------------------------------------------------------- 2007-08-24T16:02:26 view_server(4904): Using 2097152 bytes of cache 2007-08-24T16:02:26 view_server(4904): Db initialized 2007-08-24T16:02:26 view_server(4904): Db initialized 2007-08-24T16:02:26 view_server(4904): View server addr = 0, port= 35200 2007-08-24T16:02:25 view_server(4904): View server addr = 0, port= 40227 =============================================================================