EmbLogic's Blog

Process management(Duplicating process image using fork system call)

RCS file: ./2fork.c,v
Working file: ./2fork.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
basic fork implementation
—————————-
revision 1.2 locked by: root;
date: 2014/10/14 21:23:34; author: root; state: Exp; lines: +1 -1
print pid and ppid of the processes using getpid and getppid
—————————-
revision 1.1
date: 2014/10/14 21:22:38; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: ./3fork.c,v
Working file: ./3fork.c
head: 1.3
branch:
locks: strict
root: 1.3
access list:
symbolic names:
keyword substitution: kv
total revisions: 3; selected revisions: 3
description:
fork implentation to understand Zombie process and orphan process
—————————-
revision 1.3 locked by: root;
date: 2014/10/14 21:48:51; author: root; state: Exp; lines: +1 -1
comment on the zombie process
—————————-
revision 1.2
date: 2014/10/14 21:38:47; author: root; state: Exp; lines: +3 -2
understand zombie process
—————————-
revision 1.1
date: 2014/10/14 21:27:28; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: ./4fork.c,v
Working file: ./4fork.c
head: 1.2
branch:
locks: strict
root: 1.2
access list:
symbolic names:
keyword substitution: kv
total revisions: 2; selected revisions: 2
description:
implementation of wait and exit call to overcome orphan process
—————————-
revision 1.2 locked by: root;
date: 2014/10/14 21:17:42; author: root; state: Exp; lines: +2 -2
comments on wait call
—————————-
revision 1.1
date: 2014/10/14 20:54:32; author: root; state: Exp;
Initial revision
=============================================================================

RCS file: ./5fork.c,v
Working file: ./5fork.c
head: 1.1
branch:
locks: strict
root: 1.1
access list:
symbolic names:
keyword substitution: kv
total revisions: 1; selected revisions: 1
description:
use of waitpid system call in place of wait to wait for specific child process to be terminated
—————————-
revision 1.1 locked by: root;
date: 2014/10/15 02:02:27; author: root; state: Exp;
Initial revision
=============================================================================
[root@VIPIN classassignment]#

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>