The p4 license command allows Perforce superusers to update or display the Perforce license file. This command requires that there is already a valid license file in the Perforce server root directory.
Use p4 license to add licensed users to a Perforce server without having to shut down the server and manually copy the license file into the server root.
Most new license files obtained from Perforce can be installed with p4 license, (or by copying over the existing license file) except for when the server IP address or port has changed. If either the server IP address or port number has changed, you must stop the Perforce Server, manually copy the license file into place, and restart the Server.