summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2005-09-20 16:11:24 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2005-09-20 16:11:24 (GMT)
commit635ac19a4ef66b3091210335e8eb4afbaac801dd (patch)
tree4062e2602a241c91de8f5146a73256f963f45ff7
parent571e8e5af47c727189798c43095fd903331bc639 (diff)
downloadmonitoring-plugins-635ac19a4ef66b3091210335e8eb4afbaac801dd.tar.gz
Incorrect assignment of procppid in configure.in (1296497 - Pascal Larisch)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1232 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--configure.in24
1 files changed, 12 insertions, 12 deletions
diff --git a/configure.in b/configure.in
index 6b812c6..053f849 100644
--- a/configure.in
+++ b/configure.in
@@ -714,7 +714,7 @@ then
714elif ps -eo 's comm vsz rss user uid pid ppid args' 2>/dev/null | \ 714elif ps -eo 's comm vsz rss user uid pid ppid args' 2>/dev/null | \
715 egrep -i ["^S[TAUES]* +C[OMDNA]+ +[VSIZE]+ +U[SER]+ +U[ID]+ +P[PID]+ +P[PID]+ +[RGSCOMDNA]+"] >/dev/null 715 egrep -i ["^S[TAUES]* +C[OMDNA]+ +[VSIZE]+ +U[SER]+ +U[ID]+ +P[PID]+ +P[PID]+ +[RGSCOMDNA]+"] >/dev/null
716then 716then
717 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&procvsz,&procrss,&procpcpu,procprog,&pos]" 717 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]"
718 ac_cv_ps_command="$PATH_TO_PS -eo 's uid pid ppid vsz rss pcpu comm args'" 718 ac_cv_ps_command="$PATH_TO_PS -eo 's uid pid ppid vsz rss pcpu comm args'"
719 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" 719 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n"
720 ac_cv_ps_cols=9 720 ac_cv_ps_cols=9
@@ -724,7 +724,7 @@ dnl AIX 4.3.3 and 5.1 do not have an rss field
724elif ps -eo 'stat uid pid ppid vsz pcpu comm args' 2>/dev/null | \ 724elif ps -eo 'stat uid pid ppid vsz pcpu comm args' 2>/dev/null | \
725 egrep -i ["^ *S[TAUES]* +UID +PID +PPID +VSZ +%CPU +COMMAND +COMMAND"] >/dev/null 725 egrep -i ["^ *S[TAUES]* +UID +PID +PPID +VSZ +%CPU +COMMAND +COMMAND"] >/dev/null
726then 726then
727 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&procvsz,&procpcpu,procprog,&pos]" 727 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procpcpu,procprog,&pos]"
728 ac_cv_ps_command="$PATH_TO_PS -eo 'stat uid pid ppid vsz pcpu comm args'" 728 ac_cv_ps_command="$PATH_TO_PS -eo 'stat uid pid ppid vsz pcpu comm args'"
729 ac_cv_ps_format="%s %d %d %d %d %f %s %n" 729 ac_cv_ps_format="%s %d %d %d %d %f %s %n"
730 ac_cv_ps_cols=8 730 ac_cv_ps_cols=8
@@ -734,7 +734,7 @@ dnl Solaris 2.6
734elif ps -Ao 's comm vsz rss uid user pid ppid args' 2>/dev/null | \ 734elif ps -Ao 's comm vsz rss uid user pid ppid args' 2>/dev/null | \
735 egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+"] >/dev/null 735 egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+"] >/dev/null
736then 736then
737 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&procvsz,&procrss,&procpcpu,procprog,&pos]" 737 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]"
738 ac_cv_ps_command="$PATH_TO_PS -Ao 's uid pid ppid vsz rss pcpu comm args'" 738 ac_cv_ps_command="$PATH_TO_PS -Ao 's uid pid ppid vsz rss pcpu comm args'"
739 # There must be no space between the %s and %n due to a wierd problem in sscanf where 739 # There must be no space between the %s and %n due to a wierd problem in sscanf where
740 # it will return %n as longer than the line length 740 # it will return %n as longer than the line length
@@ -745,7 +745,7 @@ then
745elif ps -Ao 'status comm vsz rss uid user pid ppid args' 2>/dev/null | \ 745elif ps -Ao 'status comm vsz rss uid user pid ppid args' 2>/dev/null | \
746 egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+"] >/dev/null 746 egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+"] >/dev/null
747then 747then
748 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&procvsz,&procrss,&procpcpu,procprog,&pos]" 748 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]"
749 ac_cv_ps_command="$PATH_TO_PS -Ao 'status uid pid ppid vsz rss pcpu comm args'" 749 ac_cv_ps_command="$PATH_TO_PS -Ao 'status uid pid ppid vsz rss pcpu comm args'"
750 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" 750 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n"
751 ac_cv_ps_cols=9 751 ac_cv_ps_cols=9
@@ -754,7 +754,7 @@ then
754elif ps -Ao 'state comm vsz rss uid user pid ppid args' 2>/dev/null | \ 754elif ps -Ao 'state comm vsz rss uid user pid ppid args' 2>/dev/null | \
755 egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+"] >/dev/null 755 egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+"] >/dev/null
756then 756then
757 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&procvsz,&procrss,&procpcpu,procprog,&pos]" 757 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]"
758 ac_cv_ps_command="$PATH_TO_PS -Ao 'state uid pid ppid vsz rss pcpu comm args'" 758 ac_cv_ps_command="$PATH_TO_PS -Ao 'state uid pid ppid vsz rss pcpu comm args'"
759 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" 759 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n"
760 ac_cv_ps_cols=9 760 ac_cv_ps_cols=9
@@ -764,7 +764,7 @@ dnl wonder who takes state instead of stat
764elif ps -ao 'state command vsz rss user pid ppid args' 2>/dev/null | \ 764elif ps -ao 'state command vsz rss user pid ppid args' 2>/dev/null | \
765 egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+"] >/dev/null 765 egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PID +PPID +[RGSCOMDNA]+"] >/dev/null
766then 766then
767 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&procvsz,&procrss,&procpcpu,procprog,&pos]" 767 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]"
768 ac_cv_ps_command="$PATH_TO_PS -ao 'state uid pid ppid vsz rss pcpu command args'" 768 ac_cv_ps_command="$PATH_TO_PS -ao 'state uid pid ppid vsz rss pcpu command args'"
769 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" 769 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n"
770 ac_cv_ps_cols=8 770 ac_cv_ps_cols=8
@@ -774,7 +774,7 @@ dnl IRIX 53
774elif ps -el 2>/dev/null | \ 774elif ps -el 2>/dev/null | \
775 egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +P +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null 775 egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +P +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null
776then 776then
777 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&procvsz,&procrss,&pos,procprog]" 777 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&pos,procprog]"
778 ac_cv_ps_command="$PATH_TO_PS -el (IRIX 53)" 778 ac_cv_ps_command="$PATH_TO_PS -el (IRIX 53)"
779 ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %d %d %*s %*s %*s %n%s" 779 ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %d %d %*s %*s %*s %n%s"
780 ac_cv_ps_cols=8 780 ac_cv_ps_cols=8
@@ -784,7 +784,7 @@ dnl IRIX 63
784elif ps -el 2>/dev/null | \ 784elif ps -el 2>/dev/null | \
785 egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +P +ADDR +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null 785 egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +P +ADDR +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null
786then 786then
787 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&pos,procprog]" 787 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&pos,procprog]"
788 ac_cv_ps_command="$PATH_TO_PS -el (IRIX 63)" 788 ac_cv_ps_command="$PATH_TO_PS -el (IRIX 63)"
789 ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" 789 ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s"
790 ac_cv_ps_cols=6 790 ac_cv_ps_cols=6
@@ -796,7 +796,7 @@ dnl 303 A 0 0 0 120 16 -- 1c07 20 24 - 0:45
796elif ps -el 2>/dev/null | \ 796elif ps -el 2>/dev/null | \
797 egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +ADDR +SZ +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null 797 egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +ADDR +SZ +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null
798then 798then
799 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&pos,procprog]" 799 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&pos,procprog]"
800 ac_cv_ps_command="$PATH_TO_PS -el (AIX 4.1 and HP-UX)" 800 ac_cv_ps_command="$PATH_TO_PS -el (AIX 4.1 and HP-UX)"
801 ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %n%s" 801 ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %n%s"
802 ac_cv_ps_cols=6 802 ac_cv_ps_cols=6
@@ -806,7 +806,7 @@ dnl AIX?
806elif ps glaxen 2>/dev/null | \ 806elif ps glaxen 2>/dev/null | \
807 egrep -i ["^ *F +UID +PID +PPID +PRI +NI +VSZ +RSS +WCHAN +STAT +TTY +TIME +COMMAND"] >/dev/null 807 egrep -i ["^ *F +UID +PID +PPID +PRI +NI +VSZ +RSS +WCHAN +STAT +TTY +TIME +COMMAND"] >/dev/null
808then 808then
809 ac_cv_ps_varlist="[&procuid,&procpid,&procpid,&procvsz,&procrss,procstat,&pos,procprog]" 809 ac_cv_ps_varlist="[&procuid,&procpid,&procppid,&procvsz,&procrss,procstat,&pos,procprog]"
810 ac_cv_ps_command="$PATH_TO_PS glaxen" 810 ac_cv_ps_command="$PATH_TO_PS glaxen"
811 ac_cv_ps_format="%*s %d %d %d %*s %*s %d %d %*s %s %*s %*s %n%s" 811 ac_cv_ps_format="%*s %d %d %d %*s %*s %d %d %*s %s %*s %*s %n%s"
812 ac_cv_ps_cols=8 812 ac_cv_ps_cols=8
@@ -821,7 +821,7 @@ elif ps wwaxo 'state vsz rss uid pid ppid pcpu ucomm command' 2>/dev/null | \
821 egrep -i ["^STAT +VSZ +RSS +UID +PPID +%CPU +UCOMM +COMMAND"] >/dev/null 821 egrep -i ["^STAT +VSZ +RSS +UID +PPID +%CPU +UCOMM +COMMAND"] >/dev/null
822then 822then
823 ac_cv_ps_command="$PATH_TO_PS wwaxo 'state vsz rss uid pid ppid pcpu ucomm command'" 823 ac_cv_ps_command="$PATH_TO_PS wwaxo 'state vsz rss uid pid ppid pcpu ucomm command'"
824 ac_cv_ps_varlist="[procstat,&procvsz,&procrss,&procuid,&procpid,&procpid,&procpcpu,procprog,&pos]" 824 ac_cv_ps_varlist="[procstat,&procvsz,&procrss,&procuid,&procpid,&procppid,&procpcpu,procprog,&pos]"
825 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n" 825 ac_cv_ps_format="%s %d %d %d %d %d %f %s %n"
826 ac_cv_ps_cols=8 826 ac_cv_ps_cols=8
827 AC_MSG_RESULT([$ac_cv_ps_command]) 827 AC_MSG_RESULT([$ac_cv_ps_command])
@@ -830,7 +830,7 @@ dnl UnixWare
830elif ps -Al 2>/dev/null | \ 830elif ps -Al 2>/dev/null | \
831 egrep -i ["^ *F +S +UID +PID +PPID +CLS +PRI +NI +C +ADDR +SZ +WCHAN +TTY +TIME +COMD"] >/dev/null 831 egrep -i ["^ *F +S +UID +PID +PPID +CLS +PRI +NI +C +ADDR +SZ +WCHAN +TTY +TIME +COMD"] >/dev/null
832then 832then
833 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&pos,procprog]" 833 ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procppid,&pos,procprog]"
834 ac_cv_ps_command="$PATH_TO_PS -Al" 834 ac_cv_ps_command="$PATH_TO_PS -Al"
835 ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" 835 ac_cv_ps_format="%*s %s %d %d %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s"
836 ac_cv_ps_cols=8 836 ac_cv_ps_cols=8