I can use klog
to renew my AFS token, but I am wondering whether there is an equivalent command to view the remaining lifetime of my AFS token.
Asked
Active
Viewed 257 times
1
merlin2011
- 239
- 1
- 8
1 Answers
3
The "tokens" command will show you whether you have an AFS token, and it also shows you the expiration time.
$ tokens
Tokens held by the Cache Manager:
User's (AFS ID 12345) tokens for afs@example.com [Expires Mar 2 23:59]
--End of list--
ktdreyer
- 106
- 3