Mailinglist Archive: opensuse (5100 mails)
| < Previous | Next > |
Re: [SLE] How to find PID
- From: C Hamel <vgm2@xxxxxxxxxx>
- Date: Tue, 1 Jun 2004 14:16:12 -0500
- Message-id: <200406011416.12283.vgm2@xxxxxxxxxx>
On Tuesday 01 June 2004 13:24, Mads Martin Joergensen wrote:
> * C Hamel <vgm2@xxxxxxxxxx> [Jun 01. 2004 18:33]:
> > Is there an easy way to check for an application's PID# & kill it using a
> > script?
>
> You might want to use killall, but here's how to do it without:
>
> $ for i in `pidof application`; do kill $i; done
>
> --
> Mads Martin Joergensen, http://mmj.dk
> "Why make things difficult, when it is possible to make them cryptic
> and totally illogical, with just a little bit more effort?"
> -- A. P. J.
THANK YOU!! <G> That's what I couldn't seem to make happen, I think!
--
...CH
SuSE 9 Works
Linux user# 313696
Linux box# 199365
> * C Hamel <vgm2@xxxxxxxxxx> [Jun 01. 2004 18:33]:
> > Is there an easy way to check for an application's PID# & kill it using a
> > script?
>
> You might want to use killall, but here's how to do it without:
>
> $ for i in `pidof application`; do kill $i; done
>
> --
> Mads Martin Joergensen, http://mmj.dk
> "Why make things difficult, when it is possible to make them cryptic
> and totally illogical, with just a little bit more effort?"
> -- A. P. J.
THANK YOU!! <G> That's what I couldn't seem to make happen, I think!
--
...CH
SuSE 9 Works
Linux user# 313696
Linux box# 199365
| < Previous | Next > |