可以用来监控网站情况的….
1 2 3 4 5 6 7 |
#!/usr/bin/env python # coding=utf-8 import urllib2 response=urllib2.urlopen('http://www.503error.com') print response.getcode() |
Latest posts by Zhiming Zhang (see all)
- istio Ingress Gateways - 十一月 25, 2020
- Istio VirtualService - 十一月 23, 2020
- istio 组件 - 十一月 18, 2020