0

Is there a way to refresh indicator-cpufreq / cpu frequencies after enabling a pstate on the cpu(without reboot)?

Thank you.

1 Answer 1

0

Kill the process and start it again:

user@host:~$ kill $(pidof indicator-cpufreq)
user@host:~$ indicator-cpufreq
7
  • Are you trying to kill indicator-cpufreq process using it's pid? Does it works? Jun 17, 2014 at 11:58
  • @AvinashRaj yes, pidof gives the pid's of running processes and kill kills them with signal 15. You can also do kill -9 $(pidof indicator-cpufreq).
    – chaos
    Jun 17, 2014 at 12:04
  • $ kill -9 $(pidof indicator-cpufreq) kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] Jun 17, 2014 at 12:08
  • Yeah, it's because there's no process called indicator-cpufreq running in your system, so pidof indicator-cpufreq stays empty and only kill -9 is called without a <pid> and then kill complains. Try it with a process that exists.
    – chaos
    Jun 17, 2014 at 13:40
  • no,$ ps aux | grep indicator-cpufreq avinash 2271 0.0 0.3 460240 27712 ? Sl 09:37 0:14 /usr/bin/python3 /usr/bin/indicator-cpufreq avinash 3963 0.0 0.0 15944 924 pts/23 S+ 19:44 0:00 grep --color=auto indicator-cpufreq Jun 17, 2014 at 14:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .