ps - report a snapshot of current processes top - display tasks job - list active jobs bg - place a job in the background fg - place a job in the fore ...
分类:
系统相关 时间:
2017-07-23 00:54:34
阅读次数:
165
#定义Nginx运行的用户和用户组 user www www; #nginx进程数,建议设置为等于CPU总核心数。 worker_processes 8; #全局错误日志定义类型,[ debug | info | notice | warn | error | crit ] error_log /v ...
分类:
其他好文 时间:
2017-07-22 12:06:02
阅读次数:
222
在此记录下Nginx服务器nginx.conf的配置文件说明, 部分注释收集于网络. user www-data; #运行用户worker_processes 1; #启动进程,通常设置成和cpu的数量相等 error_log /var/log/nginx/error.log; #全局错误日志及PI ...
分类:
其他好文 时间:
2017-07-22 11:01:06
阅读次数:
178
示例代码:/etc/nginx/nginx.conf user nginx;worker_processes auto;error_log /var/log/nginx/error.log;pid /run/nginx.pid;include /usr/share/nginx/modules/*.c ...
分类:
Web程序 时间:
2017-07-20 17:34:08
阅读次数:
199
在master数据库下创建存储步骤例如以下: createproc killspid (@dbnamevarchar(20)) as begin declare@sqlnvarchar(500) declare@spidint set@sql='declare getspid cursor for ...
分类:
数据库 时间:
2017-07-14 16:36:07
阅读次数:
202
dynamic是FrameWork4.0的新特性。dynamic的出现让C#具有了弱语言类型的特性。编译器在编译的时候不再对类型进行检查,编译期默认dynamic对象支持你想要的任何特性。比如,即使你对GetDynamicObject方法返回的对象一无所知,你也可以像如下那样进行代码的调用,编译器不 ...
组网图: 配置信息: 左边nigx 服务器的 /usr/local/nginx/conf/nginx.conf #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; ...
分类:
Web程序 时间:
2017-07-13 10:45:51
阅读次数:
159
Ultra-QuickSort Ultra-QuickSort In this problem, you have to analyze a particular sorting algorithm. The algorithm processes a sequence of n distinct ...
分类:
编程语言 时间:
2017-07-13 10:24:08
阅读次数:
169
windows server 2008 oracle 11.02.04 需要先建数据库,再配置Net Configuration Assistant 【链接】oracle入门很简单:四、本地Net服务名配置 http://blog.csdn.net/j958703732/article/detail ...
分类:
数据库 时间:
2017-07-12 13:40:14
阅读次数:
131
最近在刚好一些业务经常把线程跑满,导致服务器资源用完,所以就写了一个脚本用于Nagios下相关进程的最大线程数的监控,Unix的服务器上最大的线程数默认的是1024,当然在业务繁忙的服务器中这样肯定是不够用的,当然在实际生产环境中做初始化调优时一般都会有做过修改,如开启..
分类:
移动开发 时间:
2017-07-12 10:18:08
阅读次数:
234