摘要:        
from: https://stackoverflow.com/questions/2115615/assigning-value-to-shell-variable-using-a-function-return-value-from-python shell 输出: “some string”    
阅读全文
 
        posted @ 2018-04-27 10:41
Go_Forward
阅读(181)
推荐(0)
 
		
    
        
        
        posted @ 2018-04-25 15:22
Go_Forward
阅读(204)
推荐(0)
            
        
        
摘要:        
错误原因: 多个celery worker的任务重名。    
阅读全文
 
        posted @ 2018-04-25 11:40
Go_Forward
阅读(374)
推荐(0)
 
		
    
        
        
摘要:        
supervisor是unix like系统的进程管理工具 安装: 配置文件: 编辑配置文件supervisord.conf,取消include部分注释,修改files配置项指向的路径 创建单独的程序配置文件: 在test.conf写入下面的配置信息,可以在一个文件配置多个程序,也可以将多个程序分在    
阅读全文
 
        posted @ 2018-04-24 21:17
Go_Forward
阅读(245)
推荐(0)
 
		
    
        
        
摘要:        
Kafka的Message存储采用了分区(partition),分段(LogSegment)和稀疏索引这几个手段来达到了高效性 https://www.zybuluo.com/jewes/note/64450    
阅读全文
 
        posted @ 2018-04-21 15:48
Go_Forward
阅读(192)
推荐(0)
            
        
        
摘要:        
Config parameters that influence the log retention time. log.roll.hours # how long to produce a new log segment. log.retention.hours # delete log file    
阅读全文
 
        posted @ 2018-04-21 11:44
Go_Forward
阅读(203)
推荐(0)
 
		
    
        
        
        posted @ 2018-04-20 11:39
Go_Forward
阅读(26)
推荐(0)
 
		
    
        
        
摘要:        
cut: 按列操作文本 sort: 排序 uniq: 去重,去除连续重复行 cut -d 'delimiter' -f start-end filename.txt # -d 表示分割符号,delimiter默认tab,-f指定显示那个区域,start-end可以只指定一个 sort filenam    
阅读全文
 
        posted @ 2018-04-17 15:31
Go_Forward
阅读(104)
推荐(0)
 
		
    
        
        
        posted @ 2018-04-13 15:20
Go_Forward
阅读(161)
推荐(0)
 
		
    
        
        
摘要:        
https://blog.csdn.net/lsbhjshyn/article/details/51443304    
阅读全文
 
        posted @ 2018-04-04 11:29
Go_Forward
阅读(140)
推荐(0)