We'll respond shortly.
pgrepis a sweet tool for finding processes. You can find all your mongrels, for example, without having the problems of running
ps aux | grep ruby. It’s in the
proctoolspackage on most linux/unix operating systems. For example, on osx use
sudo port install proctools
kill -482kills all processes in the group 482. This is great for killing all the children of a daemon like
psshows the process group id next to the process id.
monitdoesn’t have great support for figuring out what happens when a start/stop command runs. It can fail silently, for example. One (bad) way of debugging this is to add
echoto dump debugging info to a temporary file before and after these commands. Rumor has it that
goddoesn’t have these problems…
Marshal.dump(object)uses a temporary file on disk! This would be slower than it needed to be. Perhaps this is to deal with dumping objects to large to fit in RAM?