监控系统 [英] Monitor system

查看:47
本文介绍了监控系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个监控系统 - 一个网页,它将显示在不同计算机上运行的进程。我如何获得这些信息?我需要的只是一个进程的名称(任务栏上的标题很好)以及它是否正在运行

我的目标方式是什么?将欣赏一个想法


感谢

I am working on a monitor system - web page that will show what processes are running on different computers. How would I get such information? All I need is a name of a process (title on a taskbar is fine) and whether it''s running or not
Am I way of a target? Will appreciate ay idea

Thank

推荐答案

System.Diagnostics.Process类是你的朋友,但是你需要确保你的ASP.NET工作线程有权枚举系统上的进程




-

谢谢,


Eric Lawrence

项目经理

援助和全球服务


该帖子按原样提供。没有保证,也没有赋予任何权利。


" Mark" <一个******* @ discussions.microsoft.com>在消息中写道

新闻:DD ********************************** @ microsof t.com ...
The System.Diagnostics.Process class is your friend, but you''ll need to make
sure your ASP.NET worker thread has permissions to enumerate the processes
on the system.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"Mark" <an*******@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
我正在开发一个监控系统 - 这个网页将显示
在不同计算机上运行的进程。我如何获得这些信息?所有我需要的是一个进程的名称(任务栏上的标题很好)以及是否运行或不运行
。我是一个目标吗?将会欣赏一个想法。

谢谢
I am working on a monitor system - web page that will show what processes are running on different computers. How would I get such information? All I
need is a name of a process (title on a taskbar is fine) and whether it''s
running or not. Am I way of a target? Will appreciate ay idea.

Thanks



我不认为System.Diagnostics.Process类适用于Mark

因为这是一个.NET框架类,它只适用于

服务器端。这意味着它只能枚举服务器上的进程,

不在客户端PC上。


我不认为你可以枚举进程使用网页的PC

,除非用户下载了一些可以访问这些组件的组件,这些组件可以访问这些Windows API或.NET API。但是,这将使用网页打败

的目的。


这些只是使用网页无法完成的事情之一

单独。 HTML和脚本语言的设计不具备保护用户机器免受攻击的能力。


Tommy,


" Eric Lawrence [MSFT]" < e _ ******** @ hotmail.com>在消息新闻中写道:< #I ************* @ TK2MSFTNGP12.phx.gbl> ...
I don''t think the System.Diagnostics.Process class will work for Mark
because this is a .NET framework class, and it''ll only work on the
server-side. This means it can only enumerate process on the server,
not on the client PC.

I don''t think you can enumerate the processes on a PC using a webpage
unless the user downloads some components that can access these
Windows API or .NET API. However, this will defeat the purpose of
using a webpage.

These are just one of those things that cannot be done using webpages
alone. HTML and scripting languages are designed to not have this
capability to protect a user''s machine from being compromised.

Tommy,

"Eric Lawrence [MSFT]" <e_********@hotmail.com> wrote in message news:<#I*************@TK2MSFTNGP12.phx.gbl>...
System.Diagnostics.Process类是你的朋友,但是你需要确保你的ASP.NET工作线程有权枚举系统上的进程。

-
谢谢,

Eric Lawrence
项目经理
援助及全球服务

此帖子按原样提供。没有保证,也没有赋予任何权利。

标记 <一个******* @ discussions.microsoft.com>在消息中写道
新闻:DD ********************************** @ microsof t.com。 ..
The System.Diagnostics.Process class is your friend, but you''ll need to make
sure your ASP.NET worker thread has permissions to enumerate the processes
on the system.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"Mark" <an*******@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
我正在研究一个监控系统 - 一个网页,它将显示在不同的计算机上运行的进程
I am working on a monitor system - web page that will show what processes


。我如何获得这些信息?所有我需要的是一个进程的名称(任务栏上的标题很好)以及它是否正在运行。


are running on different computers. How would I get such information? All I
need is a name of a process (title on a taskbar is fine) and whether it''s
running or not.

我是一个目标的方式吗?将会欣赏你的想法。

谢谢
Am I way of a target? Will appreciate ay idea.

Thanks



那么,服务器端必须与网络上的其他服务器相对应但不是

客户端计算机。


Tommy <我们********** @ Hotmail.com>在消息中写道

新闻:a8 ************************** @ posting.google.c om ...
Well, server side will have to acees other servers on the network but not
client computers.

"Tommy" <We**********@Hotmail.com> wrote in message
news:a8**************************@posting.google.c om...
我不认为System.Diagnostics.Process类适用于Mark
因为这是一个.NET框架类,它只适用于
服务器端。这意味着它只能枚举服务器上的进程,而不是客户端PC上的进程。

我认为你不能使用网页枚举PC上的进程
除非用户下载了一些可以访问这些Windows API或.NET API的组件。但是,这会破坏使用网页的目的。

这些只是单独使用网页无法完成的事情之一。 HTML和脚本语言的设计不具备保护用户机器免受攻击的能力。

Tommy,

Eric Lawrence [ MSFT] QUOT; < e _ ******** @ hotmail.com>在消息中写道
I don''t think the System.Diagnostics.Process class will work for Mark
because this is a .NET framework class, and it''ll only work on the
server-side. This means it can only enumerate process on the server,
not on the client PC.

I don''t think you can enumerate the processes on a PC using a webpage
unless the user downloads some components that can access these
Windows API or .NET API. However, this will defeat the purpose of
using a webpage.

These are just one of those things that cannot be done using webpages
alone. HTML and scripting languages are designed to not have this
capability to protect a user''s machine from being compromised.

Tommy,

"Eric Lawrence [MSFT]" <e_********@hotmail.com> wrote in message



news:< #I ************* @ TK2MSFTNGP12.phx.gbl> ...


news:<#I*************@TK2MSFTNGP12.phx.gbl>...

System.Diagnostics.Process类是你的朋友,但你需要
确保你的ASP.NET工作线程有权枚举
进程在系统上。

-
谢谢,

Eric Lawrence
项目经理
援助和全球服务
权利。
标记 <一个******* @ discussions.microsoft.com>在消息中写道
新闻:DD ********************************** @ microsof t.com。 ..
The System.Diagnostics.Process class is your friend, but you''ll need to make sure your ASP.NET worker thread has permissions to enumerate the processes on the system.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.
"Mark" <an*******@discussions.microsoft.com> wrote in message
news:DD**********************************@microsof t.com...
我正在开发一个监控系统 - 一个网页,它将显示在不同的计算机上运行的
I am working on a monitor system - web page that will show what


进程。我如何获得这些信息?
所有我需要的是一个进程的名称(任务栏上的标题很好)以及
它是否正在运行。

processes are running on different computers. How would I get such information? All I need is a name of a process (title on a taskbar is fine) and whether it''s running or not.

我是一个目标的方式吗?将欣赏一个想法。

谢谢
Am I way of a target? Will appreciate ay idea.

Thanks



这篇关于监控系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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