Followers

Powered by Blogger.
Saturday, July 11, 2009

How to Monitor Memory and Swap Usage in Ubuntu Linux

List Memory Usage in Kilobyte
$ free
total used free shared buffers cached
Mem: 2042788 839976 1202812 0 35992 399284
-/+ buffers/cache: 404700 1638088
Swap: 4462644 0 4462644

$ free -m for display usage in Megabyte
$ free -b for display in usage in Blocks

$ free -s 5 Ddisplay memory usage every 5 seconds continuously

0 comments:

About Me