Unix Technical Forum

HELP- Simple Script

This is a discussion on HELP- Simple Script within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Someone help me please. I need a script to find a process called xpto, and kill them. Sun FireV240 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-09-2008, 02:34 PM
mikas
 
Posts: n/a
Default HELP- Simple Script

Someone help me please.

I need a script to find a process called xpto, and kill them.
Sun FireV240 with Solaris 8.


Thank´s in advance,


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-09-2008, 02:34 PM
Huge
 
Posts: n/a
Default Re: HELP- Simple Script

On 2008-03-07, mikas <hmikas@gmail.com> wrote:
> Someone help me please.
>
> I need a script to find a process called xpto, and kill them.
> Sun FireV240 with Solaris 8.


man pkill


--
"Be thankful that you have a life, and forsake your vain
and presumptuous desire for a second one."
[email me at huge {at} huge (dot) org <dot> uk]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-09-2008, 02:34 PM
CK
 
Posts: n/a
Default Re: HELP- Simple Script

Words to the wise, mikas <hmikas@gmail.com> wrote:

>Someone help me please.
>
>I need a script to find a process called xpto, and kill them.
>Sun FireV240 with Solaris 8.
>
>
>Thank´s in advance,
>


kill -9 `pgrep -p xpto` it is I think.

--
Claus Dragon <clauskick@mpsahotmail.com>
=(UDIC)=
d++ e++ T--
K1!2!3!456!7!S a29
"Coffee is a mocker. So, I am going to mock."

- Me, lately.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-09-2008, 02:34 PM
Doug McIntyre
 
Posts: n/a
Default Re: HELP- Simple Script

CK <claus@ultima-dragons.org> writes:
>Words to the wise, mikas <hmikas@gmail.com> wrote:


>>Someone help me please.
>>
>>I need a script to find a process called xpto, and kill them.
>>Sun FireV240 with Solaris 8.
>>
>>
>>Thank´s in advance,
>>


>kill -9 `pgrep -p xpto` it is I think.


pkill xpto

Hardest part was finding a system still running Solaris 8 to make sure
pkill was part of it..



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-09-2008, 02:34 PM
Huge
 
Posts: n/a
Default Re: HELP- Simple Script

On 2008-03-08, Doug McIntyre <merlyn@geeks.org> wrote:
> CK <claus@ultima-dragons.org> writes:
>>Words to the wise, mikas <hmikas@gmail.com> wrote:

>
>>>Someone help me please.
>>>
>>>I need a script to find a process called xpto, and kill them.
>>>Sun FireV240 with Solaris 8.
>>>
>>>
>>>Thank´s in advance,
>>>

>
>>kill -9 `pgrep -p xpto` it is I think.

>
> pkill xpto
>
> Hardest part was finding a system still running Solaris 8 to make sure
> pkill was part of it..


LOL. Exactly the same, here!


--
"Be thankful that you have a life, and forsake your vain
and presumptuous desire for a second one."
[email me at huge {at} huge (dot) org <dot> uk]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:45 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com