Hi.
And welcome back to this video.
So in this lesson, we are going to see some performance monitoring and statistics command of our Linux
operating system.
To begin with.
We are going to see the first command, which is top.
When I hit Enter, you will be able to see and manage the top processes which are been running into
your system.
As you can see, the PID, which is the process ID, the user which is running the process and the command
which has been run.
As you can see over here, all these commands are system commands which are been running.
Now to come out of this, you simply have to press the button, which is Q Which means quit.
Perfect, let's move on.
And now you can use a similar command, which is each top.
Now this command is the alternative to top command.
And when you hit top and hit enter, you can see interactive processes viewer which means the processes
that are being running currently and are being interacted, you will be able to see everything over
here.
It gives a very good overview of the current memory and the process that are being running perfect.
If you want to come out of this as well, hit queue.
Now if you want to display the processor related statistics and want to know more information about
the processor, simply type MP stack space one and hit enter and you will be able to see the details
about your processor over here.
As you can see, this is the output of the CPU, as you can see over here.
Perfect.
If you want to come out of this, simply press control.
See, now, if you want to display the virtual memory and information about it, simply type VM Stat
Space one and hit enter.
And over here you will be able to see enough information about the virtual memory that has been running
into your operating system.
Similarly, if you want to know the I-O statistics about the computer, you can simply type IO stat
space one and hit enter and you will be able to see the input output statistics of this computer, the
devices that are being collected, the devices which are being connected to the system and its IOC stats.
Perfect.
Let's move ahead.
And now let me just clear the screen for you.
Now, if you want to display the last 100 system log messages, which can also be seen using the command,
which is.
Get space.
What log?
And syslog and hit enter.
Now here you can see these are all the system log messages that has happened into this computer.
If you want only the last ten or last 20, you can simply type tale hyphen ten because you want to see
the last ten messages and then hit enter.
And you can see these are the last ten system log that has happened into your computer.