[nagios-plugins] check_users: improve performance (#3)
Marc Remy <reply+i-4160733-f3398c83b13b2a4b73d4079fa5eaede5570905a2-71850-EymDizFzQUca5t4wFMVjgA@public.gmane.org>
| Newsgroups | gmane.network.nagios.plugins.devel |
|---|---|
| Message-ID | <[email protected]> |
This patch use the utxent function family to collect the user data. It improve the check speed. Need a system conforming to POSIX.1-2001. Tested only on Debian Squeeze x86_64. Already sent: ID: 3373486 http://sourceforge.net/tracker/?func=detail&atid=397599&aid=3373486&group_id=29880 You can merge this Pull Request by running: git pull https://github.com/mremy/nagios-plugins check_users-use-utxent-functions Or you can view, comment on it, or merge it online at: https://github.com/nagios-plugins/nagios-plugins/pull/3 -- Commit Summary -- * check_users: improve performance -- File Changes -- M plugins/Makefile.am (2) M plugins/check_users.c (38) -- Patch Links -- https://github.com/nagios-plugins/nagios-plugins/pull/3.patch https://github.com/nagios-plugins/nagios-plugins/pull/3.diff --- Reply to this email directly or view it on GitHub: https://github.com/nagios-plugins/nagios-plugins/pull/3 ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________________ Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null