TelloViz/CPSC-351-OS-Final-Project
Final Project for my Operating Systems class at CSUF Spring '23
C++
Issues
- 0
Extra Credit
#4 opened by TelloViz - 0
- 0
then split the array into n sections
#42 opened by TelloViz - 0
then fork off n children.
#43 opened by TelloViz - 0
- 0
- 0
- 0
Each child process shall search one of the n sections of the array for the specified string.
#47 opened by TelloViz - 0
- 0
Else, it terminates with the exit code of 0.
#49 opened by TelloViz - 0
If all children terminate with the code of 1, then the parent prints "No string found" to the
#50 opened by TelloViz - 0
- 0
Parallel Fetcher
#25 opened by TelloViz - 0
- 0
- 0
Execution times should be submitted along with your code (see the section titled “Submission Guidelines”.)
#32 opened by TelloViz - 0
- 0
In the output of time, what is the difference between real, user, and sys times?
#34 opened by TelloViz - 0
- 0
When fetching all of the locations in the file, which fetcher finishes faster?
#36 opened by TelloViz - 0
Why do you think that is?
#37 opened by TelloViz - 0
Suppose one of the fetcher children crashes. Will this affect other children? Explain.
#38 opened by TelloViz - 0
What is your conclusion regarding the benefits or disadvantages of isolating each fetch task within a different process?
#39 opened by TelloViz - 0
The program shall be ran using `./multi-search <FILE NAME> <KEY> <NUMBER OF PROCESSES>`
#52 opened by TelloViz - 0
- 1
The parent will fork off n children, where n is the number of locations in `input.txt`.
#26 opened by TelloViz - 1
Each child executes `execlp("/usr/bin/curl", "curl",... NULL)` so that the child
#27 opened by TelloViz - 1
The parent calls wait() (n times in a row) and waits for all children to terminate.
#28 opened by TelloViz - 1
The parent exits.
#29 opened by TelloViz - 0
Computer Graphics Final Project
#53 opened by TelloViz - 0
Serial Fetcher
#5 opened by TelloViz - 1
That will fetch the weather information for the latitude/longitude location and save it in
#15 opened by TelloViz - 1
The first location will be saved in file1.json
#16 opened by TelloViz - 1
- 1
The parent forks off another child process which downloads the next location specified in
#19 opened by TelloViz - 1
The child uses execlp("/usr/bin/curl", "curl",... other arguments NULL) system
#14 opened by TelloViz - 1
- 1
- 1
- 1
read and parsed an entry from input.txt file
#8 opened by TelloViz - 1
- 1
The child will print it’s process ID
#10 opened by TelloViz - 1
- 1
The child and parent should print their UID
#12 opened by TelloViz - 1
The child and parent should print their GID
#13 opened by TelloViz - 0