A question that occasionally arises is what is the best way to determine the changelist that you last synced to in Perforce. This is often needed for things like injecting the c
For the whole depot (not just your workspace/client)
p4 counter change
does the job, just telling the last changelist.