获取远程计算机的系统信息(使用Java) [英] Get System Information of a Remote Machine (Using Java)

查看:504
本文介绍了获取远程计算机的系统信息(使用Java)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如问题的标题所示,我希望使用Java获取远程系统的系统信息(如操作系统名称,版本等)。但是在任何人回答这个问题之前,我只想问这是否可行,如果是,那么如何?

As the question's title says, I want to get the system information (like OS name, version, etc.) of a remote system using Java. But before anyone answers this question, I just want to ask whether this is possible, if yes, then how?

还有一个问题是这应该适用于Unix-基于Windows和基于Windows的系统。我尝试搜索互联网,但画了一个空白(差不多)。

One more catch is that this should work for both Unix-based and Windows-based systems. I tried searching the Internet, but drew a blank (almost).

编辑:Java应用程序将是一个桌面应用程序,它必须有凭据才能够登录远程系统,但不会使用任何HTTP / RMI。

The Java app will be a desktop app, and it will have to credentials to be able to log onto the remote system, but there will be no HTTP/RMI that'll be used.

推荐答案

你需要澄清一下你的意思是远程系统在这种情况下 - 就像你如何与之通信>我们是在谈论某种形式的HTTP吗? RMI?在浏览器中运行的小程序?

You need to clarify what you mean by "remote system" in this case - as in how are you communicating with it> Are we talking some form of HTTP? RMI? Applet running in a browser?

但一般来说,答案是不,这是不可能的。

Generally, however, the answer is "No, it's not possible".

这篇关于获取远程计算机的系统信息(使用Java)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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