# 进城之间数据隔离 # 进程之间通信(IPC) Inter Process communication # 基于文件 :同一台机器上的多个进程之间通信 # Queue 队列 # 基于socket的文件级别的通信来完成数据传递的 # 基于网络 :同一台机器或者多台机器上的多进程间通信 # 第三方工具 ...
分类:
其他好文 时间:
2020-05-10 14:44:04
阅读次数:
65
3:# 抢票示例 import json import time from multiprocessing import Process,Lock def search(i): with open('ticket',encoding='utf-8') as f: ticket = json.load ...
分类:
系统相关 时间:
2020-05-10 12:57:40
阅读次数:
73
#__author__:Kelvin #date:2020/5/10 11:37 import time from multiprocessing import Process def son1(): while True: print('--> in son1') time.sleep(1) de ...
分类:
系统相关 时间:
2020-05-10 12:36:46
阅读次数:
70
进程,系统性能和计划任务 1 进程和内存管理 内核功用:进程管理、内存管理、文件系统、网络功能、驱动程序、安全功能等 1.1 什么是进程 Process: 运行中的程序的一个副本,是被载入内存的一个指令集合,是资源分配的单位 进程ID(Process ID,PID)号码被用来标记各个进程 UID、G ...
分类:
系统相关 时间:
2020-05-10 10:58:03
阅读次数:
111
1 重点: 1.1 reduce demo组成 1.2 准备数据 1.3 并行计算 2 规约操作实战案例 测试类: package com.imooc.zhangxiaoxi.stream; import com.alibaba.fastjson.JSONObject; import com.goo ...
分类:
编程语言 时间:
2020-05-10 10:24:59
阅读次数:
65
由于客户使用redhat6.9 acfs文件系统,并且/u01/ogg目录才100g,空间不足,需要扩容。 因此测试环境进行测试,后续生产环境进行扩容。 一、测试 Oracle ACFS测试 参考 https://www.dbform.com/2010/08/12/how-to-create-asm ...
分类:
数据库 时间:
2020-05-09 23:28:30
阅读次数:
106
1.父进程和子进程之间的通讯 <?php #进程之间的通讯 #主进程写入数据,字进程读取数据,因为在子进程里面有睡眠函数,所以不会出现僵尸进程 $workers=[]; $worker_num=2; for($i=0;$i<$worker_num;$i++){ $process = new swoo ...
分类:
系统相关 时间:
2020-05-09 21:09:07
阅读次数:
113
WEEK 1 1,Hard_AAAAA from pwn import* context.log_level = 'debug' sh=remote('47.103.214.163',20000) #sh=process('/home/harmonica/Desktop/hgame/Hard_AAA ...
分类:
其他好文 时间:
2020-05-09 19:15:08
阅读次数:
68
介绍 dns域名信息收集工具 帮助文件 root@kali:~# dnsenum --help dnsenum VERSION:1.2.6 Usage: dnsenum [Options] <domain> [Options]: Note: If no -f tag supplied will de ...
分类:
编程语言 时间:
2020-05-09 16:50:04
阅读次数:
92
一、使用开源库监控Linux在这一小节,我们将介绍一个在Python生态中广泛使用的开源项目,即psutil。随后,我们将使用psutil重构前一小节编写的监控程序。另外,还会简单介绍psutil提供的进程管理功能。1、psutil介绍psutil=processandsystemutilitiespsutil是一个开源且跨平台的库,其提供了便利的函数用来获取操作系统的信息,比如CPU,内存,磁盘
分类:
编程语言 时间:
2020-05-09 01:00:44
阅读次数:
89