With reference to the countem.sh Bash script that we ran in the preceding section, we will now break it down and discuss some key points, confining ourselves to the user space portion of the VAS for now. Please take care to read and understand this (the numbers we refer to in the following discussion are with reference to our sample run of our countem.sh script in the preceding section). For the sake of better understanding, I have placed the user space portion of the diagram here:
Here (Figure 6.4) you can see three individual processes. Every process has at least one thread of execution (the main() thread). In the preceding example, we show three processes P1, P2, and Pn, with one, three, and two threads in them respectively, including main(). From our preceding sample run of the countem.sh script, Pn ...