哪个软件包包含 Fedora 25 或 28 或 Qubes 操作系统上的“cpupower”实用程序/命令?

哪个软件包包含 Fedora 25 或 28 或 Qubes 操作系统上的“cpupower”实用程序/命令?

我需要该cpupower命令,只是为了看看它是否在 Qubes OS 4.0 中运行,其 dom0 运行 Fedora 25,其 VM 运行 Fedora 28(以及其他版本,具体取决于您安装的 TemplateVM)。

我尝试过(无济于事):

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

答案1

在 Fedora(和 Qubes OS)中,提供命令的包名称cpupowerkernel-tools

例子:

在 Qubes OS 4.0 的 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 OS 中的方式......
另请参阅如果您对纯 Fedora(即不是 Qubes 操作系统)感兴趣,请回答。

相关内容