From: Dmitry Dmitriev <ddv@gsn.magadan.ru> To: Dmitry Dmitriev <mandrake-russian@altlinux.ru> Subject: Re: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] Как убить pppd? Date: Wed Apr 25 12:43:10 2001 Message-ID: <Pine.LNX.4.30.0104252041480.3331-100000@hawaii.gsn.magadan.ru> (raw) In-Reply-To: <14411509990.20010425120557@kuban.net> Hello Paul A. Moudrov. On Apr 25, 2001, 12:05 [+0300], you wrote: PAM> SD>> действительно kill никак не заставить убить по _имени_ запущенного PAM> SD>> процесса? PAM> PAM> DD> kill -9 `/sbin/pidof process` PAM> DD> Не подойдет? PAM> PAM> killall -9 process PAM> Нельзя? Можно :) Тем паче что у меня /sbin/pidof -- это и есть симлинк на killall :) Просто если надо разбить задачу на две -- сперва узнать, какой именно процесс убивать, а потом собственно убивать -- pidof может помочь. В том случае, если таких процессов несколько -- он вернет список всех. А дальше в скрипте можно разобраться, какой из них нужен например по наличию параметров в выводе ps ax. В общем, не надо будет как минимум парсить вывод ps с помощью perl, awk или cut... А вот в интерактивном режиме удобно процессы убивать из top'а. -- /i am, ddv
next prev parent reply other threads:[~2001-04-25 12:43 UTC|newest] Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-04-24 16:19 Lenya L. Khachaturov 2001-04-24 18:19 ` cornet 2001-04-24 19:35 ` [mdk-re] Re[2]: " Sergey Degtyaryov 2001-04-24 19:54 ` [mdk-re] Re[2]: [mdk-re] ëÁË ÕÂÉÔØ pppd? Arthur V.Sidorenko 2001-04-24 20:28 ` [mdk-re] Re: [mdk-re] Re[2]: [mdk-re] Как убить pppd? Lenya L. Khachaturov 2001-04-24 20:44 ` Sergei 2001-04-25 11:11 ` Dmitry Dmitriev 2001-04-25 12:05 ` [mdk-re] Re[2]: " Paul A. Moudrov 2001-04-25 12:43 ` Dmitry Dmitriev [this message] 2001-04-25 14:33 ` [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] ëÁË ÕÂÉÔØ pppd? Serg 2001-04-25 20:33 ` [mdk-re] Re: [mdk-re] Re[2]: [mdk-re] Re[2]: [mdk-re] Как убить pppd? Lenya L. Khachaturov 2001-04-24 20:27 ` Lenya L. Khachaturov 2001-04-25 23:08 ` [mdk-re] " Mikhail Zabaluev 2001-04-25 23:38 ` Roman S 2001-04-26 11:33 ` Sergey S. Skulachenko 2001-04-26 20:01 ` [mdk-re] " Alexey Voinov 2001-04-29 13:07 ` Mikhail Zabaluev 2001-04-24 20:00 ` Dmitry V. Levin 2001-04-24 20:26 ` [mdk-re] " Sergey Degtyaryov 2001-04-24 21:03 ` [mdk-re] " Lenya L. Khachaturov 2001-04-24 21:15 ` [mdk-re] ssh Michael Bykov 2001-04-24 21:23 ` Sergey Vlasov 2001-04-24 21:31 ` Michael Bykov 2001-04-24 21:38 ` Dmitry V. Levin 2001-04-24 21:44 ` Michael Bykov 2001-04-24 21:45 ` Sergey Vlasov 2001-04-24 20:37 ` [mdk-re] Re: [mdk-re] Re: [mdk-re] Как убить pppd? Lenya L. Khachaturov 2001-04-24 21:08 ` Aristarh 2001-04-25 17:26 ` [mdk-re] Re[2]: " Lenya L. Khachaturov 2001-04-25 23:14 ` Sergei 2001-04-25 6:57 ` [mdk-re] ëÁË ÕÂÉÔØ pppd? Russu V.F.
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=Pine.LNX.4.30.0104252041480.3331-100000@hawaii.gsn.magadan.ru \ --to=ddv@gsn.magadan.ru \ --cc=mandrake-russian@altlinux.ru \ /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