Determining ticket status
To see if your current ticket (that is, for your IP address, user name,
and P4PORT
setting) is still valid, use the command:
$ p4 login -s
If your ticket is valid, the length of time for which it will remain valid is displayed.
To display all tickets you currently have, use the command:
$ p4 tickets
The contents of your ticket file are displayed.