Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_memory.pl

Current Version
1.0
Last Release Date
2012-01-07
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
Owner
License
GPL
Hits
80008
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
check_memory.pl will check the memory consumption of a process given by name
Usage:
check_memory.pl -p -w -c [-d] [-h]
-w warning threshold in KB
-c critical threshold in KB
-p process name
-h help message
-d debug messages

It summarizes the memory when there a several processes running.

it uses the /proc//status page to extract fields.
currently "VmData", "VmStk", "VmExe", "VmLib" and "VmRSS" are extracted.

Example output
WARNING: nscd, memory: 115788 KB | VmData=115700; VmLib=5052; VmRSS=105008; VmExe=104; VmStk=88;