Applies consistant padding to each of the columns in a row and serves as
    the source of the overall screen width.

def format_row(pid="", port="", name="", mem="", workers="", prefix_char="  "):
    """
    Applies consistant padding to each of the columns in a row and serves as
    the source of the overall screen width.
    """
    row = "%s%-5s %-6s %-25s %8s %7s " \
          % (prefix_char, pid, port, name, mem, workers)

    global screen_width
    if screen_width is None:
        screen_width = len(row)
    return row