diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/configure.in b/configure.in index 6b812c6f..053f849d 100644 --- a/configure.in +++ b/configure.in | |||
@@ -714,7 +714,7 @@ then | |||
714 | elif ps -eo 's comm vsz rss user uid pid ppid args' 2>/dev/null | \ | 714 | elif 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 |
716 | then | 716 | then |
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 | |||
724 | elif ps -eo 'stat uid pid ppid vsz pcpu comm args' 2>/dev/null | \ | 724 | elif 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 |
726 | then | 726 | then |
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 | |||
734 | elif ps -Ao 's comm vsz rss uid user pid ppid args' 2>/dev/null | \ | 734 | elif 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 |
736 | then | 736 | then |
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 | |||
745 | elif ps -Ao 'status comm vsz rss uid user pid ppid args' 2>/dev/null | \ | 745 | elif 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 |
747 | then | 747 | then |
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 | |||
754 | elif ps -Ao 'state comm vsz rss uid user pid ppid args' 2>/dev/null | \ | 754 | elif 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 |
756 | then | 756 | then |
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 | |||
764 | elif ps -ao 'state command vsz rss user pid ppid args' 2>/dev/null | \ | 764 | elif 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 |
766 | then | 766 | then |
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 | |||
774 | elif ps -el 2>/dev/null | \ | 774 | elif 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 |
776 | then | 776 | then |
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 | |||
784 | elif ps -el 2>/dev/null | \ | 784 | elif 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 |
786 | then | 786 | then |
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 | |||
796 | elif ps -el 2>/dev/null | \ | 796 | elif 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 |
798 | then | 798 | then |
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? | |||
806 | elif ps glaxen 2>/dev/null | \ | 806 | elif 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 |
808 | then | 808 | then |
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 |
822 | then | 822 | then |
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 | |||
830 | elif ps -Al 2>/dev/null | \ | 830 | elif 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 |
832 | then | 832 | then |
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 |