1 00:00:00,000 --> 00:00:12,640 Okay, so we need to analyze memory usage, 3 minus M is what we need to do. 2 00:00:12,640 --> 00:00:14,120 Now what can we see? 3 00:00:14,120 --> 00:00:18,680 Well, we can see that there is absolutely no problem at all. 4 00:00:18,680 --> 00:00:27,959 And that is because there is a 1332 use and 780 Mb free, that alone is more than 20%. 5 00:00:27,959 --> 00:00:33,840 And available, that is more than 60%, so nothing to worry about at all. 6 00:00:33,840 --> 00:00:39,880 But still, we need to analyze what is going on here, and in order to do so, you need to 7 00:00:39,880 --> 00:00:48,200 involve grep minus I active on proc meminfo, because the specific question was to get information 8 00:00:48,200 --> 00:00:49,959 about swap usage. 9 00:00:49,959 --> 00:00:52,799 Now there we get very interesting information. 10 00:00:52,799 --> 00:01:00,119 We have active anonymous memory set to about 1 GB, and inactive, there is no inactive memory. 11 00:01:00,119 --> 00:01:03,160 So why are we so interested in inactive memory? 12 00:01:03,160 --> 00:01:08,879 Well, that is because if you are reaching a situation of memory shortage, inactive memory 13 00:01:08,879 --> 00:01:10,720 can be moved to swap. 14 00:01:10,720 --> 00:01:15,720 So the question is, do we have enough swap to accommodate the inactive memory? 15 00:01:15,720 --> 00:01:21,239 Well, certainly at this point, we do, because there is no inactive memory. 16 00:01:21,239 --> 00:01:26,800 But related to this, we might be interested in the uptime command, and there we can see 17 00:01:26,800 --> 00:01:32,040 that this system has not been up for such a long period, and that explains the absence 18 00:01:32,040 --> 00:01:35,040 of inactive anonymous memory. 19 00:01:35,040 --> 00:01:40,160 This will definitely change if really something is happening on the system, and then this 20 00:01:40,160 --> 00:01:41,480 is what you should be looking at.