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:31,559
And available, that is more than 60%.

6
00:00:31,559 --> 00:00:33,840
So nothing to worry about at all.

7
00:00:33,840 --> 00:00:37,880
But still, we need to analyze what is going on here.

8
00:00:37,880 --> 00:00:45,720
And in order to do so, you need to involve grep minus I active on proc mem info, because

9
00:00:45,720 --> 00:00:49,959
the specific question was to get information about swap usage.

10
00:00:49,959 --> 00:00:52,779
Now there we get very interesting information.

11
00:00:52,779 --> 00:00:56,880
We have active anonymous memory set to about one gigabyte.

12
00:00:56,880 --> 00:01:00,099
And inactive, there is no inactive memory.

13
00:01:00,099 --> 00:01:03,180
So why are we so interested in inactive memory?

14
00:01:03,180 --> 00:01:08,779
Well, that is because if you are reaching a situation of memory shortage, inactive memory

15
00:01:08,779 --> 00:01:10,699
can be moved to swap.

16
00:01:10,699 --> 00:01:15,739
So the question is, do we have enough swap to accommodate the inactive memory?

17
00:01:15,739 --> 00:01:21,260
Well, certainly at this point, we do, because there is no inactive memory.

18
00:01:21,260 --> 00:01:25,900
But related to this, we might be interested in the uptime command.

19
00:01:25,919 --> 00:01:30,440
And there we can see that this system has not been up for such a long period.

20
00:01:30,440 --> 00:01:35,040
And that explains the absence of inactive anonymous memory.

21
00:01:35,040 --> 00:01:39,519
This will definitely change if really something is happening on the system.

22
00:01:39,519 --> 00:01:41,480
And then this is what you should be looking at.

