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

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

php - Mongodb connectivity error -