I have mainly two accounts on my 14.10 laptop: Mine (admin) and my brother's (restricted).
Now when my brother is logged in and runs some applications like firefox with flash player, it consumes much CPU. I have an Intel 2GHz, 2 cores, but with software rendering because of half-broken graphics card.
When he now locks his account and I log into mine, CPU is at about 80% even if I do nothing. indicator-multiload
shows firefox and compiz of the other user as most consuming processes, sometimes xorg too, I think.
So in a nutshell: Can I run a command/script to pause the processes started by another user and resume them again after I have done my work? Would be nice if that could be executed at every locking/login/logout.
But is this safe for all applications? Where do I have to pay attention?
pkill -STOP -u brother
.pkill -STOP -u brother
, orpkill -u TSTP -u brother
, if you're feeling polite. You could refine a bit, say specifying firefox or Xorg, if you feel like it..