基于分布式环境的子进程监控软件设计与实现  被引量:1

Design and realization of the subprocess monitoring software based on the distributed environment

在线阅读下载全文

作  者:张虎[1] 黄海于[1] 

机构地区:[1]西南交通大学信息科学与技术学院,四川成都610031

出  处:《微型机与应用》2013年第7期1-4,共4页Microcomputer & Its Applications

基  金:"十一五"国家科技支撑计划(2009BAG12A01-A01)

摘  要:针对分布式系统环境下,计算资源代理对其子进程监控的方法单一,且不能准确获取子进程运行状态的问题,提出了一种根据子进程的窗口句柄定时检测子进程运行状态的方法。该方法首先根据子进程的不同类型采用不同的方法获取子进程的窗口句柄,然后根据子进程的窗口句柄定时获取子进程的运行状态,最后将传统的等待子进程退出的方法引入到本应用中。运行结果表明,本方法可以及时准确检测出Windows环境下子进程的运行状态,并在子进程异常退出时,可以准确地获取其异常退出码。A method based on the window handle of the subprocess real-time detecting the running state of the subprocess is presented, because the method of the computing resource agent monitoring its subprocess is single and it cannot acquire accurately the question of the running state of the subprocess under the distributed system environment. This method gets the window handle of the subprocess first according to the different types of the subproeess adopting the different ways, then gets regularly the running state of the subprocess according to the window handle of the subprocess, finally the traditional method of waiting for the subprocess to exit is introduced to the application. The running results suggest that this method can detect the running state of the subprocess under the Windows environment in time and exactly, and it can get the abnormal exit code accurately when the subprocess exits abnormally.

关 键 词:分布式系统 Windows运行环境 代理 子进程的管理和监控 窗口句柄 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象