1 00:00:01,000 --> 00:00:03,120 Hello, everyone, in this demo. 2 00:00:03,220 --> 00:00:10,930 I'm going to talk about the processes, comments and Linux operating systems when we are on programs. 3 00:00:11,380 --> 00:00:14,740 We can define these programs as processes. 4 00:00:15,460 --> 00:00:23,680 Basically, we can say when we work on Linux operating systems, we can look and find that current processes 5 00:00:24,130 --> 00:00:25,450 that are running. 6 00:00:26,320 --> 00:00:33,370 We can run, for example, pierce command of top command in order to find processes that are currently 7 00:00:33,370 --> 00:00:33,760 running. 8 00:00:34,690 --> 00:00:41,740 If I would like to show a report, a snapshot of the current processes I under P.S. comment, as we 9 00:00:41,740 --> 00:00:47,860 can see here, the result or outcome of the peace command, we have the P i. 10 00:00:48,040 --> 00:00:48,490 D. 11 00:00:49,090 --> 00:00:55,120 Is the process I.D. t why is the name of the controlling terminal for the process. 12 00:00:56,090 --> 00:01:01,380 Time is the c.p.u time of the process, show it in minutes and seconds. 13 00:01:02,630 --> 00:01:04,010 And to see M.D.. 14 00:01:05,269 --> 00:01:10,740 Is the name of the command that was used to start the process. 15 00:01:12,400 --> 00:01:17,710 If I would like to run the PSC command with options, for example, I would like to was the option. 16 00:01:17,840 --> 00:01:27,130 And in order to display the processes of all users and also option you in order to provide detailed 17 00:01:27,550 --> 00:01:30,250 information about the processes. 18 00:01:31,090 --> 00:01:39,220 And also, I would like to use the option X in order to list the processes without a controlling terminal. 19 00:01:39,250 --> 00:01:40,180 Then I hit enter. 20 00:01:41,170 --> 00:01:46,370 As you can see here, these are all the processes that are currently running. 21 00:01:46,800 --> 00:01:47,940 Go at the top here. 22 00:01:48,370 --> 00:01:51,970 This is the command post in a U x. 23 00:01:52,570 --> 00:01:55,390 We have the column you user is. 24 00:01:56,660 --> 00:01:59,450 Is the user who runs the process. 25 00:01:59,660 --> 00:02:02,790 And we have the Persis idea here. 26 00:02:03,650 --> 00:02:10,820 We have the percentage C.P.U is the C.P.U utilization of the process. 27 00:02:11,000 --> 00:02:12,270 And then we have the percentage. 28 00:02:12,290 --> 00:02:16,820 Memory is the percentage of the physical memory on the machine. 29 00:02:17,450 --> 00:02:18,560 We have the V. 30 00:02:19,070 --> 00:02:24,290 S Z visual memory size of the process. 31 00:02:24,740 --> 00:02:26,090 In Kilobyte. 32 00:02:26,660 --> 00:02:28,310 Then we have the R. 33 00:02:28,820 --> 00:02:29,030 S. 34 00:02:29,120 --> 00:02:34,400 S the size of the physical memory that the process is using. 35 00:02:34,430 --> 00:02:41,270 Then we have where are the Experion about the T t why is the name of conjoining German for the process. 36 00:02:41,300 --> 00:02:44,170 And we have the start to the process. 37 00:02:45,510 --> 00:02:46,480 Is that good. 38 00:02:47,000 --> 00:02:52,730 So the start code here we have for example, the Z for Zombi. 39 00:02:52,730 --> 00:02:59,510 It means the process is not working or ESCs says sleeping or the the code. 40 00:02:59,570 --> 00:02:59,860 Ah. 41 00:02:59,990 --> 00:03:00,680 Which is running. 42 00:03:00,710 --> 00:03:02,090 So we have you sleeping. 43 00:03:02,840 --> 00:03:06,860 And if we have the R which is running or is it zombi. 44 00:03:06,860 --> 00:03:07,610 This for example. 45 00:03:08,360 --> 00:03:16,070 And do we have the Sakti of the time when the command started it, the time and the command that we 46 00:03:16,070 --> 00:03:20,750 are running now does move on to the next command. 47 00:03:21,230 --> 00:03:33,170 If I would like to run the Piesse with option Desh E in order to display the all the processes, then 48 00:03:33,170 --> 00:03:39,500 I would like to use the F option in order to file detailed information about the processes. 49 00:03:39,950 --> 00:03:40,910 And I hit enter. 50 00:03:42,390 --> 00:03:50,490 See here, it's different outcome than the previous comment that we have used, the peace and the option, 51 00:03:50,580 --> 00:03:56,850 a new X, and we can see here all the processes that are currently running when the system. 52 00:03:57,420 --> 00:03:58,890 You can't go here to the top. 53 00:03:59,640 --> 00:04:02,070 We have the user here. 54 00:04:02,070 --> 00:04:07,740 Is this guy similar to the user that we had in the previous command? 55 00:04:08,080 --> 00:04:09,080 The user, Colin. 56 00:04:09,690 --> 00:04:15,330 So this is the user who runs the process and puts this idea here. 57 00:04:15,710 --> 00:04:17,220 And we have a new call in here. 58 00:04:17,670 --> 00:04:22,740 BP, the BP I.D. is the idea of the parent process. 59 00:04:23,400 --> 00:04:30,600 And we have to see same as the percentage C.P.U, the process, C.P.U authorization. 60 00:04:30,960 --> 00:04:36,600 And we have this time here, same as the start, the time when the comments started. 61 00:04:36,630 --> 00:04:40,170 And terrorists we know and already have explained those comments. 62 00:04:41,890 --> 00:04:47,290 Let's move on now, if I would like to use the pipe. 63 00:04:48,660 --> 00:04:49,110 P. 64 00:04:49,260 --> 00:04:51,090 S dash. 65 00:04:51,190 --> 00:04:51,470 Yes. 66 00:04:51,550 --> 00:04:58,340 So I'm going to run the piesse then option dash e f then pipe less. 67 00:04:59,850 --> 00:05:01,730 So why did Dad? 68 00:05:01,770 --> 00:05:04,770 Because I would like to show just only one dish. 69 00:05:04,830 --> 00:05:07,110 As we can see here, we only have one page. 70 00:05:08,880 --> 00:05:12,820 If there is also another command, if I would like to use the P. 71 00:05:12,820 --> 00:05:23,630 S dash e f, then I use the pipe, then Grib I'm going to grab the user's stood in so I can watch what 72 00:05:23,640 --> 00:05:30,810 I can use the pipe with the grip command in order to show the processes that are belong to a specific 73 00:05:30,810 --> 00:05:31,260 user. 74 00:05:31,770 --> 00:05:32,970 So as we can see here. 75 00:05:33,720 --> 00:05:34,250 So what. 76 00:05:34,340 --> 00:05:45,510 When I, when I run this command I use the grip student in order to shore all the positions that belong 77 00:05:45,570 --> 00:05:47,550 to you as a student. 78 00:05:48,840 --> 00:05:49,770 I can do the same thing. 79 00:05:49,800 --> 00:05:54,590 P.S. Dasch e f then tight grip Brutsch. 80 00:05:55,470 --> 00:05:59,010 So I'm going to show all the position that I belong to. 81 00:06:00,490 --> 00:06:09,820 Road user, if I would like to also use discriminate Pierce Dash uppercase U then student. 82 00:06:12,540 --> 00:06:14,480 It would be the same thing is going to show me. 83 00:06:18,030 --> 00:06:22,080 It's gonna be different outcome, but it's gonna be the same thing is going to show me all the processes 84 00:06:22,080 --> 00:06:24,840 that are belongs to user stood. 85 00:06:26,960 --> 00:06:29,090 Now, if I would like to. 86 00:06:30,030 --> 00:06:32,070 Display Linux processes. 87 00:06:33,020 --> 00:06:34,480 There is another command also. 88 00:06:35,140 --> 00:06:41,320 We we what they have demonstrate the P is command. 89 00:06:41,640 --> 00:06:50,550 Now I can use also another command, the top command, in order to display the processes on the system. 90 00:06:51,060 --> 00:07:00,450 So the good thing about the top command that that provides a dynamic Real-Time view of running. 91 00:07:01,510 --> 00:07:02,380 Overrunning system. 92 00:07:03,380 --> 00:07:03,720 It. 93 00:07:04,190 --> 00:07:12,110 It also shows the system summary information, as well as a list of processes or Thirith currently being 94 00:07:12,290 --> 00:07:13,220 managed by. 95 00:07:14,240 --> 00:07:15,170 The Lennix could. 96 00:07:16,890 --> 00:07:21,430 If we would like to get more information about this to command, we kind of go to the Manbij. 97 00:07:21,710 --> 00:07:26,520 P.S. you can find more information on the option that we can use. 98 00:07:26,540 --> 00:07:27,710 As you can see over here. 99 00:07:28,370 --> 00:07:33,380 So here to see every boss, this is on the system using standard. 100 00:07:34,520 --> 00:07:40,820 Syntax, you see here, all the examples that can we can use with the Pierce comment and go back to 101 00:07:40,820 --> 00:07:48,080 the main screen, then if he would like also to find information about the top command, a type man, 102 00:07:48,500 --> 00:07:55,190 then the command top, as you can see here, you can find more details, information about disconnect. 103 00:07:56,690 --> 00:07:58,070 That's concludes our session. 104 00:07:58,580 --> 00:07:59,030 Thank you. 105 00:07:59,120 --> 00:08:00,560 And see you in the next lesson.