转自:http://diaocow.iteye.com/blog/1762895今天细致的看了下supervisor,现在做个总结: 其中,方块代表supervisor process,它的功能很简单,就负责看管它下面的“小弟”(child processes) 并且在必要的时候对某个child ....
分类:
其他好文 时间:
2015-04-16 19:37:28
阅读次数:
183
zabbix通过自定义脚本监控nginx,php-fpm和mysql占用内存数和进程的个数首先,在zabbix脚本目录下添加一个脚本,写入如下代码#!/bin/bash#license:GPL#mail:admin@huxianglin.cn#date:2015.04.16top-bn1>/usr/local/zabbix-2.4.4/scripts/process.logLOG=/usr/local/zabbix-..
分类:
数据库 时间:
2015-04-16 14:31:56
阅读次数:
175
Just picture the shifting process in your mind..class Solution {public: int rangeBitwiseAnd(int m, int n) { if (m == n) return m; int...
分类:
其他好文 时间:
2015-04-16 14:07:47
阅读次数:
134
最近在做一个c#生成word的功能、调用了微软自带的COM组件。 生成完以后发现有一个winword.exe无法关闭、调试或修改代码都没有搞明白。 遂强制关闭进程了。 System.Diagnostics.Process[] myPs; myPs = Sy...
# puppet-updatepuppet: no process foundWarning: Unable to fetch my node definition, but the agent run will continue:Warning: Error 400 on SERVER: Coul...
分类:
其他好文 时间:
2015-04-16 01:06:23
阅读次数:
211
苹果反馈信息如下: 。。。。 To process your delivery, the following issues must be corrected:Improper Advertising Identifier [IDFA] Usage. Your app contains the Advertising Identifier [IDFA] API b...
分类:
移动开发 时间:
2015-04-15 15:07:47
阅读次数:
324
1,while((ch = getchar()) != EOF){ putchar(ch);}2,while((ch=getchar()) != EOF){ if(ch '9'){ continue;}} //process only the digits3,while(scanf("%f",&v....
分类:
其他好文 时间:
2015-04-15 13:20:46
阅读次数:
127
Process进程对象类,通过创建进程对象可以操作电脑上的程序,获取电脑上运行程序的进程。常用的方法GetProcesses()KillStart(ProcessStartInfo)GetProcesses() 获取电脑上所有运行程序的进程,返回一个Process数组 Process[] pcs =...
分类:
其他好文 时间:
2015-04-14 23:07:22
阅读次数:
199
android 采用自签名所以只能做完整性判断。
android 签名的作用:
1.Signature Protection Level Permission
用于特权Permission只有特定签名的Apk才被授权(区别厂商自带的apk还是第三方的apk)
2.Share Process UID android:sharedUserId=“xxxx"
Process间Share UID...
分类:
移动开发 时间:
2015-04-14 18:07:52
阅读次数:
154
There are two machines A and B. There are n tasks, namely task 1, task 2, ..., task n. You must assign each task to one machine to process it. There are some facts you must know and comply with:You mus...
分类:
其他好文 时间:
2015-04-14 18:06:58
阅读次数:
170