摘要:
http://www.cnblogs.com/wangkangluo1/archive/2012/04/27/2472898.html 利用Shell脚本实现远程MySQL自动查询 目的:对定时任务对数据库的读写结果,通过定时脚本进行监控,实时数据通过浏览器或定时脚本展现 yum install m
阅读全文
posted @ 2017-12-13 20:51
papering
阅读(355)
推荐(0)
posted @ 2017-12-13 20:43
papering
阅读(149)
推荐(0)
摘要:
【资源不友好代码】 在SWAP空间不够用的情况下,如何手工添加SWAP空间?以下的操作都要在root用户下进行:首先先建立一个分区,采用dd命令比如dd if=/dev/zero of=/home/swap bs=1024 count=1024*1024这样就会创建/home/swap这么一个分区文
阅读全文
posted @ 2017-12-13 20:40
papering
阅读(504)
推荐(0)
摘要:
对系统的内存情况,进行定时脚本的监控,按时间逆序 怎样生成逆序?
阅读全文
posted @ 2017-12-13 16:34
papering
阅读(174)
推荐(0)
摘要:
https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-ALLOWED_HOSTS https://stackoverflow.com/questions/24857158/commanderror-you-must-set-
阅读全文
posted @ 2017-12-13 13:01
papering
阅读(820)
推荐(0)
摘要:
http://djangobook.py3k.cn/2.0/chapter02/
阅读全文
posted @ 2017-12-13 12:35
papering
阅读(254)
推荐(0)
摘要:
小米步枪 定时任务监控内存变化,发送邮件。 */5 * * * * cd /home/data/xl_project;date >> road8.admin;free -g >> road8.admin;/usr/sbin/sendmail -s 'zh_cn_xiaomi_buqiang_jian
阅读全文
posted @ 2017-12-13 11:59
papering
阅读(165)
推荐(0)
posted @ 2017-12-13 11:15
papering
阅读(185)
推荐(0)
posted @ 2017-12-13 08:32
papering
阅读(178)
推荐(0)
posted @ 2017-12-12 23:03
papering
阅读(688)
推荐(0)
摘要:
.bashrc 文件中的shell函数
阅读全文
posted @ 2017-12-12 22:20
papering
阅读(147)
推荐(0)
posted @ 2017-12-12 21:30
papering
阅读(126)
推荐(0)
摘要:
个人 ~/bin 所有用户 /usr/local/bin 系统管理员 /usr/local/sbin
阅读全文
posted @ 2017-12-12 20:57
papering
阅读(154)
推荐(0)
摘要:
支付宝和微信的付款没网络时也可以支付是怎么做到的? - 知乎 https://www.zhihu.com/question/49811134?sort=created 离线支付 商家扫码的时候等于你手上只是一张信用卡/银行卡而已...这么理解就可以了 简单概括:客户端预埋一些token,被扫后,等下
阅读全文
posted @ 2017-12-12 20:53
papering
阅读(399)
推荐(0)
posted @ 2017-12-12 20:47
papering
阅读(130)
推荐(0)
摘要:
https://msdn.microsoft.com/zh-cn/library/windows/hardware/dn938386(v=vs.85).aspx
阅读全文
posted @ 2017-12-12 20:46
papering
阅读(377)
推荐(0)
摘要:
[root@hadoop1 conf]# netstat -n | grep -v 127.0.0.1 | grep -v :3306 | grep TIME_WAIT | sort -k 5n |uniq -f 5 -c 33 tcp 0 0 192.168.2.51:45792 14.215.1
阅读全文
posted @ 2017-12-12 18:42
papering
阅读(398)
推荐(0)
摘要:
yum install net-tools scp -r /home/data/xl_tmp/* root@192.168.2.51:/home/data/xl_tmp/ [root@hadoop1 ~]# ifconfigeno1: flags=4163<UP,BROADCAST,RUNNING,
阅读全文
posted @ 2017-12-12 17:22
papering
阅读(314)
推荐(0)
摘要:
http://www.pcre.org/ http://www.pcre.org/
阅读全文
posted @ 2017-12-12 16:02
papering
阅读(196)
推荐(0)
摘要:
Linux中Nginx安装与配置详解 http://www.linuxidc.com/Linux/2016-08/134110.htm
阅读全文
posted @ 2017-12-12 15:37
papering
阅读(216)
推荐(0)
posted @ 2017-12-12 09:58
papering
阅读(616)
推荐(0)
摘要:
linux linux下时间同步的两种方法分享_LINUX_操作系统_脚本之家 http://www.jb51.net/LINUXjishu/73979.html 分布式时间同步系统的参考时间获取技术分析 - 豆丁网 http://www.docin.com/p-506306890.html [ro
阅读全文
posted @ 2017-12-12 09:57
papering
阅读(370)
推荐(0)
摘要:
60行*80字符/行=4800字节 300点/英寸(300DPI) 8*10英寸/页打印区域 光栅图像处理器 RIP PostScript程序 > PostScript解释器 -->向纸张传送的位点模式
阅读全文
posted @ 2017-12-12 08:33
papering
阅读(198)
推荐(0)
posted @ 2017-12-12 08:03
papering
阅读(138)
推荐(0)
摘要:
小米开源监控系统Open-Falcon安装使用笔记-BB保你大-51CTO博客 https://blog.51cto.com/chenguomin/1865550
阅读全文
posted @ 2017-12-12 07:52
papering
阅读(235)
推荐(0)
摘要:
#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz Modules/Setup.dist https://askubuntu.com/questions/661039/trouble-with-zip-support-in-
阅读全文
posted @ 2017-12-11 21:08
papering
阅读(837)
推荐(0)
摘要:
C++ 变量作用域_w3cschool https://www.w3cschool.cn/cpp/cpp-variable-scope.html 初始化局部变量和全局变量 当局部变量被定义时,系统不会对其初始化,您必须自行对其初始化。定义全局变量时,系统会自动初始化为下列值: 正确地初始化变量是一个
阅读全文
posted @ 2017-12-11 19:53
papering
阅读(361)
推荐(0)
摘要:
This is a wiki containing user-contributed recipes, tips, and tricks for the Apache HTTP Server (aka Apache Web Server or httpd). As this is a public
阅读全文
posted @ 2017-12-11 17:40
papering
阅读(171)
推荐(0)
摘要:
http://www.jb51.net/LINUXjishu/66410.html 6个级别 chkconfig 0 lrwxrwxrwx. 1 root root 7 Nov 8 2016 rc -> rc.d/rc 0 lrwxrwxrwx. 1 root root 10 Nov 8 2016
阅读全文
posted @ 2017-12-11 17:38
papering
阅读(238)
推荐(0)
摘要:
监控某个python进程是否存在,如不存在则启动
阅读全文
posted @ 2017-12-11 16:26
papering
阅读(812)
推荐(0)
摘要:
s = '%s%s%s%s%s%s%s%s' % ( time.strftime('%Y%m%d %H:%M:%S', time.localtime(time.time())), ' os.getppid() ', os.getppid(), ' os.getpid() ', os.getpid()
阅读全文
posted @ 2017-12-11 14:41
papering
阅读(298)
推荐(0)
摘要:
mkdir -p playground/dir-{00{1..9},0{10,99},100} touch playground/dir-{00{1..9},0{10,99},100}/file-{A..Z} mkdir -p /data/mapReduceVisitorLog/{a,b,c} mk
阅读全文
posted @ 2017-12-10 23:28
papering
阅读(190)
推荐(0)
摘要:
Do not use the <section> element as a generic container; this is what <div> is for, especially when the sectioning is only for styling purposes. A rul
阅读全文
posted @ 2017-12-10 20:38
papering
阅读(178)
推荐(0)
摘要:
def uid_chk_url(): request_time = time.time() print(request) print(request.json) print('270') print('270', request.get_data()) $.ajax({ url: url, meth
阅读全文
posted @ 2017-12-09 17:46
papering
阅读(254)
推荐(0)
摘要:
[root@hadoop2 ~]# dateSat Dec 9 15:46:30 CST 2017[root@hadoop2 ~]# xlpyWarning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQro
阅读全文
posted @ 2017-12-09 15:47
papering
阅读(224)
推荐(0)
posted @ 2017-12-09 14:00
papering
阅读(419)
推荐(0)
摘要:
{{define "chkUrl"}} chkUrl--脚本管理 {{/*{{range .}}*/}}{{/*{{.}}*/}}{{/*{{.Host}}*/}}{{/*{{end}}*/}} chkUrl 检测url状态信息 {{/*带说明的列表项*/}} {{/**/}} {{...
阅读全文
posted @ 2017-12-09 13:11
papering
阅读(334)
推荐(0)
摘要:
https://dev.mysql.com/doc/refman/5.7/en/show-processlist.html SHOW PROCESSLIST shows you which threads are running. You can also get this information
阅读全文
posted @ 2017-12-08 19:15
papering
阅读(208)
推荐(0)
摘要:
实践: 1、 set GLOBAL max_connections=2048;show status like '%connections%'; 0-连接数不够:软件,增大max_connections; 1-系统资源不足:硬件,file descriptors 不足,改善硬件 MySQL :: M
阅读全文
posted @ 2017-12-08 19:12
papering
阅读(294)
推荐(0)
摘要:
SHOW VARIABLES LIKE '%connection%'; character_set_connection utf8mb4collation_connection utf8mb4_general_ciextra_max_connections max_connections 1250m
阅读全文
posted @ 2017-12-08 16:59
papering
阅读(241)
推荐(0)