C语言解析日志,存储数据到伯克利DB 2
摘要:
#编译程序gcc -o historydb historydb.c -ldb#将2013年8月9日的用户记录写入数据库 (程序自动识别新用户入库,跳过老用户)./historydb -f 20130809.userlist 20130809#查询guest1985215666654在2013年8月8日有没有访问业务bch2000./historydb -s "bch2000 guest1985215666654" 20130808#include #include #include #include #include #include #include #define DA 阅读全文
posted @ 2013-08-19 18:22 codestyle 阅读(348) 评论(0) 推荐(0)
浙公网安备 33010602011771号