[./impression/kill_cnpkmodule] pid trop petit -> espace initial

darcs-hash:20111106235117-28565-fec2c03c8ec9b621a7418c45c2c326b2a537f687.gz
This commit is contained in:
Daniel STAN 2011-11-07 00:51:17 +01:00
parent ba80f70192
commit f39b67456d

View file

@ -9,4 +9,4 @@
# de cnpkmodule avec un time supérieur à 60 minutes # de cnpkmodule avec un time supérieur à 60 minutes
ps ax | grep cnpkmodule | \ ps ax | grep cnpkmodule | \
perl -nle '/(\d*)\s+([^\s]*\s*){2}(\d*)/; if ($3 > 60) {kill 9, $1; print "cnpkmodule was killed"}' perl -nle '/\s*(\d*)\s+([^\s]*\s*){2}(\d*)/; if ($3 > 60) {kill 9, $1; print "cnpkmodule was killed"}'