如何检索和转发此(系统)信息? [英] How can I retrieve and forward this (system)information?

查看:56
本文介绍了如何检索和转发此(系统)信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


作为一项学校作业,我必须为某事做一个控制器,所以我选择为我的电脑制作一个。

我'我想知道是否以及如何为我的控制器检索以下参数:

- GPU核心频率

- GPU Mem频率(不太重要)

- GPU load%

-GPU temp

-GPU fan 1 rpm

-GPU fan 2 rpm



- CPU频率

- CPU load%

- CPU temp

- CPU风扇转速



-Mobo temp

- RAM加载以GB或%

-Case fan1 rpm

-Case fan2 rpm



- Disk0 load%(不是磁盘速度)

- Disk0 temp

- Disk1 load%(相同)

- Disk1 temp


由于参数的多样性,我认为最好,也许获得这些东西的唯一方法是自己写一个脚本


但是我'我担心这对我来说是非常困难的。
b $ b b如果不是我会在你的永恒债务中,如果你可以告诉我如何,但如果是,你能告诉我如何通过命令行检索(某些)这些东西?(或类似的东西,但我认为这是第二好的,更简单的方式)

如果你能得到我的话我会很高兴的在这些参数中,临时温度和风扇速度对我来说是最重要的。

当检索到这些信息时,我会通过一个com端口将它发送到arduino,

它也会记录到.txt文件中,以便我能够手动检查。


如果有人能帮助我,我将不胜感激:)


解决方案

学校是为了学习。我们可以回答具体问题,但我们不会为你做功课,论坛也不适合接受辅导。


您可以从了解WIndows Management的工作方式开始。您可以了解如何通过WMI获取硬件信息。您还需要了解如何查看供应商网站以了解它们是否可用在他们的硬件中为这些读数提供支持


您可以在这里找到示例脚本:
https://gallery.technet.microsoft.com/scriptcenter


您可以到这里接受培训:
https://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx


我认为赌注开始的地方是学习基础计算机工程。 什么是CPU? 它是如何设计的? 它是如何在电脑中使用的?等...


Hi,
As a school assignment, I have to make a controller for something, so I chose to make one for my PC.
I'd like to know if and how it's possible to retrieve the following parameters for my controller:
-GPU Core frequency
-GPU Mem frequency (less important)
-GPU load %
-GPU temp
-GPU fan 1 rpm
-GPU fan 2 rpm

-CPU frequency
-CPU load %
-CPU temp
-CPU fan rpm

-Mobo temp
-RAM load in GB or %
-Case fan1 rpm
-Case fan2 rpm

-Disk0 load % (not disk speed)
-Disk0 temp
-Disk1 load % (same)
-Disk1 temp

Because of the variety of parameters I suppose the best, and maybe the only way to get this stuff is to write a script myself.
However I'm afraid that would be very difficult of not impossible for me.
If it's not i'll be in your eternal debt if you can show me how, but if it is, can you please show me how to retrieve (some of)this stuff by command line? (or something similar, but i suppose that's the second best, and more easy way)
I'd already be glad if you could get me any of these parameters, the temps and fan speed are the most important to me.
When this information is retrieved, i would send it over a com port to an arduino,
also it is logged to a .txt file for me to be able to check it manually.

I'd be grateful if anyone can help me with this :)

解决方案

School is for learning.  We can answer specific questions but we will not do you homework for you and a forum is not the right place to receive tutoring.

YOU can start by learning how WIndows Management is designed to work.  Fromther eyou can learn how to obtain hardware information via WMI.  You will also need to learn how to check with vendor sites to learn if they provide support for these readings in their hardware.

You can go here for example scripts: https://gallery.technet.microsoft.com/scriptcenter

You can go here for training: https://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

I think the better place to start is to learn basic computer engineering.  What is a CPU?  How is it designed?  How is it used in a computer? etc...


这篇关于如何检索和转发此(系统)信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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