I am trying to figure out the total number of user processes that Minix 2.0.4. I wrote a program that will perform forks until the forks fail and forks fails after 14 forks are executed and paused. So I think it would be 16 total user processes including the program executing the code and the shell. Can anyone provide me with verification on this? Thanks in advance.
Total user number of user processes in Minix 2.0.4
216 Views Asked by johns4ta At
1
There are 1 best solutions below
Related Questions in C
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in PROCESS
- I run an EXE program from a Windows Service but I can't see form C#?
- How can launch an external process from java and still be able to interact with this process?
- Unable to start program outside Windows folder
- Check if app is already running, and if kill it C#
- How to process A direct send message to a thread of process B?
- Batch script ignores %ERRORLEVEL% or using previously set one
- How do I know the last sched time of a process
- How to close a file handle which came from a parent process C#
- Execute 'ksetup.exe' commandline command programmatically
- Process ran as different user - web service call
- Starting process from .NET app and Attachment Execution Service
- Share info between two processes - what's the safest way?
- Independent process in php
- Managing a Process inside a Thread
- erlang processes and message passing architecture
Related Questions in FORK
- Drawing with ncurses, sockets and fork
- Switch parent and child process
- python forked processes not executing with os.execlp
- Messing with signals, pipes and forks in C
- fork()ing with c++ and creating 4 childs of a parent
- How to control the thread of child process
- Error running this fork code in my eclipse, and also have some concept confusion around this code
- How to tell if child Node.js Process was from fork() or not?
- correct output for this fork concept in C
- Publish fork of GitHub project to new NPM module but keep option to merge with original?
- Program stuck on Pipe (exec ls grep sort)
- How to prevent child from interfering with parent's stdin after fork()
- C++ Fork child, ask child for process list, kill a process in Linux
- How merge 2 github repository to trigger a pullrequest?
- How many processes this Program Creates
Related Questions in MINIX
- In C, can't change a struct attribute except using #define val
- changing in struct proc cause minix freeze
- clang linking error: undefined reference to 'qsort'
- C program to get child process id's from just a parent id (minix)
- system call searching for a file(C, minix)
- Retrieve a file's inode number by the filename on MINIX
- MINIX 2 - syscall to kernel
- Minix: undefined reference to 'strtok'?
- "Error: No table entry for 64" when compiling C program using cc
- Minix current time
- journaling in ext3 - Documentation
- What functions are involved in minix 3's echo
- Total user number of user processes in Minix 2.0.4
- Resolving conflicting type for functions with the same name in two external libraries
- How to return a clean error on incorrect mount with VTreeFS?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you call
forkin a loop, and do not limit the children from forking themselves, each child will callforkas well, and so on until no more processes can be created. The actual number of processes will then be much more than counted in the topmost parent process.