Operating System - Linux
1753774 Members
6965 Online
108799 Solutions
New Discussion юеВ

Re: How to capture the LINUX Server memory utilization

 
sheshi
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
Proliant Watch
Valued Contributor

Re: How to capture the LINUX Server memory utilization

Can try the command

# free -m
Ricky_HK
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.
Vivek Bhatia
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
Naru
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.
sarfaraj ahmad
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.
Steven E. Protter
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
wobbe
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.
sheshi
Occasional Advisor

Re: How to capture the LINUX Server memory utilization

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