进程监视器 - 会话管理器 [英] Process monitor - Session manager

查看:71
本文介绍了进程监视器 - 会话管理器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的基于.net的解决方案中,有几个项目都将在启动时由一个进程启动 - 进程监视器。



启动后,我需要监控所有已启动的过程以检查其健康状况,例如进程挂起,崩溃,正常关闭...

想知道如何监控并发现它被绞死或崩溃以便进程监视器可以重启?

什么.net平台提供监控正在运行的进程的健康状况?





如何知道进程被挂起或崩溃?

In my .net based solution, there are several projects which all will be started at boot by one process - process monitor.

After start, I need to monitor those all started process to check its health e.g. process got hang, crashed, graceful shutdown...
Would like to know how to monitor and find out that it got hanged or crashed so that process monitor can restart?
What .net platform provides to monitor the running process''s health?


How to know that the process is hanged or crashed?

推荐答案

查看此文章:在C#WPF中监视进程统计信息 [ ^ ]

这是一个wpf项目,但你可以肯定地使用与流程相关的部分。
Check this article: Monitoring Process Statistics in C# WPF[^]
It is a wpf project, but you can use the process related parts for sure.


这篇关于进程监视器 - 会话管理器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