Linux

freebsd check memory

Description:

check_mem.pl that uses /sbin/sysctl instead of vmstat for FreeBSD

Current Version

Last Release Date

June 18, 2009

Compatible With


Project Files
Project Notes
check_mem.pl that uses /sbin/sysctl instead of vmstat for FreeBSD 6.0+ (Previous versions untested.)
Reviews (1) Add a Review
simple and to the point
by mhollingdale, May 31, 2012

If you want some different calculations, like having free memory equals free+buffered+cached, then you need to make a couple of changes: add my $mem_buff = $sysctl->{"vfs.bufspace"}; and change: #$free_memory = $mem_inactive + $mem_cache + $mem_free + $mem_buff; $free_memory = $mem_cache + $mem_free + $mem_buff;



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4 (2)
Favorites
0
Views
155,210