摘要:
``` import threading # lock = threading.RLock() # RLock 递归锁 lock = threading.RLock() Counter = [0] def add(C): lock.acquire() C[0] = C[0] + 1 lock.release() if __name__ == '__main__': count = 0 thread 阅读全文
摘要:
阿里云 官方 Log Pilot + Elasticsearch + Kibana https://help.aliyun.com/document_detail/86552.html log Pilot 有两种工具对日志进行收集 1. fluentd 2. filebeat 我使用的是filebe 阅读全文