Perforce Public Knowledge Base - Identify Perforce Commands Using Journal Transaction Markers
Reset Search
 

 

Article

Identify Perforce Commands Using Journal Transaction Markers

« Go Back

Information

 
Problem

When looking for specific records in a journal, it could be useful to identify the Perforce command matching the updated database records.


Solution
The journal includes some transaction markers (lines beginning with "@ex@") which help to identify the end of a transaction. The format of this marker is the following:

@ex@ pid date

The date is in Unix epoch format (the number of seconds since January 1, 1970 at midnight GMT).

With the above information you can now identify the Perforce command in the Perforce server log file by searching for the date first and narrow down your search using the pid.

Note: When converting the date to a human readable date, you need to take into account the server timezone (check Server date of the p4 info command) because all the dates in the Perforce server log are the server timezone date (not UTC).
Related Links
Journal-Transaction-Markers
Online Unix Time Conversion Calculator -- Note: This is a third party site not affiliated with Perforce.

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255