shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Localizar PID


From: Alexandre Correa
Subject: Re: [shell-script] Localizar PID
Date: Wed, 24 Oct 2001 23:16:52 -0300

"supunhetemos" que ele use linux.. killall funciona......

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      |
 -----------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]