Broker information

To determine whether you are connected to a broker, when connected to a broker, run the p4 info command. The Broker address and Broker version appear in the output (lines 14 and 15):

Copy
User name: bruno
Client name: bruno-ws
Client host: bruno.host
Client root: /Users/bruno/Workspaces/depot
Current directory: /Users/bruno/Workspaces/depot/main/jam
Peer address: 192.168.1.40:55138
Client address: 192.168.1.114
Server address: perforce:1667
Server root: /perforce/server/root
Server date: 2025/03/13 15:46:52 -0700 PDT
Server uptime: 92:26:02
Server version: P4D/LINUX26X86_64/2025.1/773873 (2025/01/21)
ServerID: london-1666
Broker address: perforce:1666
Broker version: P4BROKER/LINUX26X86_64/2025.1/2782990
Server license: 10000 users (support ends 2016/01/01)
Server license-ip: 192.168.1.40
Case Handling: sensitive

When connected to a broker, you can use the p4 broker command to see a concise report of the broker’s info:

Copy
Current directory: /Users/bruno/Workspaces/depot/main/jam
Client address: 192.168.1.114:65463
Broker address: perforce:1666
Broker version: P4BROKER/LINUX26X86_64/2025.1/2782990