From: Vladimir Karpinsky <vkarpinsky@mail.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: [Comm] Убивание процесса со всеми его дочками Date: Mon, 30 Jan 2012 19:50:41 +0400 Message-ID: <4F26BC51.3080404@mail.ru> (raw) Здравствуйте! Надо убить скрипт со всеми вызываемыми из него подпроцессами, они могут быть работающими, спящими, висящими. Использую pkill -P. На тестах всё работает, но не на все случаи жизни удаётся придумать тест. Можно/нужно ли использовать ещё ключи на случай спящих-висящих? Про "-9" прочитал, что плохо, проверка подтвердила --- убивается только ppid, дальше не обрабатывается. Или надо вообще по-другому? -- С уважением, Владимир.
next reply other threads:[~2012-01-30 15:50 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-01-30 15:50 Vladimir Karpinsky [this message] 2012-01-30 17:26 ` Anton Protopopov 2012-01-30 18:01 ` Vladimir Karpinsky 2012-01-30 18:23 ` Dmitry Chistikov 2012-01-30 18:36 ` Vladimir Karpinsky 2012-01-30 19:05 ` Dmitry Chistikov 2012-01-30 19:22 ` Vladimir Karpinsky 2012-01-30 20:34 ` Dmitry Chistikov 2012-01-31 8:00 ` Vladimir Karpinsky 2012-01-31 8:52 ` Dmitry Chistikov 2012-01-31 9:44 ` Vladimir Karpinsky 2012-01-31 10:00 ` Vladimir Karpinsky 2012-01-31 10:27 ` Dmitry Chistikov 2012-01-31 10:58 ` Vladimir Karpinsky 2012-01-31 11:18 ` Dmitry Chistikov 2012-01-30 17:31 ` Vladimir Karpinsky 2012-01-30 17:35 ` Dmitry Chistikov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4F26BC51.3080404@mail.ru \ --to=vkarpinsky@mail.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git