A Summary of Commands

logCat

-m— This option is the meticulous time check. Normally, the log file name and the creation date are used to determine the date of the file. If the creation dates have been messed up, the -mflag causes the time stamp of the first message in each log file to be used instead of the name and modification date. This is slower but more reliable.

-r root — Specifies an alternate root directory for textLogFmt file. The default is /usr/spool/log. Also, the data directory containing the compressed logging data files is expected to be in the root directory if not overridden by the -dflag or the LOGDATA environment variable.

-a locant — Specifies the place to start printing.

-z locant — Specifies the place to stop printing.

-s locant — Searches for specific patterns or times.

-q locant — Searches for specific patterns or times. This is the same as - s if the locant is a time locant. If the locant is a search pattern, the search is applied to the raw compressed log data instead of the expanded log data. This means that the pattern can only include variable portions of the logged messages. It is much faster than the -soption when properly applied.

A locant is one of two things, either a date/time stamp or a search pattern.

Dates can be any of the standard readable formats: mmm dd, yyyy, mm/dd/yy, mm-dd-yy, and so on. The time is hh:mm:ss. It is also possible to specify the separate elements as follows: sec=nn min=nn hour=nn

UCS 1000 R4.2 Administration 585-313-507

Issue 3 April 2000 515