Article View: ch.comp.os.linux
Article #22323Re: kill/killproc
From: Marc SCHAEFER
Date: Fri, 21 May 1999 00:00
Date: Fri, 21 May 1999 00:00
17 lines
1102 bytes
1102 bytes
Sven Kirmess <Sven.Kirmess@gmx.net> wrote: > killproc -TERM /usr/sbin/sendmail > Kann mir jemand kurz erkl๏ฟฝren, wass killproc macht? (Keine man page zu > killproc). To my knowledge, it opens the file /usr/sbin/sendmail, then it goes through /proc/[0-9]*/exe to find the right inode, then it sends a -TERM signal. Note that if the argument doesn't start with a /, the process name is used instead of the file executing. > kill -1 `head -1 /var/run/sendmail.pid` > was bedeutet das -1 hinter kill? Ich find es nicht in der man page. well, it should. It means the first line.
Technical Details
Message-ID:
<7i2rog$pk4$1@vulcan.alphanet.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<374435E0.90992785@gmx.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f4b73,56576203a036b035 X-Google-Attributes: gidf4b73,public From: Marc SCHAEFER <schaefer@alphanet.ch> Subject: Re: kill/killproc Date: 1999/05/21 Message-ID: <7i2rog$pk4$1@vulcan.alphanet.ch> X-Deja-AN: 480437871 Content-Transfer-Encoding: 8bit References: <374435E0.90992785@gmx.net> Organization: ALPHANET NF -- Not for profit telecom research Content-Type: text/plain; charset=ISO-8859-1 Mime-Version: 1.0 Newsgroups: ch.comp.os.linux