On 12Apr2010 10:34, J <dreadpiratejeff@
| On Sun, Apr 11, 2010 at 19:44, mark taye <wiz_mci@yahoo.
| > Hi,
| > Thanks for responding. I meant I want to write a python script to handle killing processes
| > already open. So if I were running some app that spawns other processes I can use my
| > python script and kill the running processes spawned by the parent process. I wrote
| > a python script to do this but I was unsuccessful in killing all the sub processes.
| > I hope this is more clear.
| >
| > Thanks
|
| Please don't top post...
|
| On topic though, it would help if you could post your script...
| another suggestion, though, would be to check out the various mailing
| lists at http://www.python.
|
| This is more a list for asking new user type things, and the
| occasional linux discussion. The sister/brother group to this one,
| linux@yahoogroups tends to cover more technical things...
|
| But if you can post the code, I may be able to help.
|
| Or you can try one of the Python lists... but they will also want you
| to either be VERY descriptive, or post the code so they can look at
| it.
He's probably better off here, writing a small parser to understand the PID
and PPID fields of the ps output. But as you say, he's got some code already
which we need to see.
--
Cameron Simpson <cs@zip.com.au> DoD#743
http://www.cskk.
Call for a cop, call for an ambulance, and call for a pizza.
See who shows up first. - J. Snyder _A Nation of Cowards_
Monday, April 12, 2010
[LINUX_Newbies] Re: Killing Child Processes
__._,_.___
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE
.
__,_._,___
No comments:
Post a Comment