defias

defias

V2EX member #131051, joined on 2015-08-06 10:39:30 +08:00
vmstat 指标异常
Linux  •  defias  •  Sep 29, 2016  •  Lastly replied by defias
5
关于 python 掌握程度的问题?
Python  •  defias  •  Sep 11, 2016  •  Lastly replied by sylecn
8
已经充值尾号: 0075
Chamber  •  defias  •  Jan 21, 2016
python 中多线程共享全局变量的问题?
  •  1   
    Python  •  defias  •  Mar 2, 2017  •  Lastly replied by zonghua
    5
    queue 模块对象的 task_done 方法有什么用?
    Python  •  defias  •  Nov 1, 2015  •  Lastly replied by defias
    4
    defias's recent replies
    @object1984 多谢 不过第二点貌似不是很凑效
    Sep 29, 2016
    Replied to a topic by defias Linux vmstat 指标异常
    @douyang 貌似都是空闲的 但不知道为啥 vmstat 的结果会这样
    Sep 29, 2016
    Replied to a topic by defias Linux vmstat 指标异常
    @gino86 运行情况正常
    Sep 29, 2016
    Replied to a topic by defias Linux vmstat 指标异常
    @douyang

    root@web-01:~# dstat
    You did not select any stats, using -cdngy by default.
    ----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system--
    usr sys idl wai hiq siq| read writ| recv send| in out | int csw
    0 0 100 0 0 0| 72B 4398B| 0 0 | 0 1B| 104 272
    0 0 100 0 0 0| 0 0 | 216B 158B| 0 0 | 145 338
    0 0 100 0 0 0| 0 0 |2125B 2852B| 0 0 | 142 335
    0 0 100 0 0 0| 0 0 | 108B 66B| 0 0 | 127 319
    0 0 100 0 0 0| 0 0 | 378B 868B| 0 0 | 113 298
    0 0 100 0 0 0| 0 0 | 66B 78B| 0 0 | 417 1209
    0 0 100 0 0 0| 0 0 | 280B 774B| 0 0 | 113 340
    0 0 100 0 0 0| 0 36k| 346B 478B| 0 0 | 127 363
    0 0 100 0 0 0| 0 12k|4635B 14k| 0 0 | 159 411 ^
    Sep 7, 2016
    Replied to a topic by defias Python 关于 python 掌握程度的问题?
    @kindjeff 哪里有售
    Jan 20, 2016
    Replied to a topic by defias Python python 中多线程共享全局变量的问题?
    3 楼的果然可以哦
    Nov 1, 2015
    Replied to a topic by defias Python queue 模块对象的 task_done 方法有什么用?
    谢谢各位的回复,大概的明白了一些。
    @Damnever 你这里的 join 应该指的是队列的 join : Queue.join() 吧,如果代码中没用用到 Queue.join() 而是用线程的 join ,即主线程中用 sonthread.join(60)来等待子线程运行完成或超时,而不关心 queue 中的任务是否完成(因为可能根本无法完成),那么是否从 queue 中取出来一个后,用不用 task_done 都没关系了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   804 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 22:00 · PVG 06:00 · LAX 15:00 · JFK 18:00
    ♥ Do have faith in what you're doing.