def uptime():
    """Show the uptime of the system."""
    uptime = open('/proc/uptime').read().split()[0]
    uptime = float(uptime)
    uptime, secs = int(uptime / 60), uptime % 60
    uptime, mins = divmod(uptime, 60)
    days, hours = divmod(uptime, 24)
    uptime = '%d day%s, %d hour%s %02d min%s' % (days, days != 1 and 's' or
        '', hours, hours != 1 and 's' or '', mins, mins != 1 and 's' or '')
    return uptime
