Useful Linux Monitoring Tools

If you still remember Mick Genie ever post on how to monitor RAM/Memory on Linux earlier from http://www.mickgenie.com/monitor-rammemory-on-linux/, you should have an idea on the basic command to monitor Linux server.

Today I would like to share some useful monitoring tools from Linux box. With Linux monitoring tools, it uses to analysis and debugging the Linux box.

1. Top Process
– Top process is the most used by the Linux user as it come with many useful information such as it’s server load, memory, iostat, etc.

With top command, it do comes with some hotkey.
t – Displays summary information off and on.
m –    Displays memory information off and on.
A –    Sorts the display by top consumers of various system resources. Useful for quick identification of performance-hungry tasks on a system.
f –    Enters an interactive configuration screen for top. Helpful for setting up top for a specific task.
o –    Enables you to interactively select the ordering within top.
r –    Issues renice command.
k –    Issues kill command.
z –    Turn on or off color/mono Continue reading Useful Linux Monitoring Tools

SysInternal: RAMMap

Windows Sysinternals released RAMMap on June 2010. This tool used to analyze the RAM usage of a box. It is compatible with Windows Vista, Windows 7, Windows Server 2008 or higher.

With RamMap, you may do the following:
– Use Counts: usage summary by type and paging list
– Processes: process working set sizes
– Priority Summary: prioritized standby list sizes
– Physical Pages: per-page use for all physical memory
– Physical Ranges: physical memory addresses
– File Summary: file data in RAM by file
– File Details: individual physical pages by file

Download here.

Monitor RAM/Memory on Linux

Memory (RAM) is known as an important component on the server to make sure that the server is running smooth and the running process could run in normal state. With Linux environment, it come with several tool to allow server administrator to check it’s memory such as free, top, vmstat, etc.

Today, Mick Genie will teach you on how to monitor them through several component that easily to understand by a server administrator or end user.

1. top – top command use to monitor the server performance, information, etc in real time. The rows of the memory and swap show that the total available, used and free memory and swap for your server.

2. /proc/meminfo – by open this file, it will show you the actual server properties information such as it’s memory, virtual memory, buffer, etc.

cat /proc/meminfo

3. free – one of the easier way to monitor and check the available memory from the server where you could use several command to control your needed information.

free -m
– use to monitor the physical memory

free -m -t
– use to monitor the physical memory plus it’s total usage

4. sar – sar command included ‘sysstat’ used to collect system activity information and saves it in a file before displaying it on a standard output.

You may use the command as below to show memory/swap/buffer information with human readable.

sar -r