Tutor Quora

BN104 Operating Systems For Simple Deadlock Situation

Academic Anxiety?

Get an original paper within hours and nail the task

156 experts online

Free Samples

BN104 Operating Systems For Simple Deadlock Situation

.cms-body-content table{width:100%!important;} #subhidecontent{ position: relative;
overflow-x: auto;
width: 100%;}

BN104 Operating Systems For Simple Deadlock Situation

0 Download4 Pages / 980 Words

Course Code: BN104
University: Melbourne Institute Of Technology

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: Australia

Report on the basics,and provide examples,of operating systems structure and functionally,including memory allocation,virtual memory and device management.

The resource-allocation graph depicts a simple deadlock situation that has been bred up in a system with 4 processes (P-A, P-B, P-C and P-D) and 5 different resources or devices by the identifier (D1, D2, D3, D4 and D5). In this scenario, it is clear that a deadlock prominently exists.
Here, process P-A is waiting for device D1 whereas D1 is assigned to process P-B. P-B is holding onto D1 and in-turn waiting for device D3 to be released by P-C that is holding onto D2. P-B and P-D needs to two separate devices to complete their tasks. P-B is therefore holding onto a device D5 that is being requested by P-D. P-D has one resource held and hence it is requesting two other resources and hopes to get one of them. D3 is being requested by P-C but it is currently assigned to P-D which is also waiting for D4 and D5 that are allocated and held up by P-A and P-B respectively. P-B will not release D5 unless it is allowed access to D2.
Therefore, as it can be seen from the above scenario, none of the process will agree on leaving the devices or resources that they are holding onto unless they are assigned their wanted device. This will create a deadlock in the system.
File Management

I) The fmt command is used in LINUX as a formatter for the process of simplifying or optimizing the texts in a file. Files can be formatted in terms of their width or length. The fixed length technique is to implement the command fmt This will format the text in the file such that all one characters are out in the same line. The width option is used when the number of characters to be put per line is needed to be mentioned [6].

Syntax: fmt –w VALUE FILE_NAME
This will format the file such that the texts are broken to form new lines with VALUE number of characters per line.

II) Complete or absolute file naming is the process of providing the entire details of the path that leads to the file. Therefore, the naming starts at the root directory and travels into the sub-directories unless it reaches the file to be identified. The directories are traversed in the naming convention with the help of / symbols.

Relative file or path names are those that do not require the assistance of the complete path value to spot a directory or file. A relative path is generally characterized by naming convention that does not start with a /. This signifies that the file naming has been initiated from the current directory [1].
In this above path structure, considering that Home is the current working directory. The naming conventions for the file Work will be as follows.
Complete File name: /home/jono/work
Relative File name: jono/work 
chmod command
This UNIX command is used to change the system permissions on certain file system objects within a certain directory [2]. It may also be used in order to alter certain mod flags. It is an abbreviation used for the purpose that it server, “Change mode”.
chmod [Options]… Mode [,Mode]… file…
chmod [Options]… Numeric_Mode file…
4 = r (Read)
2 = w (Write)
1 = x (eXecute)
chmod [Options]… –reference=RFile file…
Eg 1: chmod 751 myFile.txt
This means User will have Read, Write and Executable permissions.
Group will have Read and Execute permissions.
Others will only have Executable permissions.
Eg 2: chmod u=rwx, g=rx, o=x tech
This option helps to sets the modes manually where r=read, w=write, x=exc
grep command
The grep command in UNIX is used to search for a particular pattern of text within the text of a specified file.
Syntax: grep [options] patternText [file or files]
Some major Options:
-c : This prints only a count of the lines that match a pattern
-w : Match whole word
 -i : Ignores, case for matching
Eg1: grep -i “BoY” myFile.txt
This will search for the String “boy” inside the file having ignored the alphabetical case.
Eg2: grep -w “Boy” myFile.txt
This will search for the String “Boy” inside the file and it must be present as an entire word.
ls command
This command helps to list out all the files and directories that exists within the particular working directory with required details.
Syntax: ls [option] [file]
Eg1: ls –l
This command will print out all the necessary information of the directory or files specified.
Eg2: ls
This command will display only the files and directories [5].
mkdir command
The mkdir command allows to create a new directory within the current working directory [8].
Syntax: mkdir directoryName
[1] Yerima, Suleiman Y., Sakir Sezer, and Igor Muttik. “High accuracy android malware detection using ensemble learning.” IET Information Security 9, no. 6 (2015): 313-320.
[2] Chirigati, Fernando, Rémi Rampin, Dennis Shasha, and Juliana Freire. “Reprozip: Computational reproducibility with ease.” In Proceedings of the 2016 International Conference on Management of Data, pp. 2085-2088. ACM, 2016.
[3] Kim, Sangman, Michael Z. Lee, Alan M. Dunn, Owen S. Hofmann, Xuan Wang, Emmett Witchel, and Donald E. Porter. “Improving server applications with system transactions.” In Proceedings of the 7th ACM european conference on Computer Systems, pp. 15-28. ACM, 2012.
[4] Li, ZhiWu, NaiQi Wu, and MengChu Zhou. “Deadlock control of automated manufacturing systems based on Petri nets—A literature review.” IEEE Transactions on Systems, Man, and [5] Cybernetics, Part C (Applications and Reviews) 42, no. 4 (2012): 437-462.
Abradi, Sam, Ian Naval, and Fredric Silberberg. “Augmented Unix Userland.” Major Qualifying (2015).
[6] Shotts Jr, William E. The Linux command line: a complete introduction. No Starch Press, 2012.
[7] Silberschatz, Abraham, Peter Baer Galvin, and Greg Gagne. Operating system concepts essentials. John Wiley & Sons, Inc., 2014.
[8] Gamma, Erich, Richard Helm, and John Vlissides. “Design patterns applied.”

