服务器性能监控系统 [英] server performance monitor system

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

问题描述

我想在套接字编程中监视来自客户端的更出色的性能

示例//硬盘的可用空间
mointor cpu
































解决方案您需要某种服务器端组件来收集诊断并将其继续发送.


看看 xymon [ ^ ]就是这样.

您在目标服务器上安装服务.它会收集所有数据,然后尝试将其发送到另一台服务器(如果您愿意,可以是监视服务器"),在该服务器上可以显示所有数据,

我们实际上在我们的机器业务中使用了此功能,这对于在单个网页上快速显示所有服务器统计信息非常有用. :)


或者,您可以编写客户端连接到的某种排序服务,并允许您在远程计算机上运行查询.无论哪种方式,您都将需要服务器上的一块软件.


我基本上同意迪伦的观点.请参阅我对他的问题的评论.

在监视服务上,我回答了如何监视对您在此处对问题的回答感兴趣的参数:
请帮助我编程以C#监视服务器 [ ^ ].

关于网络上的监视,您需要在要监视的主机上具有该服务.如果需要开发此类服务,则应在Windows上安装.NET或在服务主机上安装其他操作系统上的Mono.您未指定要精确监控的操作系统,标签"C#"未假定为Windows,因为您未指定要在哪个主机上开发C#软件.

因此,关于Mono,请参阅:
http://en.wikipedia.org/wiki/Mono_%28software%29 [ ^ ],
http://www.mono-project.com/Main_Page [ http://en.wikipedia.org/wiki/Windows_Service [ http://msdn.microsoft.com/en-us/library/ms685141.aspx [ ^ ].

要使用.NET开发Windows服务,请从此处开始:
http://msdn.microsoft.com/en-us/library/d56de412%28v = vs.100%29.aspx [ ^ ].

Windows服务的开发比常规"应用程序困难.

另请参见:
http://msdn.microsoft.com/en-us/library/aa984342%28v = vs.71%29.aspx [ ^ ].

现在,网络呢?您可以在多个不同级别中的任何一个上使用网络.我在过去的回答中概述了它们:
我如何将byte []发送到另一台PC [ ^ ],
在局域网上与两个Windows应用程序进行通信. [^ ].

—SA


I want to monitor srever performance from client in socket programming

example // mointor free space of hard disk
mointor cpu
mointor memory

解决方案

That information isn''t going to be readily available over sockets...your client can''t just access this information. You''d need some sort of server side component to gather the diagnostics and send them on.


Have a look at xymon [^], which is exactly this.

You install a service on the target server. It gathers all the data and attempts to send it on to another server, a ''monitoring server'' if you like, where all the data can be displayed,

We actually use this in our business for our machines, very useful to quickly display all your server stats on a single web page. :)


Or, you could write some sort service that your client connects to and allows you to run the query on the remote machine..either way, you''re going to need a piece of software on the server.


I basically agree with Dylan. Please see my comment to his question.

On the monitoring service, I answered on how to monitor the parameters you are interested in my answers to your question here:
Please help me program to monitor server in C#[^].

As to the monitoring on the network, you need to have the service on the host you want to monitor. If you need to develop such service, you should have .NET on Windows or Mono on other OS installed on the service host. You did not specify OS you want to monitor exactly, your tag "C#" does not assume Windows, as you did not specify on what host do you want to develop C# software.

So, about Mono, please see:
http://en.wikipedia.org/wiki/Mono_%28software%29[^],
http://www.mono-project.com/Main_Page[^].

If you create your service on Windows, the most adequate form of it would Windows Service. Please see:
http://en.wikipedia.org/wiki/Windows_Service[^],
http://msdn.microsoft.com/en-us/library/ms685141.aspx[^].

For development of Windows Services using .NET, please start here:
http://msdn.microsoft.com/en-us/library/d56de412%28v=vs.100%29.aspx[^].

Development of Windows Services is more difficult than "regular" applications.

See also:
http://msdn.microsoft.com/en-us/library/aa984342%28v=vs.71%29.aspx[^].

Now, what about networking? You can use networking on any of the several different levels. I overview them in my past answers:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

—SA


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

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