我需要cpupower命令,如果只查看它在QubesOS4.0中是否有效,它的dom0运行Fedora 25,其VM运行Fedora 28(以及其他版本,取决于您安装的TemplateVMs )。
我试过(但没有结果):
sudo qubes-dom0-update --action=search cpupower
sudo qubes-dom0-update --action=search cpufreq
sudo qubes-dom0-update --action=search power
sudo qubes-dom0-update --action=search cpu发布于 2018-09-07 06:12:34
在Fedora (和Qubes )中,提供cpupower命令的包名是kernel-tools
示例:
在QubesOS4.0 's dom0中:
[ctor@dom0 ~]$ sudo qubes-dom0-update kernel-tools
...
Installed:
kernel-tools.x86_64 4.13.16-100.fc25 kernel-tools-libs.x86_64 4.13.16-100.fc25
[ctor@dom0 ~]$ sudo cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
boost state support:
Supported: yes
Active: yes在Fedora 28 VM (Qubes OS 4.0)中:
[user@dev01-w-s-f-fdr28 ~]$ sudo dnf install kernel-tools
...
Installed:
kernel-tools.x86_64 4.17.19-200.fc28
kernel-tools-libs.x86_64 4.17.19-200.fc28
[user@dev01-w-s-f-fdr28 ~]$ sudo cpupower frequency-info
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
CPUs which run at the same hardware frequency: Not Available
CPUs which need to have their frequency coordinated by software: Not Available
maximum transition latency: Cannot determine or is not supported.
Not Available
available cpufreq governors: Not Available
Unable to determine current policy
current CPU frequency: Unable to call hardware
current CPU frequency: Unable to call to kernel
boost state support:
Supported: no
Active: no也许这不是Qubes操作系统的方式..。如果您对纯Fedora感兴趣,请参见这答案(即。而不是Qubes )。
https://unix.stackexchange.com/questions/467448
复制相似问题