Gérer le swap

Cf. cet article :

How to Manage Swap Usage in Linux

 

Next, how heavy is your swap usage? You can find it out with any performance monitoring tool of your choice or with the free command. free -m will give you a snapshot of the memory usage in megabytes. For continuous monitoring, you might want to use watch.

watch -n 1 free -m

This will run the free -m command every second and print its output until you press “Ctrl + C.”

[…]

Now if you do experience swapping, you might be interested how much of it is active. The command vmstat will tell you all you need to know about your system’s virtual memory usage (swap and physical ram together).

vmstat 1

Publié

dans

par

Étiquettes :

Commentaires

Laisser un commentaire