[Twisted-Python] Checking whether a server started successfully

J. Cliff Dyer jcd at sdf.lonestar.org
Wed Aug 22 11:18:40 EDT 2007

Christian Simms wrote:
> - make sure twistd isn't running using ps:  ps aux | grep twistd | 
> grep -v grep
You can save yourself a pipe by doing

$ ps aux|grep [t]wistd

That way it won't find twistd on the grep line.  the [brackets] get in 
the way, but don't semantically change what you're looking for.


More information about the Twisted-Python mailing list