fix osx
add formatting for linux uptime