check_mem.pl returns incorrect output for few servers
Posted: Thu Apr 19, 2012 7:13 am
Hi Support team,
I am using the check_mem.pl plugin for solaris memory usage.below is the option used:-
./check_mem.pl -w 20 -c 10 -f -C
But for few servers it gives kstat error and when I eliminate the -C option and use ./check_mem.pl -w 20 -w 10 -f I get the output.
The issue is for few servers if i do prstat -t and calculate the memory usage and match it with my check_mem.pl output it is not matching and not even nearby. My check_mem.pl gives critical usage and where as the prstat shows just 18% memory used. Please help with how does this plugin calculates the memory usages and why it is not giving correct output for few of the servers.
Regards,
khush
I am using the check_mem.pl plugin for solaris memory usage.below is the option used:-
./check_mem.pl -w 20 -c 10 -f -C
But for few servers it gives kstat error and when I eliminate the -C option and use ./check_mem.pl -w 20 -w 10 -f I get the output.
The issue is for few servers if i do prstat -t and calculate the memory usage and match it with my check_mem.pl output it is not matching and not even nearby. My check_mem.pl gives critical usage and where as the prstat shows just 18% memory used. Please help with how does this plugin calculates the memory usages and why it is not giving correct output for few of the servers.
Regards,
khush