首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Fedora 25或28或Qubes OS中,哪个包包含"cpupower“实用程序/命令?

在Fedora 25或28或Qubes OS中,哪个包包含"cpupower“实用程序/命令?
EN

Unix & Linux用户
提问于 2018-09-07 06:12:34
回答 1查看 5.8K关注 0票数 0

我需要cpupower命令,如果只查看它在QubesOS4.0中是否有效,它的dom0运行Fedora 25,其VM运行Fedora 28(以及其他版本,取决于您安装的TemplateVMs )。

我试过(但没有结果):

代码语言:javascript
复制
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
EN

回答 1

Unix & Linux用户

回答已采纳

发布于 2018-09-07 06:12:34

在Fedora (和Qubes )中,提供cpupower命令的包名是kernel-tools

示例:

在QubesOS4.0 's dom0中:

代码语言:javascript
复制
[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)中:

代码语言:javascript
复制
[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 )。

票数 4
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/467448

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档