Greenlets, threads, and processes [转载] It's very common in a program to want to do two things at once: repaginate a document while still responding to ...
分类:
其他好文 时间:
2017-09-06 00:47:26
阅读次数:
243
SQL> conn /as sysdbaSQL> shutdown immediate;SQL> startup mountSQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;... ...
分类:
数据库 时间:
2017-09-05 13:24:56
阅读次数:
169
#指定nginx进程运行用户以及用户组user www www;#nginx要开启的进程数为8worker_processes 8;#全局错误日志文件#debug输出日志最为详细,而crit输出日志最少/var/log目录是linux下的日志存放目录error_log /var/log/nginx/ ...
分类:
其他好文 时间:
2017-09-03 13:15:14
阅读次数:
177
Procs r: The number of runnable processes (running or waiting for run time). b: The number of processes in uninterruptible sleep. Memory swpd: the amo ...
分类:
系统相关 时间:
2017-09-01 00:12:12
阅读次数:
268
#user nobody;worker_processes 1; #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #pid logs/nginx.pid; event ...
分类:
其他好文 时间:
2017-08-31 19:10:51
阅读次数:
202
#user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev... ...
分类:
其他好文 时间:
2017-08-31 15:56:19
阅读次数:
200
一 守护进程 主进程创建守护进程 其一:守护进程会在主进程代码执行结束后就终止 其二:守护进程内无法再开启子进程,否则抛出异常:AssertionError: daemonic processes are not allowed to have children 注意:进程之间是互相独立的,主进程代 ...
分类:
编程语言 时间:
2017-08-30 20:48:22
阅读次数:
191
1.守护进程: (1)守护进程会在主进程结束的时候立马结束 (2)守护进程要设置在start之前 (3)守护进程能不能再开启子进程,否则会报错。(错误:AssertionError: daemonic processes are not allowed to have children) 代码例子: ...
分类:
编程语言 时间:
2017-08-30 11:01:27
阅读次数:
259
From Qt 5.10 on, there is a new way how to start detached processes with QProcess. Of course you know this, but let me quickly repeat what a detached ...
分类:
其他好文 时间:
2017-08-26 10:20:50
阅读次数:
1211
sar(System Activity Reporter系统活动情况报告)是目前 Linux 上最为全面的系统性能分析工具之一,可以从多方面对系统的活动进行报告,包括:文件的读写情况、系统调用的使用情况、磁盘I/O、CPU效率、内存使用状况、进程活动及IPC有关的活动等。本文主要以CentOS 6. ...
分类:
其他好文 时间:
2017-08-25 15:03:35
阅读次数:
151