You are not logged in.

#1 2013-10-09 09:11:15

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,464

How to monitor cpu frequency change via inotify?

BIG EDIT:

See, this works:

shell 1:
#touch /tmp/hello
#inotifywait /tmp/hello
Setting up watches.
Watches established.

Shell2:
#echo hello >/tmp/hello

Shell1:
/tmp/hello MODIFY 

This does not!

shell 1:
# inotifywait /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 
Setting up watches.
Watches established.

Shell 2:
# cpupower frequency-set -g powersave
Setting cpu: 0
Setting cpu: 1
Gozer ~ # cpupower frequency-set -g performance
Setting cpu: 0
Setting cpu: 1

Shell 1 is still waiting... WHY?

Anybody could try to reproduce and or give me an hint?

Last edited by kokoko3k (2013-10-09 09:44:57)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB