view scripts/killLogupdate.sh @ 353:15061909f4da

add scripts
author nozomi
date Mon, 25 Sep 2017 19:52:20 +0900
parents
children 97a09cc105d9
line wrap: on
line source

#!/bin/sh

ps agx | grep logupdate | grep -v grep | grep -v killLogupdate | perl -le 'while (<>){if (/(\d+)/){print "kill -9 $1"}}' | sh