Web Hosting Forum - A Web Hosting community for Webmasters


Divi WordPress Theme

Author Topic: How to check and monitor memory usage on Linux  (Read 2952 times)

0 Members and 1 Guest are viewing this topic.

Offline Kevin

  • Junior Guru
  • **
  • Posts: 72
  • iTrader: +4/-0
    • View Profile
How to check and monitor memory usage on Linux
« on: September 28, 2008, 11:37:57 AM »
To monitor the memory usage on the server is essential in order to make your server stable. If your server goes out of memory then you may need to reboot the server to come back your server online again. There are few commands available to monitor the memory usage on the server:

vmstat
This command gives you the information about processes, memory, paging, block IO,  traps, and CPU activity. For all the options refer the manual of this command (man vmstats).

free -m
It displays the amount of free and used memory in the system.  For all the options, refer the manual of this command (man free).

cat /proc/meminfo
This file contains the information of current memory status (Free memory, used memory etc.).

Regards,

Kevin

VPS Hosting - AccuWebHosting

hmb-willem

  • Guest
Re: How to check and monitor memory usage on Linux
« Reply #1 on: January 28, 2016, 01:45:49 PM »
Really helpful commands, thank you for sharing.

Divi WordPress Theme
Tags:
 

Related Topics

  Subject / Started by Replies Last post
8 Replies
55628 Views
Last post December 01, 2016, 01:07:34 PM
by Mooni
3 Replies
4131 Views
Last post January 28, 2016, 01:19:10 PM
by hmb-willem
0 Replies
885 Views
Last post August 21, 2013, 12:52:11 PM
by djpete
0 Replies
263 Views
Last post July 02, 2016, 02:37:25 PM
by juankarlos
0 Replies
100 Views
Last post August 14, 2017, 05:20:03 PM
by WHUK