WEBVTT - This file was automatically generated by VIMEO

0
00:00:13.400 --> 00:00:16.300
Hi and welcome back to this video.

1
00:00:16.300 --> 00:00:19.700
 So in this lesson, we are going to see some

2
00:00:19.700 --> 00:00:22.700
 performance monitoring and statistics command

3
00:00:22.700 --> 00:00:25.100
 of our Linux operating system.

4
00:00:25.800 --> 00:00:28.300
To begin with we are going to see the First Command which

5
00:00:28.300 --> 00:00:29.200
 is top.

6
00:00:30.200 --> 00:00:34.000
When I hit enter you will be able to see and manage

7
00:00:33.200 --> 00:00:36.500
 the top processes which are being

8
00:00:36.500 --> 00:00:39.400
 running into your system. As you

9
00:00:39.400 --> 00:00:43.000
 can see the PID which is the process ID the

10
00:00:42.500 --> 00:00:46.000
 user which is running the process and the

11
00:00:45.400 --> 00:00:48.200
 command which has been run as you

12
00:00:48.200 --> 00:00:52.000
 can see over here. All these commands are system commands

13
00:00:51.200 --> 00:00:54.800
 which are being running now to come

14
00:00:54.800 --> 00:00:57.200
 out of this you simply have to press the

15
00:00:57.200 --> 00:01:00.200
 button which is Q which means quit

16
00:01:01.100 --> 00:01:04.500
Perfect. Let's move on and now we can

17
00:01:04.500 --> 00:01:08.100
 use a similar command which is H top. Now

18
00:01:07.100 --> 00:01:10.400
 this command is the alternative to

19
00:01:10.400 --> 00:01:11.100
 top command.

20
00:01:11.800 --> 00:01:14.200
And when you hit H stop and hit

21
00:01:14.200 --> 00:01:14.500
 enter.

22
00:01:15.700 --> 00:01:19.300
You can see interactive processes viewer

23
00:01:18.300 --> 00:01:21.400
 which means the processes that

24
00:01:21.400 --> 00:01:25.300
 are being running currently and are being interacted. You

25
00:01:24.300 --> 00:01:27.500
 will be able to see everything over here.

26
00:01:27.500 --> 00:01:30.700
 It gives a very good overview of

27
00:01:30.700 --> 00:01:33.200
 the current memory and the

28
00:01:33.200 --> 00:01:36.000
 process that are being running. Perfect.

29
00:01:36.900 --> 00:01:40.400
If you want to come out of this as well hit Q.

30
00:01:41.400 --> 00:01:45.500
Now if you want to display the processor related statistics

31
00:01:44.500 --> 00:01:47.600
 and want to know more information

32
00:01:47.600 --> 00:01:51.800
 about the processor simply type MP stat

33
00:01:50.800 --> 00:01:53.500
 Space 1 and

34
00:01:53.500 --> 00:01:57.300
 hit enter and you will be able to see the details

35
00:01:56.300 --> 00:01:59.300
 about your processor over here

36
00:01:59.300 --> 00:02:02.600
 as you can see. This is the output of the

37
00:02:02.600 --> 00:02:03.200
 CPU.

38
00:02:03.900 --> 00:02:07.000
As you can see over here, perfect. If

39
00:02:06.100 --> 00:02:09.900
 you want to come out of this simply, press Ctrl

40
00:02:09.900 --> 00:02:12.600
 C. Now, if you want to display the

41
00:02:12.600 --> 00:02:15.500
 virtual memory and information about

42
00:02:15.500 --> 00:02:18.800
 it, simply type VM start Space 1

43
00:02:18.800 --> 00:02:21.500
 and hit enter and over here, you

44
00:02:21.500 --> 00:02:24.600
 will be able to see enough information about the

45
00:02:24.600 --> 00:02:27.300
 virtual memory that has been running into your

46
00:02:27.300 --> 00:02:30.500
 operating system. Similarly. If you

47
00:02:30.500 --> 00:02:33.400
 want to know the io statistics about the

48
00:02:33.400 --> 00:02:36.500
 computer you can simply type IO stat space one

49
00:02:36.500 --> 00:02:39.300
 and hit enter and you will be able to see

50
00:02:39.300 --> 00:02:42.700
 the input output statistics of this computer

51
00:02:42.700 --> 00:02:45.800
 the devices that are being connected the devices

52
00:02:45.800 --> 00:02:48.200
 which are being connected to the system and it's

53
00:02:48.200 --> 00:02:49.200
 IO stats

54
00:02:49.700 --> 00:02:52.700
Perfect. Let's move ahead and now

55
00:02:52.700 --> 00:02:54.700
 let me just clear the screen for you.

56
00:02:55.700 --> 00:02:59.500
Now if you want to display the last hundred system

57
00:02:58.500 --> 00:03:00.300
 log messages.

58
00:03:01.300 --> 00:03:04.300
which can also be seen using the command which is

59
00:03:05.900 --> 00:03:08.200
cat space War

60
00:03:09.200 --> 00:03:09.700
log

61
00:03:12.500 --> 00:03:16.000
and syslog and hit enter now here

62
00:03:15.300 --> 00:03:18.300
 you can see these are all the

63
00:03:18.300 --> 00:03:21.500
 system log messages that has happened into

64
00:03:21.500 --> 00:03:22.100
 this computer.

65
00:03:22.900 --> 00:03:25.500
If you want only the last 10 or last

66
00:03:25.500 --> 00:03:29.100
 twenty you can simply type tail hyphen

67
00:03:28.100 --> 00:03:31.400
 10 because you want to see the last 10

68
00:03:31.400 --> 00:03:35.100
 messages and then hit enter and you can see the are

69
00:03:34.100 --> 00:03:38.700
 the last 10 system login that

70
00:03:37.700 --> 00:03:40.400
 has happened into your

71
00:03:40.400 --> 00:03:40.500
 computer.
