Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: Control CPU usage while using fast user switching' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Control CPU usage while using fast user switching
Authored by: Han Solo on Jan 21, '04 10:56:58PM
The previous commenter's caveat is a good one. While I do not pretend to know enough Unix to pull this off, it seems that in principle one could use ps to identify a list of users with UID > 500 -- which I believe should only include "real live" users -- then exclude the current user from that list and renicing all processes with UIDs on that list down to 15.

It would be nice to be able to execute scripts upon "account activation" -- whether that be a login or an account switch via FUS. Ideas anyone?

[ Reply to This | # ]

10.3: Control CPU usage while using fast user switching
Authored by: LightYear on Jan 27, '04 03:02:42AM

Starting scripts at login:
http://www.macosxhints.com/article.php?story=20030116061349986&query=loginhook

Can anyone confirm this works as expected with FUS?

---
* Nothing is foolproof to a sufficiently talented fool *



[ Reply to This | # ]