Skip to content

Red Hat – Free command to monitor memory

28/02/2014

The free command displays both free and used memory.

Free

free

Free -m

Free can display free memory in megabytes (easier to read)

free -m

Free -s 15

Poll free memory in Seconds (impress your mates)

free -s

You can combine both

Free -m -s 15    (or)

Free -s 15 -m

free polling

******Second tool

vmstat

vmstat

vmstat 10 3

delay

vmstat [delay count]

example: vmstat 10 3

  1. delay is the delay between updates in seconds
  2. count is the number of updates
Advertisements

From → Uncategorized

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: