Skip to content

Instantly share code, notes, and snippets.

@jdunphy
Created August 26, 2009 16:44
Show Gist options
  • Select an option

  • Save jdunphy/175636 to your computer and use it in GitHub Desktop.

Select an option

Save jdunphy/175636 to your computer and use it in GitHub Desktop.
#!/bin/bash -e
if [[ -z "$1" ]]
then
echo "Usage: $0 <server.datacenter (e.g. prod2.wc1)>"
exit 1
fi
print_json_response "http://$1.yellowpages.com:7000/_priv/sysinfo/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment