2014年10月15日
摘要: mysql> set profiling=1;Query OK, 0 rows affected, 1 warning (0.07 sec)mysql> select count(1) from wl;+----------+| count(1) |+----------+| 2 |+... 阅读全文
posted @ 2014-10-15 13:51 zitong 阅读(198) 评论(0) 推荐(0) 编辑
  2014年9月23日
摘要: yum install glibc-static[root@test chkrootkit-0.50]# make sensecc -static -o strings-static strings.c/usr/bin/ld: cannot find -lccollect2: ld returne... 阅读全文
posted @ 2014-09-23 10:26 zitong 阅读(357) 评论(0) 推荐(0) 编辑
  2014年9月16日
摘要: 摘自:http://blogread.cn/it/article/6309?f=wb如果你是一位运维工程师,你很可能会面对几十台、几百台甚至上千台服务器,除了批量操作外,环境同步、数据同步也是必不可少的技能。 说到“同步”,不得不提的利器就是rsync,今天就来说说我从这个工具中看到的同步的艺术。 ... 阅读全文
posted @ 2014-09-16 14:27 zitong 阅读(871) 评论(0) 推荐(0) 编辑
  2014年9月11日
摘要: Received empty response from Zabbix Agent at [agent]. Assuming that agent dropped connection because of access permission情况:server端一直显示更改server上agentd... 阅读全文
posted @ 2014-09-11 03:08 zitong 阅读(5312) 评论(0) 推荐(0) 编辑
  2014年9月10日
摘要: if ! getopt --testthen go_out="$(getopt --options="i" --longoptions=i686 \ --name="$(basename "$0")" -- "$@")" test $? -eq 0 || exit 1 ... 阅读全文
posted @ 2014-09-10 09:04 zitong 阅读(162) 评论(0) 推荐(0) 编辑
摘要: uname -m 阅读全文
posted @ 2014-09-10 09:00 zitong 阅读(253) 评论(0) 推荐(0) 编辑
  2014年9月9日
摘要: [root@ma ~]# ps ww -p 1 PID TTY STAT TIME COMMAND 1 ? Ss 0:01 /sbin/init[root@ma ~]# ps -p 1 PID TTY TIME CMD 1 ? ... 阅读全文
posted @ 2014-09-09 17:07 zitong 阅读(232) 评论(0) 推荐(0) 编辑
摘要: [root@ma ~]# ps -p 1 PID TTY TIME CMD 1 ? 00:00:01 init 阅读全文
posted @ 2014-09-09 17:06 zitong 阅读(186) 评论(0) 推荐(0) 编辑
摘要: num >= 1125899906842624 ? "P" \ : num >= 1099511627776 ? "T" \ : num >= 1073741824 ? "G" \ : num >= 10... 阅读全文
posted @ 2014-09-09 16:55 zitong 阅读(165) 评论(0) 推荐(0) 编辑
摘要: local pct="$(awk -v one="$1" -v two="$2" 'BEGIN{ if (two > 0) { printf "%d", one/two*100; } else {print 0} }')"; 阅读全文
posted @ 2014-09-09 16:52 zitong 阅读(2640) 评论(0) 推荐(0) 编辑