Found 2065 Articles for Operating System

Basic Security Tips to Protect Linux System

Satish Kumar
Updated on 10-Apr-2023 10:18:33

194 Views

Linux is a popular operating system that is used for various purposes, including servers, desktops, and mobile devices. With its open-source nature and robust security features, Linux is generally considered to be more secure than other operating systems. However, this does not mean that Linux is immune to security risks. Like any other operating system, Linux can be vulnerable to cyber attacks if it is not properly secured. In this article, we will discuss some basic security tips that you can use to protect your Linux system. Keep Your System Up-to-date The first and foremost step to secure your Linux ... Read More

Bashtop – A Resource Monitoring Tool for Linux

Satish Kumar
Updated on 10-Apr-2023 10:17:47

361 Views

If you are a Linux user, you may have experienced some difficulties when it comes to monitoring system resources. Keeping track of CPU usage, memory usage, network activity, and other important system statistics can be a challenging task. Fortunately, there are several open-source tools available that make it easy to monitor system resources. In this article, we will be discussing one such tool – Bashtop. What is Bashtop? Bashtop is a resource monitoring tool for Linux that provides real-time information on system resources. It is a terminal-based application that displays a live graph of system resources usage, making it easy ... Read More

bashrc vs. bash_profile What Is Difference

Satish Kumar
Updated on 11-Apr-2023 09:51:15

9K+ Views

If you're new to command line interface, you may have come across terms bashrc and bash_profile. These are important files that can be found in your home directory and are used to customize your shell environment. However, many users are often confused about differences between these two files. In this article, we'll dive into differences between bashrc and bash_profile, and explain how they work. What is Bashrc? Bashrc is a configuration file for Bash shell, which is default shell on most Linux distributions and macOS. This file is executed each time you open a new terminal window, and it contains ... Read More

File Allocation Methods

Arnab Chakraborty
Updated on 07-Apr-2023 16:14:47

20K+ Views

File allocation methods refer to the strategies employed by computer operating systems for the efficient distribution of storage space on disks or other storage media. Their main objective is to optimize the utilization of available space and minimize fragmentation, which can impede file access and decrease the overall performance of the system. There are several different file allocation methods that are commonly used, each with its own strengths and weaknesses. Contiguous File Allocation In this method, files are stored in a continuous block of free space on the disk meaning that all the data for a particular file is ... Read More

Disc Scheduling Algorithms

Arnab Chakraborty
Updated on 07-Apr-2023 16:12:26

16K+ Views

Disc scheduling is an important process in operating systems that determines the order in which disk access requests are serviced. The objective of disc scheduling is to minimize the time it takes to access data on the disk and to minimize the time it takes to complete a disk access request. Disk access time is determined by two factors: seek time and rotational latency. Seek time is the time it takes for the disk head to move to the desired location on the disk, while rotational latency is the time taken by the disk to rotate the desired data sector ... Read More

Disk Management in Operating System

Arnab Chakraborty
Updated on 07-Apr-2023 16:09:40

8K+ Views

As a computer user, you might have noticed that your computer's hard drive can become cluttered and slow over time. This is where disk management comes into play. Disk management is a process used by your computer's operating system to manage the storage of your data on your hard drive. In this article, we will simplify the concept of disk management and explore the different tasks involved in managing your hard drive. We will also discuss the tools available to help you manage your hard drive and some simple tips to keep your hard drive running smoothly. Definition of Disk ... Read More

Dining-Philosphers Solution using Monitors

Arnab Chakraborty
Updated on 07-Apr-2023 16:07:56

7K+ Views

An operating system is software that manages every single aspect of a computer so that it can function smoothly and properly. Because of this reason, the OS has to perform several tasks simultaneously. Doing simultaneous tasks isn’t really a problem for the OS but when this simultaneous task uses a common resource, then it becomes a mishap. To overcome this situation synchronization is introduced, which basically manages the processes that share the same resource. Dining Philosophers problem is a classic synchronization problem. What is Dining Philosophers Problem? The story behind Dining Philosophers problem is that it represents a scenario where ... Read More

Deadlock, Starvation & LiveLock

Arnab Chakraborty
Updated on 07-Apr-2023 16:06:41

3K+ Views

In operating system, there are some common types of "stucking" situations. Among these, Deadlock, Starvation, and Livelock are three well-known terms. Deadlock, Starvation, and Livelock are related concepts in computer science that deal with synchronization issues in concurrent systems. Understanding these concepts is important for designing and implementing correct and efficient concurrent systems. Deadlock − A situation where two or more processes are waiting for each other to release a resource, creating a standstill. In other words, each process is holding a resource that the other process needs, and both are waiting for the other to release the resource. ... Read More

Deadlock System Model

Arnab Chakraborty
Updated on 06-Apr-2023 18:24:20

8K+ Views

In a computer system a deadlock is where two or more processes are unable to proceed because each process is waiting for the other to release a resource that it needs to continue execution. In other words, a deadlock occurs when two or more processes are in a circular wait state, and none of them can release the resources they hold until they receive the resources they are waiting for. Deadlock System Model − The Deadlock System model is a way to describe and analyze systems that may be prone to deadlocks, which occur when two or more processes are ... Read More

Difference between Deadlock Prevention and Deadlock Avoidance

Arnab Chakraborty
Updated on 06-Apr-2023 18:23:49

8K+ Views

Deadlock prevention and avoidance are crucial in operating systems because they help ensure that the system can continue to operate without being stuck in a deadlock. Deadlocks can cause a system-wide halt, leading to loss of data, system downtime, and reduced productivity. Therefore, it is essential to prevent or avoid deadlocks in a computer system to maintain its availability and reliability. Key Areas Covered What is Deadlock? What is Deadlock Prevention? Advantages and Disadvantages of Deadlock Prevention What is Deadlock Avoidance? Advantages and Disadvantages of Deadlock Avoidance Comparison between Deadlock Prevention and Deadlock Avoidance What is Deadlock? Deadlock ... Read More

Advertisements