So, I made a small C ++ binary to connect to the command on the server to test it, so I started working with the following shell script:
#!/bin/bash
for (( i = 0 ; i <= 15; i++ ))
do
./mycppbinary test 1 &
done
Now I also want to know how long all the processes take. I believe that I will need to make a time command for each of these processes?
Is it possible to join these processes as if they were a stream?
source
share