- 论坛徽章:
- 0
|
本帖最后由 xinxinhao 于 2015-01-27 00:22 编辑
practical_platform-2015-01-26-night.tar.gz
(1003.77 KB, 下载次数: 147)
tar -zxvf practical_platform-2015-01-26-night.tar.gz -C /home/scripts/;
此系统涉及到监控和告警方面,(C/S架构, 客户读和服务端都会监听端口)
配置文件: practical_platform/conf/config.conf
代码: practical_platform/src/
依赖的perl 库:practical_platform/third/
日志目录:practical_platform/log/
启动方式:
(先确保 依赖的perl 库:practical_platform/third/ 安装好,里面的库perl Makefile.PL;make;make install)
cd /home/scripts/practical_platform/src/main/ && perl -I /home/scripts/practical_platform/src/ ./platform.pl [-c|-s|-a] ../../conf/config.conf
-a 表示同时启动服务和客户端
-c 表示只启动客户端
-s 表示只启动服务端
涉及到的知识:
perl 多线程,进程,后台,信号,网络编程,DB操作方面,面向对象设计,包和模块,子程序,基本知识方面,引用,IPC::SYSV消息队列和信号量,IO::Epoll, 异步非阻塞 ,perl线程变量共享等方面等。
|
|