0% found this document useful (0 votes)
101 views

Lab Report - 9 - OS

This lab report summarizes Operating System Lab 10 activities performed by Muhammad Fakhar Ali for his BSCS 5th semester evening program at National University of Modern Languages (NUML) Islamabad. The lab exercises included using top to view running processes, sorting top by memory usage, restricting top to the student's processes, killing a non-essential process, listing all processes with ps including command lines, and using ps and pstree to display processes in a tree format.

Uploaded by

Hafiz AB
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views

Lab Report - 9 - OS

This lab report summarizes Operating System Lab 10 activities performed by Muhammad Fakhar Ali for his BSCS 5th semester evening program at National University of Modern Languages (NUML) Islamabad. The lab exercises included using top to view running processes, sorting top by memory usage, restricting top to the student's processes, killing a non-essential process, listing all processes with ps including command lines, and using ps and pstree to display processes in a tree format.

Uploaded by

Hafiz AB
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

National University of Modern

Languages (NUML), Islamabad.

Lab Report – IX
Lab 10
Subject:
Operating System
Submitted To:
Sir Zain Ul Abideen
Submitted By:
Muhammad Fakhar Ali
Roll Number - 2085
Program & Semester:
BSCS & 5th (Evening)
Lab Exercise No.10
a. Use top to show the processes running on your machine.
b. Make top sort by memory usage, so that the most memory-hungry processes appear at the
top.
c. Restrict the display to show only processes owned by you.
d. Try killing one of your processes (make sure it’s nothing important).
e. Display a list of all the processes running on the machine using ps (displaying the full
command line for them).
f. Get the same listing as a tree, using both ps and pstree. g. Have ps sort the output by system
time used.

You might also like