简体   繁体   English

使用Java监视Windows中的程序/进程执行

[英]Monitor program/process execution in windows using java

I am trying to develop a small application that can monitor the programs/processes that are executing in a windows machine. 我正在尝试开发一个小型应用程序,该程序可以监视在Windows计算机中执行的程序/进程。

If the program/process is not supposed to run, it should be blocked. 如果程序/进程不应该运行,则应将其阻止。 It works similar to an antivirus. 它的工作原理类似于防病毒软件。

This is the basic idea. 这是基本的想法。

I want to know the ways to hook into the OS to get notified about every single program/process trying to run in the machine. 我想知道挂接到操作系统上以获取有关尝试在计算机中运行的每个程序/进程的通知的方法。

And i want it in java... any help please? 我想要在Java中...有什么帮助吗?

Java wouldn't be your best answer sorry mate. 对不起,Java并不是您最好的答案。 It's not limited to the JVM, can get access outside of that, but for what you're looking for, it wouldn't be an efficient language to use unfortunately. 它不仅限于JVM,还可以在其中进行访问,但是对于您正在寻找的东西,不幸的是它不是一种有效的语言。 By all means see what other answers you get though. 一定要看看您还能得到什么其他答案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM