Quote:
Originally Posted by jiya_31
But how do i send it to all of them if:
They are in a different session.
|
I guess I can't quite figure out what you're trying to do. It sounds like there's no particular relationship amongst these processes that would link them together such that you could easily predict that one of the many processes running on the system
is a candidate to receive a signal and another process
is not. Absent some way of distinguishing which process is suppose to get signaled -- i.e., run by the same user, process group, terminal, etc. -- I can't see any way of doing this other than manually. You could do it via "top" or by cutting and pasting PIDs out of the output of a "ps" command.
Can you be a bit more specific about what situation you're trying to work with?
--
RT