03-134161-024 OS Lab7.docx - Bahria University Lahore Campus Department of Computer Sciences Lab Journal 07(Fall 2018 Course Course Code Faculty\u2019s

03-134161-024 OS Lab7.docx - Bahria University Lahore...

This preview shows page 1 - 3 out of 6 pages.

Bahria University, Lahore Campus Department of Computer Sciences Lab Journal 07 (Fall 2018) Course: Operating System Lab Date: Course Code: CSL - 320 Max Marks: 40 Faculty’s Name: Miss Nighat Usman Lab Engineer: Shoaib Khan Name: Muhammad Usman Khalid Enroll No: 03-134161-024 Objective(s) : To write a program to create a process in LINUX. To create child with sleep command. To understand getpid( ) and getppid( ). Lab Tasks : Task 1 : Write the output of program for process creation using fork command. Task 2: Write the output of a program for execution of ls command using exec. Task 3 : Write the output of a program illustrating the sleep command during process creation. Task 4 : Write the output of the program for getting the pid and ppid while using the sleep command. Lab Grading Sheet : Task Max Mark s Obtained Marks Comments( if any ) 1. 10 2. 10 3. 10 4. 10 Total 40 Signature Note : Attempt all tasks and get them checked by your Lab. Instructor
Image of page 1
Lab Manual Operating System | CSL-320 Task 1 Write the output of a program for process creation using fork command.
Image of page 2
Image of page 3

You've reached the end of your free preview.

Want to read all 6 pages?

  • Fall '18
  • Zia Ul Rehman
  • Parent process, lab tasks

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture