I wanted to kill all process of one user except mine.Normally i use to
kill all the sessions using
this command
kill -9 -1
But this command will also kills even my process too . But i dont this
too happen.
2. How to find parent process and child process .
Regards
Ram
"Ram" <krish...@gmail.com> a �crit dans le message de news:
656ba8f0-cc7c-4763...@z3g2000prd.googlegroups.com...
> kill -9 -1
> kill all you own (including the current)
>
Which is precisely what the OP does not want.
or just pkill. pkill can send signals to all processes belonging to a
user, group, parent, etc.
-ap
> or just pkill. pkill can send signals to all processes belonging to a
> user, group, parent, etc.
>
> -ap
Unfortunately, you cannot filter out your process with pkill. That was
the requirement, if I remember correctly.
ah, you're right. i misunderstood that requirement.
-ap