Divi WordPress Theme

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

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

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: