answersLogoWhite

0

"ulimit -u" will tell you

User Avatar

Wiki User

16y ago

What else can I help you with?

Continue Learning about Engineering

What are the four distinct reasons when new processes might be created?

1 reasons for creating multiple processes is 1- If in an application there are various independent major operations, we can create multiple processes for these tasks, a perfect example of this is operating system When you issue the execve or fork syscalls a new process is created. (spawning an application is eseentialy fork + execve) Processes are also created by the kernel scheduler for various internal tasks :P


4 What is a process to Explain the mechanism of process creation in UNIX system?

Are u talking abt the KErnal process? A program under execution is called process. All processes in UNIX are created using the fork() system call. rest of the question not clear.. SiddharthGanguly


What is the difference between fork and exec?

When using exec() the created process is a subthread of the calling process. They also share an area in the memory and therefore also all permissions and resources. When you use fork() the newly created process is a complete independent process that has it's own area in memory and also uses it's own permissions depending on what you give it. Hope this helps clear up things.


What is a fork in computer programming?

Fork() is a concept that originated in the UNIX world. Running programs are called processes, and the only way to execute a new program is for a current program to fork() itself, thereby creating a separate process. The process that called fork() is known as the parent process, and the newly created process is known as the child process. The child process, which begins its life as a copy of the parent process, can be "replaced". In UNIX, the first program that is executed after booting finishes is the init process. This process will fork() and load the getty program over the child process, thereby creating a process which will prompt the user for a password. Since a call to fork() creates a child process which is in essence the same as the parent process, it is necessary to determine (from within the process) which process is the child, and which is the parent. Upon successful execution, the fork() call returns the child's Process ID in the parent process, and a 0 in the child process. You can then use the child to execute a system call, such as running another program (or whatever you needed a second process for). If you are using pipes (for communication between the child and parent process), make sure you have the parent wait for it. --- In open source programming, a fork is a separate project that starts as a copy of another one. If the developers have it out with one another, or a developer wants to take the project in a different direction, then they copy the source code to a new repository and work on it there, completely separate from the original project.


Is a fork simple machine?

A fork is mainly a lever. But also a wedge, when you jam it into something.