optimization - CPU limit background processes on Linux -


i found:

but wonder how detect xwindow applications in background , cpulimit them? hint?

that useful limiting cpu usage web browsers in background.


my quick , dirty solution: https://gist.github.com/dmgr/08f9dc89095eab4c74b5

as described here: https://stackoverflow.com/a/2042371/2838914

you can't directly pid window id, have go other way around, mapping windows id , pid together.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -