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: mlibbey on Jun 03, '07 05:22:23PM
in 10.4, when I run the printed TOPUSER line (as me or root), I get no results. As root,
TOPUSER=`id -p | grep login | awk '{print $2}'`
does return me. (when running that line as me, I'd have to change the login to uid:
TOPUSER=`id -p | grep uid | awk '{print $2}'`

[ Reply to This | # ]