Skip to content

Instantly share code, notes, and snippets.

@bbg-deploy
Created January 23, 2014 03:47
Show Gist options
  • Save bbg-deploy/8572477 to your computer and use it in GitHub Desktop.
Save bbg-deploy/8572477 to your computer and use it in GitHub Desktop.
[root@ds1203 ~]# for ctid in `vzlist -a | awk 'NR > 1 { print $1 }'`; do vzctl exec $ctid hostname; vzctl exec $ctid curl -s -I www.ibm.com; done
inserm01.c44031.blueboxgrid.com
HTTP/1.1 302 Found
Date: Thu, 23 Jan 2014 03:46:40 GMT
Cache-Control: max-age=301
Expires: Thu, 23 Jan 2014 03:51:41 GMT
Content-Type: text/html
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, must-revalidate
Location: http://www.ibm.com/us/en
dev04.c44031.blueboxgrid.com
HTTP/1.1 302 Found
Date: Thu, 23 Jan 2014 03:46:40 GMT
Cache-Control: max-age=301
Expires: Thu, 23 Jan 2014 03:51:41 GMT
Content-Type: text/html
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, must-revalidate
Location: http://www.ibm.com/us/en
cytotech01.c44031.blueboxgrid.com
HTTP/1.1 302 Found
Date: Thu, 23 Jan 2014 03:46:41 GMT
Cache-Control: max-age=301
Expires: Thu, 23 Jan 2014 03:51:42 GMT
Content-Type: text/html
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, must-revalidate
Location: http://www.ibm.com/us/en
bml-new01.c44031.blueboxgrid.com
HTTP/1.1 302 Found
Date: Thu, 23 Jan 2014 03:46:41 GMT
Cache-Control: max-age=301
Expires: Thu, 23 Jan 2014 03:51:42 GMT
Content-Type: text/html
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, must-revalidate
Location: http://www.ibm.com/us/en
bml01.c44031.blueboxgrid.com
HTTP/1.1 302 Found
Date: Thu, 23 Jan 2014 03:46:42 GMT
Cache-Control: max-age=301
Expires: Thu, 23 Jan 2014 03:51:43 GMT
Content-Type: text/html
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, must-revalidate
Location: http://www.ibm.com/us/en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment