일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 솔라리스
- PERL
- windows
- 칭찬교육
- rsync
- Kernel
- Performance
- Python
- ext3
- Disk
- 디스크
- 리눅스
- rm -rf
- rm
- cadre
- goaccess
- CPU
- Hack
- http
- pid
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- Linux
- DNS
- PORT
- 좌절교육
- iptables
- ext4
- Bash
- apachetop
- Cache
- Today
- Total
목록Python (2)
Ben's
http://opennomad.com/content/performance-different-scripting-languages-shell-v-perl-v-python-v-ruby Results To be honest, I was surprised at the results. I ran the tests 3 times and took averages. The data can be viewed at Google Docs Performance of Scripting Languages with the raw results in their owns sheets. Here is the summary table, but the google doc looks crisper. . Shell Perl Python Ruby..
#!/usr/bin/python # # 08/07/20 system team nhko # from httplib import HTTP import urllib import httplib def error(msg) : params = urllib.urlencode({'pass': 'xxxx', 'mesg': '10.10.10.2'':'+msg}) headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"} conn = httplib.HTTPConnection("sms.nhko.com:80") conn.request("POST", "/cgi-bin/sms.pl", params, headers) print conn..