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, except for when the server IP address has changed. If the server IP address has changed, you must still stop the Perforce Server, manually copy the license file into place, and restart the Server.