Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
check_memory.pl will check the memory consumption of a process given by name
Current Version
1.0
Last Release Date
2012-01-07
Owner
Thorsten
Website
http://www.thorko.de
Download URL
http://www.thorko.de/git/public/plain/perl/master/v1.0/check_memory.pl
License
GPL
Compatible With
Usage: check_memory.pl -p <processname> -w <warning> -c <critical> [-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/<pid>/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;
You must be logged in to submit a review.
To:
From: