system call

Socket programming using the select system call

1.0 Client-Server Paradigm The Client-Server paradigm divides the software architecture of a system in two parts, the server and its clients. The server works in the background and maintains the system-wide database. Using the database, it provides the functions for system operation and responses to queries from the clients. The clients provide the user interface …

Socket programming using the select system call Read More »

fork and exec system calls in Linux

1.0 fork and exec system calls Suppose we wish to write a “shell program” which would execute another program. Now, in a computing system, a process executes a program. So this shell program (or, process, at run time) needs to create a process which would execute a program. Here, two system calls are of interest, …

fork and exec system calls in Linux Read More »

Linux process execution time

Execution time A process has an execution time associated with it. The execution time comprises of two parts, the user time and the system time. The user time is the time spent by the CPU in executing instructions in user mode. The system time is the time spent by the CPU in executing instructions on …

Linux process execution time Read More »