Free Membership to World’s Largest Sample Bank

To View this & another 50000+ free samples. Please put
your valid email id.


Yes, alert me for offers and important updates


Download Sample Now

Earn back the money you have spent on the downloaded sample by uploading a unique assignment/study material/research material you have. After we assess the authenticity of the uploaded content, you will get 100% money back in your wallet within 7 days.

UploadUnique Document

DocumentUnder Evaluation

Get Moneyinto Your Wallet

Total 4 pages


*The content must not be available online or in our existing Database to qualify as

Cite This Work
To export a reference to this article please select a referencing stye below:


My Assignment Help. (2021). Operating Systems For Simple Deadlock Situation. Retrieved from https://myassignmenthelp.com/free-samples/bn104-operating-systems/simple-deadlock.html.

“Operating Systems For Simple Deadlock Situation.” My Assignment Help, 2021, https://myassignmenthelp.com/free-samples/bn104-operating-systems/simple-deadlock.html.

My Assignment Help (2021) Operating Systems For Simple Deadlock Situation [Online]. Available from: https://myassignmenthelp.com/free-samples/bn104-operating-systems/simple-deadlock.html[Accessed 18 December 2021].

My Assignment Help. ‘Operating Systems For Simple Deadlock Situation’ (My Assignment Help, 2021) accessed 18 December 2021.

My Assignment Help. Operating Systems For Simple Deadlock Situation [Internet]. My Assignment Help. 2021 [cited 18 December 2021]. Available from: https://myassignmenthelp.com/free-samples/bn104-operating-systems/simple-deadlock.html.

.close{position: absolute;right: 5px;z-index: 999;opacity: 1;color: #ff8b00;}


Thank you for your interest
The respective sample has been mail to your register email id


$20 Credited
successfully in your wallet.
* $5 to be used on order value more than $50. Valid for
only 1

Account created successfully!
We have sent login details on your registered email.



MyAssignmenthelp.com is a household name in the assignment help provider industry. Over the years, we have gained an online reputation for providing pocket-friendly accounting assignment help. We keep our writing service rates low so that every student can avail our assignment assistance. Moreover, we offer lucrative discounts and bonuses throughout the year. This involves signup bonus, referral bonus, and bulk order discounts.

Latest Management Samples

div#loaddata .card img {max-width: 100%;

MPM755 Building Success In Commerce
Download :
0 | Pages :

Course Code: MPM755
University: Deakin University

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: Australia

The process of developing a successful business entity requires a multidimensional analysis of several factors that relate to the internal and external environment in commerce. The areas covered in this current unit are essential in transforming the business perspective regarding the key commerce factors such as ethics, technology, culture, entrepreneurship, leadership, culture, and globalization (Nzelibe, 1996; Barza, 2…

SNM660 Evidence Based Practice
Download :
0 | Pages :

Course Code: SNM660
University: The University Of Sheffield

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: United Kingdom

Critical reflection on the objective, design, methodology and outcome of the research undertaken Assessment-I
Smoking and tobacco addiction is one of the few among the most basic general restorative issues, particularly to developed nations such as the UK. It has been represented that among all risk segments smoking is the fourth driving purpose behind infections and other several ailments like asthma, breathing and problems in the l…
Australia Maidstone Management Business management with marketing University of New South Wales Masters in Business Administration 

BSBHRM513 Manage Workforce Planning
Download :
0 | Pages :

Course Code: BSBHRM513
University: Tafe NSW

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: Australia

Task 1
1.0 Data on staff turnover and demographics
That includes the staffing information of JKL industries for the fiscal year of 2014-15, it can be said that the company is having problems related to employee turnover. For the role of Senior Manager in Sydney, the organization needs 4 managers; however, one manager is exiting. It will make one empty position which might hurt the decision making process. On the other hand, In Brisba…

MKT2031 Issues In Small Business And Entrepreneurship
Download :
0 | Pages :

Course Code: MKT2031
University: University Of Northampton

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: United Kingdom

Entrepreneurial ventures
Entrepreneurship is the capacity and willingness to develop, manage, and put in order operations of any business venture with an intention to make profits despite the risks that may be involved in such venture. Small and large businesses have a vital role to play in the overall performance of the economy. It is, therefore, necessary to consider the difference between entrepreneurial ventures, individual, and c…
Turkey Istanbul Management University of Employee Masters in Business Administration 

MN506 System Management
Download :
0 | Pages :

Course Code: MN506
University: Melbourne Institute Of Technology

MyAssignmentHelp.com is not sponsored or endorsed by this college or university

Country: Australia

An operating system (OS) is defined as a system software that is installed in the systems for the management of the hardware along with the other software resources. Every computer system and mobile device requires an operating system for functioning and execution of operations. There is a great use of mobile devices such as tablets and Smartphones that has increased. One of the widely used and implemented operating syste…
Australia Cheltenham Computer Science Litigation and Dispute Management University of New South Wales Information Technology 


Need an essay written specifically to meet your requirements?

Choose skilled experts on your subject and get an original paper within your deadline

156 experts online

Your time is important. Let us write you an essay from scratch

Tips and Tricks from our Blog

11174 Introduction To Management

Free Samples 11174 Introduction To Management .cms-body-content table{width:100%!important;} #subhidecontent{ position: relative; overflow-x: auto; width: 100%;} 11174 Introduction

Read More »