摘要: netstat -lnp|grep 80结果tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 2091/apache2 接着kill -9 2091 阅读全文
posted @ 2013-04-13 15:27 firesnow 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 一.Crontab介绍crontab命令的功能是在一定的时间间隔调度一些命令的执行。1.1 /etc/crontab文件在/etc目录下有一个crontab文件,这里存放有系统运行的一些调度程序。每个用户可以建立自己的调度crontab。如:[root@dave ~]# cat /etc/crontabSHELL=/bin/bashPATH=/sbin:/bin:/usr/sbin:/usr/binMAILTO=rootHOME=/# run-parts01 * * * * root run-parts /etc/cron.hourly02 4 * * * root run-parts /et 阅读全文
posted @ 2013-04-13 10:41 firesnow 阅读(159) 评论(0) 推荐(0) 编辑