gpt4 book ai didi

Linux AMT 工具总是抛出 404 错误

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:34:28 26 4
gpt4 key购买 nike

我正在使用 Linux 命令 amttool 与本地网络上安装了 AMT 的另一台 PC 进行通信,以便独立于磁盘系统与机器通信以获取主板信息。我已经成功地能够通过 Python tool 从机器获取基本功率数据。但没有提供更详细的信息。然而,根据手册页,Linux amttool 显示它可以“打印一些机器信息”。

我希望能够提取的信息是 CPU 使用率、磁盘使用率、RAM 使用率等统计数据。但是在命令行上运行它:

AMT_PASSWORD=<amt_password> amttool <amt_host_ip> info

总是返回这个错误:

### AMT info on machine <amt_host_ip> ###
AMT version: 9.0.30
404 Not Found at /usr/bin/amttool line 242.

假设发生错误的行号根据命令而变化,在这种情况下,我们使用 info 请求机器信息。提供任何其他可能的命令都会返回一个 404,指出错误位置的不同行号。

我知道这不是身份验证问题,因为在将密码正确传递给 amttool 之前,我收到了 401 unauthorized 错误消息。也因为将相同的凭证传递给上面链接的 Python amt 工具成功。

可能的问题是什么?会不会是有bug的版本?主机端是否缺少设置?

感谢任何帮助。

最佳答案

我在配备 AMT 9.1.0 的 Lenovo TS140 上遇到了同样的问题。

我认为问题在于 AMT 9 删除了 amttool 所依赖的 SOAP 支持。 amttool 是一个使用 SOAP::Lite 的 perl 脚本。事实上,您引用的 Python 工具在其自述文件中有这个

There was once a tool called amttool which let you interact with these systems from Linux. This used the SOAP interface to AMT. That was removed in v9 of the firmware, which means it no longer works with modern AMT in the field. -https://pypi.python.org/pypi/amt/0.4.0

希望对您有所帮助。

关于Linux AMT 工具总是抛出 404 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40003042/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com