Sep-27-2020, 06:41 PM
i got it working using os.pipe() and os.fork(). i omitted any effort to track processes for os.wait()s because i am leaving them all running until i kill them all and exit. every try with subprocess and multiprocessing did not succeed (exceptions kept happening in child processes). but i wasn't trying it the way you did.
these child processes all run various ping commands. the parent reads the pipe to get all ping return events. next i will add code to accumulate stats in real time with output to files and/or stdout. one planned example is a one minute average doing sliding window and comparing loss to multiple IPs in parallel.
these child processes all run various ping commands. the parent reads the pipe to get all ping return events. next i will add code to accumulate stats in real time with output to files and/or stdout. one planned example is a one minute average doing sliding window and comparing loss to multiple IPs in parallel.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.