Divi WordPress Theme

How to check and monitor memory usage on Linux

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

Offline Kevin

  • Junior Guru
  • **
  • Posts: 69
  • 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.

Offline SwissLayer.

  • Newbie
  • *
  • Posts: 5
  • iTrader: +0/-0
    • View Profile
Re: How to check and monitor memory usage on Linux
« Reply #2 on: July 15, 2021, 12:45:41 AM »
Hi,

There's a lot of options but we like "htop" command.
Shopify Divi WordPress Theme
Tags:

Check MySQL service uptime through command line

Started by KailashBoard How Tos

Replies: 2
Views: 21481
Last post November 22, 2011, 10:03:24 PM
by Mrtu92
command to check Exim mail queue on server

Started by digitalpointBoard cPanel/WHM

Replies: 4
Views: 11961
Last post December 01, 2009, 10:49:16 PM
by kvchosting
Redirect the sub-domain on the Linux server (cPanel/WHM)

Started by KailashBoard How Tos

Replies: 0
Views: 10764
Last post July 04, 2007, 11:01:49 AM
by Kailash
How to find processes running by particular user on Linux server

Started by KailashBoard Linux

Replies: 2
Views: 13265
Last post April 02, 2014, 12:14:34 PM
by Rick
command to edit/remove cron job (crontab) on Linux server

Started by KailashBoard cPanel/WHM

Replies: 7
Views: 97986
Last post July 21, 2010, 11:34:10 AM
by webhosting.am