with proc.oneshot(): uptime = timedelta(seconds=time() - proc.create_time()) uptime_minutes, uptime_seconds = divmod(uptim