[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Localizar PID
From: |
Daniel Duclos |
Subject: |
Re: [shell-script] Localizar PID |
Date: |
Thu, 25 Oct 2001 01:59:33 -0200 (BRST) |
On Wed, 24 Oct 2001, Alexandre Correa wrote:
> "supunhetemos" que ele use linux.. killall funciona......
Bem, eh so uma suposicao. Suponhamos que alguem que assina a lista
use Solaris, leia e tente. Acho que o aviso eh valido de qqr maneira.
Nunca deisse que em Linux nao funcionava. So avisei pra ter
cuidado!
>
> t+, Alexandre Correa
>
> Daniel Duclos wrote:
>
> > On Wed, 24 Oct 2001, Alexandre Correa wrote:
> >
> > > killall kppp
> >
> > CUIDADO! Como o Kerleston nao especificou o sistema
> > operacional em que ele esta querendo rodar o script, cabe o aviso: o
> > killall no Solaris mata TODOS os processos =). All of'em! Vc vai ter que
> > rebootar sua maquina!
> >
> > >
> > > Kerleston Pereira Bom wrote:
> > >
> > > > Pessoal, como eu poderia fazer um script que a partir do nome do
> > > > serviço,
> > > > localizaria o PID dele e o mataria, por exemplo, quero digitar, kill
> > > > KPPP,
> > > > então ele localizaria o PID do KPPP, que por exemplo seria 755, e em
> > > > sequencia executaria o comando kill 755, alguem pode me ajudar...?
> > > >
> > > > Sair da lista: address@hidden
> > > > Banco Dados: http://www.egroups.com/group/shell-script
> > > >
> > > > Seu uso do Yahoo! Grupos é sujeito às regras descritas em:
> > > > http://br.yahoo.com/info/utos.html
> > >
> > > --
> > > ___________________________________
> > > | ____ _ __ |
> > > | / __/_______(_)__ / /____ ____ |
> > > | _\ \/ __/ __/ / _ \/ __/ -_) __/ |
> > > | /___/\__/_/ /_/ .__/\__/\__/_/ |
> > > | /_/ Design |
> > > |___________________________________|
> > > | Scripter Design - scripter.com.br |
> > > |R. Angelo Crema, 245 Sacramento/MG|
> > > | address@hidden |
> > > -----------------------------------
> > >
> > >
> > >
> > > Sair da lista: address@hidden
> > > Banco Dados: http://www.egroups.com/group/shell-script
> > >
> > > Seu uso do Yahoo! Grupos é sujeito às regras descritas em:
> > > http://br.yahoo.com/info/utos.html
> > >
> > >
> >
> > Daniel Lobato Duclos - address@hidden - http://www.cybershark.net
> > GPG Key fingerprint = A21B 40DF 4B8D 3CE6 9284 E764 4DF0 144C 509F 080F
> > ---------------------------------------------------------------------------
> > So Listen Up 'Cause You Can't Say Nothin'
> > You'll Shut Me Down With A Push Of Your Button?
> > But I'm Out And I'm Gone / I'll Tell You Now I Keep It On And On
> > (Beastie Boys - Sabotage)
> >
> > Sair da lista: address@hidden
> > Banco Dados: http://www.egroups.com/group/shell-script
> >
> > Seu uso do Yahoo! Grupos é sujeito às regras descritas em:
> > http://br.yahoo.com/info/utos.html
>
> --
> ___________________________________
> | ____ _ __ |
> | / __/_______(_)__ / /____ ____ |
> | _\ \/ __/ __/ / _ \/ __/ -_) __/ |
> | /___/\__/_/ /_/ .__/\__/\__/_/ |
> | /_/ Design |
> |___________________________________|
> | Scripter Design - scripter.com.br |
> |R. Angelo Crema, 245 Sacramento/MG|
> | address@hidden |
> -----------------------------------
>
>
>
> Sair da lista: address@hidden
> Banco Dados: http://www.egroups.com/group/shell-script
>
> Seu uso do Yahoo! Grupos é sujeito às regras descritas em:
> http://br.yahoo.com/info/utos.html
>
>
Daniel Lobato Duclos - address@hidden - http://www.cybershark.net
GPG Key fingerprint = A21B 40DF 4B8D 3CE6 9284 E764 4DF0 144C 509F 080F
---------------------------------------------------------------------------
Emancipate yourselves from mental slavery
None but ourselves can free our minds.
(Bob Marley - Redemption Songs)