Que pacote contém o utilitário / comando “cpupower” no Fedora 25 ou 28 ou no Qubes OS?

0

Eu preciso do comando cpupower , se apenas para ver se funciona no Qubes OS 4.0, cujo dom0 está rodando o Fedora 25 e cujas VMs estão rodando o Fedora 28 (e outras versões, dependendo do que você instalou no TemplateVMs) .

Eu tentei (sem sucesso):

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
    
por Marcus Linsner 07.09.2018 / 08:12

1 resposta

0

No Fedora (e no Qubes OS), o nome do pacote que fornece o comando cpupower é kernel-tools

Exemplos:

No dom0 do Qubes OS 4.0:

[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

Em uma VM Fedora 28 (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

Talvez este não seja o caminho no Qubes OS ...
Veja também esta resposta se você estiver interessado em puro Fedora (ou seja, NÃO Qubes OS).

    
por 07.09.2018 / 08:12

Tags