摘要
针对企业服务器的文件监控,介绍了一种监控和集中管理的设计思路,对主要的实现技术——Windows服务程序、线程池、WMI等作了简要说明,同时探讨了利用C#实现文件监控的过程和方法,以程序实例介绍了线程池及非托管资源释放的实现方法,还简要地介绍了监控管理程序(B/S)的底层架构。该监控系统实现了服务器的文件监控、文件恢复以及远程复制,并通过监控管理程序实现了监控的集中管理,在实际应用中取得了良好的效果。
As for the file monitoring of enterprise's server,the paper introduces a design concept of monitoring and centralized management,briefly describes the implementation technology——windows service program,thread pool,WMI,etc.It also discusses the process and method of implementing file monitoring by use of C#,presents through program examples the implementation method of thread pool and unmanaged resources release,and briefly describes the underlying architecture of the monitoring and management program(B/S).This monitoring system realizes the file monitoring,file recovery and file remote replication of servers,and through the monitoring and management program realizes the centralized management of monitoring,with good results in application.
出处
《西北水电》
2011年第5期99-102,共4页
Northwest Hydropower