in reply to Re: Memory leaks
in thread Memory leaks

I only need the two bits of information - the PID and the parent PID ( ie, PPID ). If you look at the portion where the comment mentions something about "cement shoes and overcoats", you will notice I am sorting by the PPID in a vain attempt to kill the main process.

mikfire

Replies are listed 'Best First'.
Re: Re: Re: Memory leaks
by petral (Curate) on Feb 06, 2001 at 22:23 UTC
    Fine, that's a good q&d thing to do and your code probably does it. The code you posted just got mangled so there is no key between $proc{} and {PPID}.
    $total = kill 9, sort { $procs{$a}{PPID} <=> $procs{$b}{PPID} } k +eys %procs; /\ /\
    that's all I was mentioning.

    p