[./impression/kill_cnpkmodule] pid trop petit -> espace initial
darcs-hash:20111106235117-28565-fec2c03c8ec9b621a7418c45c2c326b2a537f687.gz
This commit is contained in:
parent
ba80f70192
commit
f39b67456d
1 changed files with 1 additions and 1 deletions
|
@ -9,4 +9,4 @@
|
|||
# de cnpkmodule avec un time supérieur à 60 minutes
|
||||
|
||||
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"}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue