System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture the LINUX Server memory utilization

 
Highlighted
Occasional Advisor

How to capture the LINUX Server memory utilization

Hi,

I'm trying to look at the Linux server memory utilization. I don't see any thing on the graph. Can any one guide me on this.

Thanks,
Sheshi.
8 REPLIES 8
Highlighted
Valued Contributor

Re: How to capture the LINUX Server memory utilization

Can try the command

# free -m
Highlighted
Frequent Advisor

Re: How to capture the LINUX Server memory utilization

you can use vmstat command.
you may keep the command running and output to a log file. You can use the log file to generate a graph in Excel.
Highlighted
Trusted Contributor

Re: How to capture the LINUX Server memory utilization

Hi,

Well you can use couple of options like.

1. free -m
2. glance
3. vmstat

Thanks
Vivek Bhatia
Highlighted
New Member

Re: How to capture the LINUX Server memory utilization

If you need graphs, you can use MRTG or Cacti to poll memory usage and create graphs.

Check Cacti here:
http://www.cacti.net/


If you just want to see the memory usage in command line, theres a nice tool called top.
Highlighted
Trusted Contributor

Re: How to capture the LINUX Server memory utilization

Hi Sheshi,
Below utility are very useful in linux to measure memory utilization.

from CLI command mode:
free
top
vmstat
sar

from GUI
gnome-system-monitor

you can run some commands according to your requirement. please go through the man of the commands for better consolidated output.
Highlighted
Exalted Contributor

Re: How to capture the LINUX Server memory utilization

Shalom,

Take a look at this:
http://www.hpux.ws/?p=8

The famous memory leak detector.

Very flexible, runs on HP-UX, Solaris and Linux.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Highlighted
Respected Contributor

Re: How to capture the LINUX Server memory utilization

Htop is nice.

http://htop.sourceforge.net/

It shows memory usage (system, swap, buffers) in a sort of a graph.
Highlighted
Occasional Advisor

Re: How to capture the LINUX Server memory utilization

Thanks for the help guys...worked it out using the commands...