You are not logged in.
Pages: 1
i have installed turbostat,but when you do,I get this error:
me ~ $ sudo /dev/cpu/*/msr
[sudo] password di me:
sudo: /dev/cpu/0/msr: comando non trovato
me ~ $ sudo ./turbostat
sudo: ./turbostat: comando non trovato
me ~ $
whi?
Last edited by newbie1962 (2016-11-04 15:08:03)
hp-envy dv7
Offline
You don't run /dev/cpu/*/msr or /dev/cpu/0/msr, those are not programs. You also don't run ./turbostat, you run turbostat.
Not a Laptop Issue, moving to NC.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
I believe there is a module needed to run trubostat... also isn't it available in the repo or AUR? Why build it the old chocolate way?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
if I read the Turbostat manual says this:
Periodic Example
Without any parameters, Turbostat displays statistics ever 5 seconds. Periodic output goes to stdout, by default, the unless --out is used to specify an output file. The 5-second interval can be changed with th "-i sec" option. Or a command may be specified as in "Fork Example" below.
[Root @ hsw] # ./turbostat
same thing for these commands:
Notes
turbostat must be run as root. Alternatively, non-root users can be enabled to run turbostat this way:
# setcap cap_sys_rawio=ep ./turbostat
# chmod +r /dev/cpu/*/msr
sorry if I ask explanations, however returning to the topic the command:
sudo turbostat
it works, but if anyone wants to explain, always happy to learn.
edit
I added the msr module mkincipio.conf, pack and given:
sudo modprobe msr
Last edited by newbie1962 (2016-11-04 15:10:53)
hp-envy dv7
Offline
If sudo turbostat works but turbostat didn't work, the problem wasn't a missing command. Note, if a command is not in your $PATH then the shell will output an error which says something like "command not found".
The manual seems to be describing how to run turbostat without installing it through a package manager. ./turbostat means to run it from the current working directory rather than a directory in your $PATH.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1