![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
系统运维
liaoguolingxian
这个作者很懒,什么都没留下…
展开
-
crontab 每分钟、每小时、每天、每周、每月、每年定时执行
每五分钟执行 */5 * * * *每小时执行 0 * * * *每天执行 0 0 * * *每周执行 0 0 * * 0每月执行 0 0 1 * *每年执行 0 0 1 1 * 1.作用使用crontab命令可以修改crontab配置文件,然后该配置由cr转载 2016-07-27 16:47:49 · 34422 阅读 · 0 评论 -
liunx下查看端口被什么程序占用,并干掉程序
查看: lsof -i:port 杀进程:kill -9 processId 或者 查看所有使用的端口然后kill掉netstat -tunlp原创 2017-03-19 11:07:18 · 307 阅读 · 0 评论 -
apache连接数配置
大部份网站,中型网站配置 StartServers 5 # 预先启动 MinSpareServers 5 MaxSpareServers 10 # 最大空闲进程 ServerLimit 1500 *# 用于修改apache编程参数 MaxClients 1000 *# 最大并发数 MaxRequestsPerChild 0 注:apache2.2以后原创 2017-03-14 19:55:48 · 424 阅读 · 0 评论