2018年6月11日

windows python监听文件触发脚本

摘要: from watchdog.events import * class FileEventHandler(FileSystemEventHandler): def __init__(self): FileSystemEventHandler.__init__(self) def on_any_event(self, event): print(... 阅读全文

posted @ 2018-06-11 19:05 林肯公园 阅读(475) 评论(0) 推荐(0)

linux日志logger命令详解

摘要: 通过logger命令记录日志 logger是一个shell命令接口,可以通过该接口使用Syslog的系统日志模块,还可以从命令行直接向系统日志文件写入一行信息。 logger 语法logger [options] [messages] **options (选项):** -d, --udp 使用数据 阅读全文

posted @ 2018-06-11 11:19 林肯公园 阅读(1521) 评论(0) 推荐(0)

导航