Cf. cet article :
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 usewatch.
watch -n 1 free -mThis 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
Laisser un commentaire
Vous devez vous connecter pour publier un commentaire.