Pages

Finding out the amount of RAM being used

To find out the amount of RAM and swap space being used by all the processes in the system we can use the command free
for e.g.



To make the output a little more easy to understand we can use the option
"-k" for output in kilobytes,
"-m" for output in megabytes,
"-g" for output in gigabytes,
We can also make free to run periodically by using the options "-s" . For e.g.



Will run the command every seconds.

No comments:

Post a Comment