开发者

How to monitor a process running in Linux virtual machine from host windows machine?

开发者 https://www.devze.com 2023-03-20 22:41 出处:网络
I have installed a linux machine inside my Windows (using hyper-v server for that). Any idea how I could develop an application in c# which monitors aprocess running inside Linux machine. So for开发者

I have installed a linux machine inside my Windows (using hyper-v server for that). Any idea how I could develop an application in c# which monitors a process running inside Linux machine. So for开发者_运维知识库 example it would monitor a process called "XYZ" inside linux and if that process was to go down and not exist it could simply display a red light in windows ?


Run a small monitoring program inside linux which changes a flag in a database running on windows.

or change a file located in linux, which should be read from windows using some kind of file sharing ..

or run a small web server on linux to communicate from your program running on windows

0

精彩评论

暂无评论...
验证码 换一张
取 消