Found 1436 Articles for Linux

Linux Process Monitoring

Arnab Chakraborty
Updated on 11-Oct-2019 13:29:29

2K+ Views

In Linux, Top command is utilized to monitor Linux Process which is used frequently used by many systems. It is available under many Linux, Unix like operating system. All the running and active real-time processes in ordered list is displayed and updates it regularly by this Top command. display CPU usage, Swap memory, Cache Size, Buffer Size,Process PID, User, Commands and much more. It shows high memory and CPU utilization of running processes in your machine.The following command to monitor Linux Process is typed and it should access root permission.#topThe output should be like this –

Init process on UNIX and Linux systems

Arnab Chakraborty
Updated on 11-Oct-2019 13:28:00

6K+ Views

Init is the parent of all processes, executed by the kernel during the booting of a system. Its principle role is to create processes from a script stored in the file /etc/inittab. It usually has entries which cause init to spawn gettys on each line that users can log in. It controls autonomous processes required by any particular system.After reading this file, how the system should be set up in each runlevel is determined by init and also set default runlevel. Init starts all background process after setting default runlevel for the system.RunlevelsRunlevel, a software configuration of the system which allows ... Read More

What are Named Pipes or FIFO in Linux/Unix systems?

Arnab Chakraborty
Updated on 11-Oct-2019 13:23:28

2K+ Views

Pipes were meant for communication between related processes. We Cannot use pipes for unrelated process communication. Then to achieve unrelated processes communication, the simple answer is Named Pipes. Even though this works for related processes, it gives no meaning to use the named pipes for related process communication.Unlike pipe, we can use single named pipe that can be used for two-way communication (communication between the server and the client, plus the client and the server at the same time) as Named Pipe supports bi-directional communication.Another name for named pipe is FIFO (First-In-First-Out). Let us see the system call (mknod()) to ... Read More

How to create a process in Linux?

Arnab Chakraborty
Updated on 31-Jan-2020 10:54:58

10K+ Views

A program loaded into memory and executing is called a process. In simple, a process is a program in execution.Let’s inspect how to create a process in LinuxA new process can be created by the fork() system call. The new process consists of a copy of the address space of the original process. fork() creates new process from existing process. Existing process is called the parent process and the process is created newly is called child process. The function is called from parent process. Both the parent and the child processes continue execution at the instruction after the fork(), the ... Read More

Process Representation in Linux System

Arnab Chakraborty
Updated on 11-Oct-2019 13:06:54

754 Views

Linux can manage the processes in the system, each process is represented by a task_struct C data structure. It is found in the include file in the kernel source-code directory. The task vector is an array of pointers to every task_struct data structure in the system. As well as the normal type of process, Linux supports real time processes. All the required information i.e; the state of the process, scheduling and memory-management information, list of open files, and pointers to the process’s parent and a list of its children and siblings are contained in this structure.A process who creates ... Read More

What are the fundamental differences between Windows and Linux?

Arnab Chakraborty
Updated on 11-Oct-2019 12:26:28

393 Views

WindowsThe window operating system is the extension of the disk operating system.Windows is the most popular and simplest operating system which can be used by any person who can read and understand basic English, as it does not require any special training.It requires DOS to run the various application programs initially. So, DOS should be installed into the memory and then window can be executed.LinuxLinux is one of popular version of UNIX operating System which is open source as its source code is freely available. It is free to use and wasdesigned considering UNIX compatibility. Linux’s functionality list is quite ... Read More

Advertisements