Using Grep to Monitor Single Processes

Had a mysql issue today and got fed up trying to track the mysqld process in top. A fellow nerd helped me out and have me this usage of top to monitor a particular process (and all running instances of it).

top -p `pgrep -d , mysqld`

Another fine but simple command line gem

Advertisements