List Info

Thread: Re: Regarding killing process




Re: Regarding killing process
country flaguser name
United States
2007-08-14 09:21:58

--- In Perl_Official%40yahoogroups.com">Perl_Officialyahoogroups.com, avinash k <avik1612...> wrote:
&gt;
> hi,
>
> i am using the unix opearting system.
> I have attached the code
>; It is still not able to kill the process
>
> Thanks in advance
> Avinash

The code may have gotten stripped as a "non-text attachment". Try
pasting the relevant portion(s) in-line.

A few things could keep you from being able to kill processes:

* "kill" is not in your path - try running "kill -l" from a command
line, it should result in a list of signals.
* You do not have permission to kill the process being attempted -
modify your script to print the kill statements and try running them
manually.
* You are not providing a process ID - This is going to depend what
you think is in pid, what is actually in pid, and what you think is
in $_ and what is actually in $_. Print is your friend in this case.
Or you can learn the perl debugger (a wonderful tool!) and inspect
your variables around the kill statement.
* You should check $? for the status of the `` command to see how it
exited.

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Yahoo! Groups

Join a yoga group

and take the stress

out of your life.

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )