Display the real-time memory usage in Linux

by Rekha 2009-11-16 14:34:08

We need to monitor our Linux server memory usage, "watch" is a handy command to display the real-time memory usage in Linux.

watch – execute a program periodically, showing output fullscreen


We can issue the following command to keep track the real time memory usage in Linux.

watch -d free -m


The memory usage will update every 2 seconds, and the difference will be highlighted.

Tagged in:

1065
like
0
dislike
0
mail
flag

You must LOGIN to add comments