summaryrefslogtreecommitdiffstats
path: root/plugins-root/pst3.c
AgeCommit message (Collapse)AuthorFilesLines
2015-10-13Fix for unclosed filehandle in pst3 on Solarisabrist1-1/+3
On Solaris, check_procs uses pst3 instead of /bin/ps (see http://monitoring-plugins.org/doc/faq/ps-on-solaris.html for background). There's a small bug in pst3 which causes it to NOT report some processes that are at the end of the process table, at least on very busy systems (we noticed this on a CoolThreads T5240 with load averages up to 90). The bug is that a filehandle is not properly closed. Thanks to jwinkle01 for finding and patching the bug. (Closes #1203)
2014-01-19Project rename initial commit.Monitoring Plugins Development Team1-1/+1
This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline.
2010-04-14pst3.c must not use nagiosplug/gnulib includesThomas Guyot-Sionnest1-1/+0
2009-09-14Ensure dirhandle is closed (Duncan Ferguson)Ton Voon1-0/+2
2009-07-14pst3 compile with Sun Studio CompilerTon Voon1-0/+2
2008-11-19Bulk EOL cleanupThomas Guyot-Sionnest1-12/+12
$ git diff --ignore-space-change|diffstat 0 files changed git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2087 f882894a-f735-0410-b71e-b25c423dba1c
2008-08-08Close on fdTon Voon1-0/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2031 f882894a-f735-0410-b71e-b25c423dba1c
2008-07-02Change pst3 again, this time to remove use of kvm which is notTon Voon1-157/+197
available in Solaris 10 non-global zones. Uses /proc, which is not available in older versions of Solaris. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2016 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-17Fixed possible coredump. Removed one level of subroutines (Duncan Ferguson)Ton Voon1-22/+16
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2012 f882894a-f735-0410-b71e-b25c423dba1c
2008-06-02Optimised pst3 for systems with large number of processes (Duncan Ferguson)Ton Voon1-140/+109
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2010 f882894a-f735-0410-b71e-b25c423dba1c
2008-05-27Add additional PID column headingTon Voon1-1/+1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2001 f882894a-f735-0410-b71e-b25c423dba1c
2008-02-28Reverted check_procs for solaris back to using pst3 due to truncationTon Voon1-1/+2
for argument fields using other methods git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1937 f882894a-f735-0410-b71e-b25c423dba1c
2008-01-31Bump plugins-root/ to GPLv3Thomas Guyot-Sionnest1-11/+11
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1920 f882894a-f735-0410-b71e-b25c423dba1c
2005-09-22first version of bob ingraham's pst3 to allow checking for longerM. Sean Finney1-0/+252
cmdline names than otherwise possible, by querying solaris kmem directly (ps forcibly truncates). added requisite configure.in voodoo and updated THANKS.in. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1238 f882894a-f735-0410-b71e-b25c423dba1c