[kill_cnpkmodule] pour la compatibilité avec etch
on laisse volontairement le code obscur darcs-hash:20090722232841-bd074-f2c035f562f0b8cb622ec5287ebbb7c6423e465d.gz
This commit is contained in:
parent
4a4dc29527
commit
569e0172c0
1 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
ps aux | grep cnpkmodule | perl -nle '/[^\s]*\s*(\d*)\s*([^\s]*\s*){7}(?<a>\d*)/; if ($+{a} > 60) {kill $1; print "cnpkmodule was killed"}'
|
ps aux | grep cnpkmodule | perl -nle '/[^\s]*\s*(\d*)\s*([^\s]*\s*){7}(\d*)/; if ($3 > 60) {kill $1; print "cnpkmodule was killed"}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue