- Difficulty: Expert
- Application: bash
OK, let's list all the processes on the box not being run by you!
ps aux | grep -v `whoami`Or, to be a little more clever, why not just list the top ten time-wasters:
ps aux --sort=-%cpu | grep -m 11 -v `whoami`It is probably best to run this as root, as this will filter out most of the vital background processes. Now that you have the information, you could just kill their processes, but much more dastardly is to run xeyes on their desktop. Repeatedly!
No comments:
Post a Comment