def extractLocatorFromCommand(command):
    """Given an command line to start a RAMCloud server return the
    service locator specified for that server.
    """
    tokens = command.split()
    dashL = tokens.index('-L')
    locator = tokens[dashL + 1]
    return locator