![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
不止于python
这个作者很懒,什么都没留下…
展开
-
Job for apache2.service failed because the control process exited with error code
环境:Ubuntu 16.04.1 +Django 1.11.15 +Apache 2.4.18 + python 3.5 此篇文章内容提到的第几步,对照以下链接中的步骤 百度云的ubuntu16.04.1部署Apache服务器+Django项目 将项目搭建到云主机上,第四步重启apache报的错 报错信息: Job for apache2.se...原创 2018-08-08 11:09:00 · 7728 阅读 · 3 评论 -
python 监控系统负载 cpu 内存 并实现发送邮件或杀死爬虫脚本
背景 远程服务器上, 部署的爬虫, 经常会因为负载 cpu 内存的过高而导致本地ssh无法连接 废话就不多说, 直接上代码, 主要注释我就写在代码里 主要的用的 psutil 模块 # -*- coding: utf-8 -*- # @Author: Mehaei # @Date: 2019-08-27 16:57:58 # @Last Modified by: Mehaei #...原创 2019-08-30 22:13:55 · 413 阅读 · 0 评论