Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e7263fa

Browse files
committed
add guardian
1 parent 1411801 commit e7263fa

File tree

4 files changed

+33
-68
lines changed

4 files changed

+33
-68
lines changed

‎.idea/workspace.xml‎

Lines changed: 30 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎guardian/README.txt‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
进程守护思路:
1+
监控思路:
22
1. 通过判断cpu 和内存占用率 然后决定是否要开始kill 程序
33
2. kill 程序 需要获取到pid pid可通过 指定查找程序 name & 程序所在目录
44

55

6-
下面需要做的测试: 使用 taskkill mongodb 是否影响数据库
6+
7+
win下 tasklisst查看 程序pid taskkill /pid /f 杀死程序

‎guardian/demo1.py‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎guardian/demo2.py‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /