Differentiating heavyweight and lightweight process
Course:- Programming Languages
Reference No.:- EM1363055

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> Programming Languages

1. What is the difference between a heavyweight and a lightweight process? Give an example of where heavyweight processes are appropriate, and one where lightweight processes are. In each example, make clear why one or the other is more suitable.

2. Show how a Unix or NACHOS shell would implement the following command line:

ls -l *.c > log

You need to show in your answer that you understand Unix or NACHOS process management (pick one or the other), and that you understand how the shell works. As a result, you should be explicit about all aspects pertaining to process management and the shell, and avoid lengthy discussions of peripheral topics. Be explicit about which system calls are used, where relevant information is kept, process states, who interprets what information, etc. Be explicit about where different parts of the command line (-l, the wildcard, etc.) are interpreted and/or handled. But don't explain how the command line is parsed, or how exactly the executable file is read into memory, once it is found.

Put your comment

Ask Question & Get Answers from Experts
Browse some more (Programming Languages) Materials
Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. When the program begins, the user is asked to seed the random number generator
Develop a domain-specific language within Ruby, such as for manipulating files in a directory system, editing files, generating quizzes, describing graphical or geographical
Provide the example of the Array and how it could be used. Then look over sections on ArrayLists. Would an ArrayList be better suited for your use?
If you execute ls -ld on the project38" directory, what will the permissions string contain? If you execute ls -l on the iapp_v_8 file contained in project38 , what will the p
Write a (non-abstract) subclass, ApartmentHouse, containing: a constructor accepting a double, passed to the superclass constructor, and an int used to initialize numberOfApar
Write a program that will accepts a list of student's name, individual scores for quiz1, quiz2 and quiz3. Your program should then compute for the average of 3 quizzes.
Suppose that the ArrayList of integers named has been declared and initialized. Write single statement which assigns a new value to first element of the ArrayList.
Write procedure called Str_nextword to scan string for first occurrence of a certain delimiter character and replaces the delimiter with a null byte.