diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2004-04-29 15:08:38 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2004-04-29 15:08:38 +0000 |
commit | 53ea17c4b2ed2f6aa0aa804905311fda6d55636b (patch) | |
tree | 49b79cd7acfd5eac362774e3d2e68d4844585fc9 | |
parent | 372c6f2a538f66ac3cc14db83e9d654a81e562fd (diff) | |
download | monitoring-plugins-53ea17c4b2ed2f6aa0aa804905311fda6d55636b.tar.gz |
Bug in ps -el for AIX 4.1
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@873 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | configure.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configure.in b/configure.in index 3173d6d4..79fe2f0d 100644 --- a/configure.in +++ b/configure.in | |||
@@ -782,7 +782,7 @@ elif ps -el 2>/dev/null | \ | |||
782 | egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +P +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null | 782 | egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +P +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null |
783 | then | 783 | then |
784 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&pos,procprog]" | 784 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&pos,procprog]" |
785 | ac_cv_ps_command="$PATH_TO_PS -el" | 785 | ac_cv_ps_command="$PATH_TO_PS -el (IRIX 53)" |
786 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %d %d %*s %*s %*s %n%s" | 786 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %d %d %*s %*s %*s %n%s" |
787 | ac_cv_ps_cols=7 | 787 | ac_cv_ps_cols=7 |
788 | AC_MSG_RESULT([$ac_cv_ps_command]) | 788 | AC_MSG_RESULT([$ac_cv_ps_command]) |
@@ -792,7 +792,7 @@ elif ps -el 2>/dev/null | \ | |||
792 | egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +P +ADDR +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null | 792 | egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +P +ADDR +SZ +RSS +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null |
793 | then | 793 | then |
794 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" | 794 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" |
795 | ac_cv_ps_command="$PATH_TO_PS -el" | 795 | ac_cv_ps_command="$PATH_TO_PS -el (IRIX 63)" |
796 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" | 796 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" |
797 | ac_cv_ps_cols=5 | 797 | ac_cv_ps_cols=5 |
798 | AC_MSG_RESULT([$ac_cv_ps_command]) | 798 | AC_MSG_RESULT([$ac_cv_ps_command]) |
@@ -804,9 +804,9 @@ elif ps -el 2>/dev/null | \ | |||
804 | egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +ADDR +SZ +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null | 804 | egrep -i ["^ *F +S +UID +PID +PPID +C +PRI +NI +ADDR +SZ +WCHAN +TTY +TIME +[RGSCOMDNA]+"] >/dev/null |
805 | then | 805 | then |
806 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" | 806 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" |
807 | ac_cv_ps_command="$PATH_TO_PS -el" | 807 | ac_cv_ps_command="$PATH_TO_PS -el (AIX 4.1)" |
808 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %n%s" | 808 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %n%s" |
809 | ac_cv_ps_cols=7 | 809 | ac_cv_ps_cols=5 |
810 | AC_MSG_RESULT([$ac_cv_ps_command]) | 810 | AC_MSG_RESULT([$ac_cv_ps_command]) |
811 | 811 | ||
812 | dnl AIX? | 812 | dnl AIX? |