Is there a way to refresh indicator-cpufreq / cpu frequencies after enabling a pstate on the cpu(without reboot)?
Thank you.
Kill the process and start it again:
user@host:~$ kill $(pidof indicator-cpufreq)
user@host:~$ indicator-cpufreq
pidof
gives the pid's of running processes and kill
kills them with signal 15. You can also do kill -9 $(pidof indicator-cpufreq)
.
$ 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
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.
$ 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