dhcpd
dhcpd.leases的Python解析程序
#!/usr/local/bin/python3 import datetime, bisect def parse_timestamp(raw_str): tokens = raw_str.split() if len(tokens) == 1: if tokens[0].lower() == ' ......
dhcpd
dhcpd 运行DHCP服务器 ### 语法 ```shell dhcpd [选项] [网络接口] ``` ### 选项 ```shell -p 指定dhcpd监听的端口 -f 作为前台进程运行dhcpd -d 启用调试模式 -q 在启动时不显示版权信息 -t 简单地测试配置文件的语法是否正确的,但 ......