发布时间:2018-08-10 10:32:23
1)查看线程情况:#ps -T -A -o pid,ppid,pgid,etime,nice,rgroup,ruser,time,vsz,rss,args2)查看进程情况:#ps -A -o pid,ppid,pgid,etime,nice,rgroup,ruser,time,vsz,rss,args......【阅读全文】
发布时间:2018-08-09 19:37:09
下载bson-lua到本地https://github.com/tcoram/bson-lua参考:http://zeromq.org/bindings:luasudo apt-get install luasudo apt-get install luarockssudo luarocks install lzmqsudo luarocks install lua-llthreads21)实现rep_bson.lua点击(此处)折叠或打开--require "zhelpers".........【阅读全文】
发布时间:2018-08-08 20:59:36
参考:https://learning-0mq-with-pyzmq.readthedocs.io/en/latest/pyzmq/multisocket/zmqpoller.html实现zmqpolling.py.py点击(此处)折叠或打开import zmqimport timeimport sysimport randomfrom multiprocessing import Process.........【阅读全文】
发布时间:2018-08-08 20:46:27
参考:https://learning-0mq-with-pyzmq.readthedocs.io/en/latest/pyzmq/multiprocess/multiprocess.html#实现request_reply_processes.py点击(此处)折叠或打开import zmqimport timeimport sysfrom multiprocessing import Process.........【阅读全文】
发布时间:2018-08-04 16:40:54
解决方法:#pip3 uninstall bson#pip3 install pymongo --user......【阅读全文】