Managing Processes – Linux Tutorial 13
Welcome to the Linux Operations Manager tutorial video What is the process? An instance of the program is called a process in any simple conditions What you give to your Linux machine starts a [new] process [for example] When you launch presentations to write an article, they create this process and you can have several Processes Aka instances of the same program There are two types of operations that are first introduced On the screen and you need input from the user [a] example of the Office programs The second One background is the processes out there in the background and usually you do not need to enter the user whom an example is You can start an Introductory process from either the Dashboard or you can run it from Terminal Services Even if you want to run [Badge] your Media Player media player, you can go to – Type in the doom and You can play Media Player this way Otherwise you can go to the station and Type in Banshee and execute commands When you use the device, you will have to wait until the Forefront process is running If you start in the foreground Operation or program from the terminal, and you can not work on the station until the program is run and run to avoid such? The [You] mode can run the program and send it to the background so that [Terminal] Remains are available to you, let's learn how To do this To run a process on a background, you need to start the program by typing in the Main Command Once the program is executed, you will need to provide CTRl + Z after that Type Bg to send the operation to the background even if we try it on the terminal? We need to place the command name for the process or program When the operation starts, we need to press CTrl + z which will stop the operation Then we need to write Bg to send the process back to the background In this way, you can send the process back to the background and keep the terminal free, where you can use the FG Command to continue a program Which stopped and brought him to the foreground The simple syntax of this tool, is Fg.
Space Name and Function An example of this is Q.
We will launch banshee Media Player stop the Process and Then? We will write in Fg to follow the process on the front? Let's look at some other important commands to manage operations that start with the top of this tool The user tells about all processes running on a Linux machine so when We run this [Utility] on the machine where you will find many fields with different shortcuts that we will learn one by one? Therefore, starting with Pid, the process ID for each task is You can see here that it is different for each task or process The user is the user of the task name, the owner So it can vary from root to as many, user accounts you have on your Linux system Public relations.
Is the priority Could it be 20 that would be higher or minus 20 which would be less and? I am a nice value for the task vi rt to read On [Screen] is the virtual memory used to show memory in The kilobytes are the reuse of physical memory as they also appear in kilobytes [H] [R] is a shared memory used and it also appears in Kilobytes O is the situation there are five kinds of the same type I d is who says Intermittent sleep [Our] is streaming? S is sleep T is tracked or stopped and another Z is Zombie The percentage you see is the percentage of [CPU] time The percentage of memory is the physical memory used Time Plus tells us the total CPU time and command is the command name Will we discuss some of these fields in this tutorial? next one One Ps utility is this utility for the process state Looks like the task manager that pops up in Windows when we use CTRl + alt + delete? This command is similar to the top command, but the information displayed is different You can use these in Texas with PS driving This is to try them so check out all the processes that are running under the user you need to use this command He will give us all the information On the processes and programs running under Guru 99 you can Also check the status of the process for one process using Pid But first, we need to find a Pid of a Process that we can do by typing Pid of Space operation name Here we will write in the doom and check out his Pid So two say seven eight three So let's go forward and check the operation status of this one operation So you can get information about the status of one operation This command completes running operations on the Linux system The wholesale kill command is Kane Space PID To use this tool again, you need to [know] Pid for the operation you want to kill Let's try it with an example let's say We have Mozilla Firefox running on our system and we want to kill it using the station? This is why you need to know the program's Pid program Fox of fire And now We know Pid for the Firefox program Let's go ahead and spend it? If the device is not returned with an error, it indicates that the program has been terminated Successfully Linux can run lots of processes at a time that can slow the speed of some HiGh-Priority Operations and results in poor performance to [avoid] [this] you can tell your machine Prioritize operations according to your requirements This preference is called Niceness and Linux and has a value between Minus From 20 to 19, the lower the tendency, the higher the priority Default value for all operations IS  To start a process with an Iceless value other than the default value that you need to use the following syntax Says Nice Space – n Then the nice value and then the process name if there are some processes already running on the system you can I realize its worth using the formula Let's understand it through an example so let's [launch] banshee Media Player with A A nice value other than the default value is [zero] here We chose 19 as a nice value for this? The program now let's run it Now that you have cleaned your device using the [clear] command, we will now run the Top Utility and Check the Niceness Value of the Program Pessimism So here we have a banshee media player and the value of its presence shows 19 Now to realize the value of a process that is already running We need to know Pid as it shows here The Pid for The Banshee Media Player Is 3 8 4 4 So let's go ahead and realize its value from 19 to minus 20 so we need to write sudo [I realize] then the new Nice value that will be 20 here then – P.
Then the Pid that was three eight four four times we perform this command? Sudo will ask for your password When entering the password The terminal would tell us that a nice value of ID process [three] [eight] [four] [four] have Change from 19 to minus 20 This is how you can prioritize processes that run on your Linux system and make them more efficient Go to the df utility that it assumes free disk space on each system file says the syntax Defender When you run this tool, we will see all file systems on our site? Computer with used and available disk [space] If you want the information above in a readable format [in], you can use the df utility with this option You can now see the total size used and the available disk space on your computer This command shows free and [used] memory on Linux system you can use free arguments Space – M Displays output in megabytes or you can use free space – Gene to display output in gigabytes.
Let's try it, so, if we write for free Space – the enemy, we will see that the total memory on the system is one thousand two megabytes and outside it? 860 MB has been used this way that you can check the free and use RAM on your Linux system Let us summarize quickly any learning program or a specific linux order called process A The process can be run in the foreground or background The priority index is called the Nice and Linux Process Its default value is 0 and can vary from 20 to minus 19 The higher the "kindness" index, the higher the priority Let's go, through the facilities as well Bg Command sends a process to the background of the [Fg] command to run a stop operation in the foreground Use Top to get details about all active processes Note: It gives the status of ongoing processes to the end user Ps Pid space would give a given process mode PID is disabled as the process name gives process space The process identifier or program kills Space Pid to terminate a process or program A nice program starts with a certain priority Processes already running Process df provides you with hard disk space Information about your system is free because free ram data on your system thanks for watching this tutorial [I] hope to see you in the next stage You are.