1 00:00:00,900 --> 00:00:01,530 Hi. 2 00:00:01,530 --> 00:00:03,240 And welcome back to this video. 3 00:00:03,390 --> 00:00:10,770 So in this lesson, we are going to see some performance monitoring and statistics command of our Linux 4 00:00:10,770 --> 00:00:11,880 operating system. 5 00:00:12,180 --> 00:00:13,140 To begin with. 6 00:00:13,140 --> 00:00:15,990 We are going to see the first command, which is top. 7 00:00:16,470 --> 00:00:24,300 When I hit Enter, you will be able to see and manage the top processes which are been running into 8 00:00:24,300 --> 00:00:25,410 your system. 9 00:00:25,470 --> 00:00:33,000 As you can see, the PID, which is the process ID, the user which is running the process and the command 10 00:00:33,000 --> 00:00:34,050 which has been run. 11 00:00:34,350 --> 00:00:39,870 As you can see over here, all these commands are system commands which are been running. 12 00:00:40,110 --> 00:00:47,070 Now to come out of this, you simply have to press the button, which is Q Which means quit. 13 00:00:47,580 --> 00:00:49,710 Perfect, let's move on. 14 00:00:49,710 --> 00:00:54,030 And now you can use a similar command, which is each top. 15 00:00:54,300 --> 00:00:57,810 Now this command is the alternative to top command. 16 00:00:58,170 --> 00:01:07,680 And when you hit top and hit enter, you can see interactive processes viewer which means the processes 17 00:01:07,680 --> 00:01:13,860 that are being running currently and are being interacted, you will be able to see everything over 18 00:01:13,860 --> 00:01:14,400 here. 19 00:01:14,640 --> 00:01:22,920 It gives a very good overview of the current memory and the process that are being running perfect. 20 00:01:23,280 --> 00:01:27,090 If you want to come out of this as well, hit queue. 21 00:01:27,960 --> 00:01:34,650 Now if you want to display the processor related statistics and want to know more information about 22 00:01:34,650 --> 00:01:43,830 the processor, simply type MP stack space one and hit enter and you will be able to see the details 23 00:01:43,830 --> 00:01:46,110 about your processor over here. 24 00:01:46,110 --> 00:01:51,960 As you can see, this is the output of the CPU, as you can see over here. 25 00:01:52,170 --> 00:01:52,920 Perfect. 26 00:01:53,250 --> 00:01:56,310 If you want to come out of this, simply press control. 27 00:01:56,340 --> 00:02:04,500 See, now, if you want to display the virtual memory and information about it, simply type VM Stat 28 00:02:04,500 --> 00:02:06,750 Space one and hit enter. 29 00:02:06,750 --> 00:02:13,320 And over here you will be able to see enough information about the virtual memory that has been running 30 00:02:13,320 --> 00:02:14,940 into your operating system. 31 00:02:15,750 --> 00:02:22,260 Similarly, if you want to know the I-O statistics about the computer, you can simply type IO stat 32 00:02:22,260 --> 00:02:30,000 space one and hit enter and you will be able to see the input output statistics of this computer, the 33 00:02:30,000 --> 00:02:35,850 devices that are being collected, the devices which are being connected to the system and its IOC stats. 34 00:02:36,180 --> 00:02:36,840 Perfect. 35 00:02:37,050 --> 00:02:38,460 Let's move ahead. 36 00:02:38,490 --> 00:02:41,340 And now let me just clear the screen for you. 37 00:02:42,210 --> 00:02:50,340 Now, if you want to display the last 100 system log messages, which can also be seen using the command, 38 00:02:50,340 --> 00:02:51,300 which is. 39 00:02:52,340 --> 00:02:53,960 Get space. 40 00:02:53,990 --> 00:02:56,600 What log? 41 00:02:58,970 --> 00:03:01,490 And syslog and hit enter. 42 00:03:01,610 --> 00:03:09,170 Now here you can see these are all the system log messages that has happened into this computer. 43 00:03:09,590 --> 00:03:17,750 If you want only the last ten or last 20, you can simply type tale hyphen ten because you want to see 44 00:03:17,750 --> 00:03:20,330 the last ten messages and then hit enter. 45 00:03:20,330 --> 00:03:28,250 And you can see these are the last ten system log that has happened into your computer.