<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><entry xmlns='http://www.w3.org/2005/Atom' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-6426279.post-6158562888887067380</id><published>2007-12-20T03:16:00.000-08:00</published><updated>2008-03-03T11:06:29.260-08:00</updated><title type='text'>Restoring lost screen sockets</title><content type='html'>Do your screen sockets get nuked and you can't connect to your screen sessions?  If something auto-cleans the /tmp dir, you may have seen this before.  If you're like me, you end up with 10 or so shells with various programs running that you then have to follow the process tree to kill off.  This is my only real (huge) frustration with screen.  Well, here's ya go:  &lt;br /&gt;&lt;br /&gt;&lt;tt&gt;ps -x | grep SCREEN | awk '{print $1}' | xargs kill -CHLD&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6426279-6158562888887067380?l=www.mybrainhurts.com%2Fblog' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.blogger.com/feeds/6426279/6158562888887067380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.mybrainhurts.com/blog/2007/12/restoring-lost-screen-sockets.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6426279/posts/default/6158562888887067380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6426279/posts/default/6158562888887067380'/><link rel='alternate' type='text/html' href='http://www.mybrainhurts.com/blog/2007/12/restoring-lost-screen-sockets.html' title='Restoring lost screen sockets'/><author><name>Nathan</name><uri>http://www.blogger.com/profile/03714591529204612877</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='10843242341258171501'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry>