posts - 535,comments - 60,views - 197万
09 2016 档案
python发邮件
摘要:# -*- coding:utf-8 -*- import smtplib,os,sys,string import mimetypes from email import Encoders from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.MIMEMultipart impo... 阅读全文
posted @ 2016-09-29 16:50 凌度 阅读(286) 评论(0) 推荐(0) 编辑
[LINUX] 查看连接数和IO负载
摘要:一、查看哪些IP连接本机 netstat -an 二、查看TCP连接数 1)统计80端口连接数netstat -nat|grep -i "80"|wc -l2)统计httpd协议连接数ps -ef|grep httpd|wc -l3)、统计已连接上的,状态为“establishednetstat - 阅读全文
posted @ 2016-09-20 11:04 凌度 阅读(9253) 评论(0) 推荐(0) 编辑
nginx 完全关闭 access_log
摘要:修改nginx.config 阅读全文
posted @ 2016-09-20 09:25 凌度 阅读(2545) 评论(0) 推荐(0) 编辑
linux查看出口IP
摘要:curl ipinfo.io 阅读全文
posted @ 2016-09-19 17:39 凌度 阅读(3246) 评论(0) 推荐(0) 编辑
hive添加分区
摘要:添加分区 alter table 表名 add partition (dt='2016-09-12'); select * from 表名 where dt = '2016-09-12' limit 10; 阅读全文
posted @ 2016-09-13 14:47 凌度 阅读(12139) 评论(0) 推荐(0) 编辑
邮件乱码
摘要:乱码邮件的头 正确的应该是这么写 阅读全文
posted @ 2016-09-01 15:14 凌度 阅读(260) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 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 1 2 3 4 5

点击右上角即可分享
微信分享提示