commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
ps returns all running processes which are then sorted by the 4th field in numerical order and the top 10 are sent to STDOUT.
See http://dev.mysql.com/doc/refman/5.0/en/myisamchk.html for further details. You can also repair all tables by running:
myisamchk -r *.MYI