Changed cleanup to vaporize zombie screen sessions.

Other minor cleanup.
This commit is contained in:
Bob Lantz
2009-12-11 06:17:42 -08:00
parent f4d9e05d05
commit 08cef003f7
5 changed files with 40 additions and 34 deletions
+2
View File
@@ -17,4 +17,6 @@ ps ax | egrep -o 'dp[0-9]+' | sed 's/dp/nl:/' | xargs -l1 echo dpctl deldp
echo "Removing vconn junk in /tmp"
rm -f /tmp/vconn* /tmp/vlogs* /tmp/*.out /tmp/*.log
echo "Removing old screen sessions"
screen -ls | egrep -o '[0-9]+\.[hsc][0-9]+' | sed 's/\.[hsc][0-9]*//g' | kill -9