摘要: linux, kill掉占用60%多cpu的进程,几秒后换个pid 和 command 又出现?快速清理木马流程。假设木马的名字是xysbqaxjqy,如果top看不到,可以在/etc/init.d目录下面查看 1、首先锁定三个目录,不能让新木马文件产生chmod 000 /usr/bin/xysb 阅读全文
posted @ 2017-03-09 16:51 今天、天气晴 阅读(1665) 评论(0) 推荐(0) 编辑
摘要: top -u root 查看系统进程service network restartservice iptables restartservice sshd restartservice nginx restartservice mysqld restart chkconfig 阅读全文
posted @ 2017-03-09 16:49 今天、天气晴 阅读(3060) 评论(0) 推荐(0) 编辑
摘要: 1.配置IP地址vi /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT=yes NM_CONTROLLED=yes BOOTPROTO=static DNS1=223.5.5.5 IPV6INIT=no USERCTL=no IPADDR=111.41 阅读全文
posted @ 2017-03-09 16:47 今天、天气晴 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 1.新建/test/killcpu.sh shell脚本 并授予权限0755#!/bin/bashps axf -o "pid %cpu" | awk '{if($2>=50.0) print $1}' | while read prociddokill -9 $prociddone 2.安装cro 阅读全文
posted @ 2017-03-09 16:41 今天、天气晴 阅读(1634) 评论(0) 推荐(0) 编辑
摘要: 1.安装centos6.5 http://jingyan.baidu.com/article/25648fc1a235c99191fd0008.html 2.配置网络ip http://jingyan.baidu.com/article/455a99508be7cda167277865.html 3 阅读全文
posted @ 2017-03-01 15:25 今天、天气晴 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 获取本月日期: 代码如下: 1 function getMonth($date){ 2 $firstday = date("Y-m-01",strtotime($date)); 3 $lastday = date("Y-m-d",strtotime("$firstday +1 month -1 da 阅读全文
posted @ 2017-02-27 10:31 今天、天气晴 阅读(10278) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 64 65 阅读全文
posted @ 2017-02-16 15:07 今天、天气晴 阅读(2069) 评论(0) 推荐(0) 编辑
摘要: 在高版本的jquery引入prop方法后,什么时候该用prop?什么时候用attr?它们两个之间有什么区别?这些问题就出现了。 关于它们两个的区别,网上的答案很多。这里谈谈我的心得,我的心得很简单: 对于HTML元素本身就带有的固有属性,在处理时,使用prop方法。 对于HTML元素我们自己自定义的 阅读全文
posted @ 2017-02-09 13:57 今天、天气晴 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1、post https提交 方法 2、普通post提交 3、curl get提交 参考: 阅读全文
posted @ 2016-11-30 09:53 今天、天气晴 阅读(193) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/losesea/archive/2013/06/14/3134900.html 阅读全文
posted @ 2016-11-29 11:32 今天、天气晴 阅读(530) 评论(0) 推荐(0) 编辑