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 being
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 being 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 we can
use a similar command which is H top. Now
this command is the alternative to
top command.
And when you hit H stop 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 Q.
Now if you want to display the processor related statistics
and want to know more information
about the processor simply type MP stat
Space 1 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 Ctrl
C. Now, if you want to display the
virtual memory and information about
it, simply type VM start Space 1
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 io 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 connected the devices
which are being connected to the system and it's
IO stats
Perfect. Let's move ahead and now
let me just clear the screen for you.
Now if you want to display the last hundred system
log messages.
which can also be seen using the command which is
cat space War
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 10 or last
twenty you can simply type tail hyphen
10 because you want to see the last 10
messages and then hit enter and you can see the are
the last 10 system login that
has happened into your
computer.