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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| 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] |
| |||
| 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. |
| |||
| 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.. |
| ||||
| 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] |