diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 70 |
1 files changed, 42 insertions, 28 deletions
diff --git a/configure.in b/configure.in index 37baafa..09e8e35 100644 --- a/configure.in +++ b/configure.in | |||
@@ -634,7 +634,7 @@ then | |||
634 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 634 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
635 | ac_cv_ps_command="$PATH_TO_PS -axwo 'stat uid ppid vsz rss pcpu comm args'" | 635 | ac_cv_ps_command="$PATH_TO_PS -axwo 'stat uid ppid vsz rss pcpu comm args'" |
636 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 636 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
637 | EXTRAS="$EXTRAS check_nagios" | 637 | ac_cv_ps_cols=8 |
638 | AC_MSG_RESULT([$ac_cv_ps_command]) | 638 | AC_MSG_RESULT([$ac_cv_ps_command]) |
639 | 639 | ||
640 | dnl STAT UCOMM VSZ RSS USER UID PPID COMMAND | 640 | dnl STAT UCOMM VSZ RSS USER UID PPID COMMAND |
@@ -644,7 +644,7 @@ then | |||
644 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 644 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
645 | ac_cv_ps_command="$PATH_TO_PS -weo 'stat uid ppid vsz rss pcpu comm args'" | 645 | ac_cv_ps_command="$PATH_TO_PS -weo 'stat uid ppid vsz rss pcpu comm args'" |
646 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 646 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
647 | EXTRAS="$EXTRAS check_nagios" | 647 | ac_cv_ps_cols=8 |
648 | AC_MSG_RESULT([$ac_cv_ps_command]) | 648 | AC_MSG_RESULT([$ac_cv_ps_command]) |
649 | 649 | ||
650 | dnl FreeBSD | 650 | dnl FreeBSD |
@@ -654,7 +654,7 @@ then | |||
654 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 654 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
655 | ac_cv_ps_command="$PATH_TO_PS waxco 'state uid ppid vsz rss pcpu command command'" | 655 | ac_cv_ps_command="$PATH_TO_PS waxco 'state uid ppid vsz rss pcpu command command'" |
656 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 656 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
657 | EXTRAS="$EXTRAS check_nagios" | 657 | ac_cv_ps_cols=8 |
658 | AC_MSG_RESULT([$ac_cv_ps_command]) | 658 | AC_MSG_RESULT([$ac_cv_ps_command]) |
659 | 659 | ||
660 | dnl BSD-like mode in RH 6.1 | 660 | dnl BSD-like mode in RH 6.1 |
@@ -664,7 +664,7 @@ then | |||
664 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 664 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
665 | ac_cv_ps_command="$PATH_TO_PS waxno 'state uid ppid vsz rss pcpu comm args'" | 665 | ac_cv_ps_command="$PATH_TO_PS waxno 'state uid ppid vsz rss pcpu comm args'" |
666 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 666 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
667 | EXTRAS="$EXTRAS check_nagios" | 667 | ac_cv_ps_cols=8 |
668 | AC_MSG_RESULT([$ac_cv_ps_command]) | 668 | AC_MSG_RESULT([$ac_cv_ps_command]) |
669 | 669 | ||
670 | dnl SunOS 4.1.3: | 670 | dnl SunOS 4.1.3: |
@@ -675,7 +675,7 @@ then | |||
675 | ac_cv_ps_varlist="[&procuid,&procppid,&procvsz,&procrss,procstat,&pos,procprog]" | 675 | ac_cv_ps_varlist="[&procuid,&procppid,&procvsz,&procrss,procstat,&pos,procprog]" |
676 | ac_cv_ps_command="$PATH_TO_PS -laxnwww" | 676 | ac_cv_ps_command="$PATH_TO_PS -laxnwww" |
677 | ac_cv_ps_format="%*s %d %*s %d %*s %*s %*s %d %d %*s %s %*s %*s %n%s" | 677 | ac_cv_ps_format="%*s %d %*s %d %*s %*s %*s %d %d %*s %s %*s %*s %n%s" |
678 | EXTRAS="$EXTRAS check_nagios" | 678 | ac_cv_ps_cols=8 |
679 | AC_MSG_RESULT([$ac_cv_ps_command]) | 679 | AC_MSG_RESULT([$ac_cv_ps_command]) |
680 | 680 | ||
681 | dnl Debian Linux / procps v1.2.9: | 681 | dnl Debian Linux / procps v1.2.9: |
@@ -688,7 +688,7 @@ then | |||
688 | ac_cv_ps_varlist="[&procuid,&procppid,procstat,&procvsz,&procrss,&pos,procprog]" | 688 | ac_cv_ps_varlist="[&procuid,&procppid,procstat,&procvsz,&procrss,&pos,procprog]" |
689 | ac_cv_ps_command="$PATH_TO_PS laxnwww" | 689 | ac_cv_ps_command="$PATH_TO_PS laxnwww" |
690 | ac_cv_ps_format="%*s %d %*s %d %*s %*s %d %d %*s %s %*s %*s %n%s" | 690 | ac_cv_ps_format="%*s %d %*s %d %*s %*s %d %d %*s %s %*s %*s %n%s" |
691 | EXTRAS="$EXTRAS check_nagios" | 691 | ac_cv_ps_cols=8 |
692 | AC_MSG_RESULT([$ac_cv_ps_command]) | 692 | AC_MSG_RESULT([$ac_cv_ps_command]) |
693 | 693 | ||
694 | dnl OpenBSD (needs to come early because -exo appears to work, but does not give all procs) | 694 | dnl OpenBSD (needs to come early because -exo appears to work, but does not give all procs) |
@@ -698,17 +698,17 @@ then | |||
698 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 698 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
699 | ac_cv_ps_command="$PATH_TO_PS -axo 'stat uid ppid vsz rss pcpu comm args'" | 699 | ac_cv_ps_command="$PATH_TO_PS -axo 'stat uid ppid vsz rss pcpu comm args'" |
700 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 700 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
701 | EXTRAS="$EXTRAS check_nagios" | 701 | ac_cv_ps_cols=8 |
702 | AC_MSG_RESULT([$ac_cv_ps_command]) | 702 | AC_MSG_RESULT([$ac_cv_ps_command]) |
703 | 703 | ||
704 | dnl AIX 4.3.3 - needs verification. This works for Tru64 - needs %*[ +] in PS_FORMAT | 704 | dnl Tru64 - needs %*[ +] in PS_FORMAT |
705 | elif ps -ao 'stat comm vsz rss user uid ppid args' 2>/dev/null | \ | 705 | elif ps -ao 'stat comm vsz rss user uid ppid args' 2>/dev/null | \ |
706 | egrep -i ["^ *S[TAUES]* +[UCOMDNA]+ +[VSIZE]+ +R[S]+ +U[SER]+ +U[ID]+ +P[PID]+ +[RGSCOMDNA]+"] >/dev/null | 706 | egrep -i ["^ *S[TAUES]* +[UCOMDNA]+ +[VSIZE]+ +R[S]+ +U[SER]+ +U[ID]+ +P[PID]+ +[RGSCOMDNA]+"] >/dev/null |
707 | then | 707 | then |
708 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 708 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
709 | ac_cv_ps_command="$PATH_TO_PS -ao 'stat uid ppid vsz rss pcpu comm args'" | 709 | ac_cv_ps_command="$PATH_TO_PS -ao 'stat uid ppid vsz rss pcpu comm args'" |
710 | ac_cv_ps_format=["%s%*[ +] %d %d %d %d %f %s %n"] | 710 | ac_cv_ps_format=["%s%*[ +] %d %d %d %d %f %s %n"] |
711 | EXTRAS="$EXTRAS check_nagios" | 711 | ac_cv_ps_cols=8 |
712 | AC_MSG_RESULT([$ac_cv_ps_command]) | 712 | AC_MSG_RESULT([$ac_cv_ps_command]) |
713 | 713 | ||
714 | elif ps -eo 's comm vsz rss user uid ppid args' 2>/dev/null | \ | 714 | elif ps -eo 's comm vsz rss user uid ppid args' 2>/dev/null | \ |
@@ -717,16 +717,26 @@ then | |||
717 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 717 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
718 | ac_cv_ps_command="$PATH_TO_PS -eo 's uid ppid vsz rss pcpu comm args'" | 718 | ac_cv_ps_command="$PATH_TO_PS -eo 's uid ppid vsz rss pcpu comm args'" |
719 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 719 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
720 | EXTRAS="$EXTRAS check_nagios" | 720 | ac_cv_ps_cols=8 |
721 | AC_MSG_RESULT([$ac_cv_ps_command]) | 721 | AC_MSG_RESULT([$ac_cv_ps_command]) |
722 | 722 | ||
723 | dnl AIX 4.3.3 and 5.1 do not have an rss field | ||
724 | elif ps -eo 'stat uid ppid vsz pcpu comm args' 2>/dev/null | \ | ||
725 | egrep -i ["^ *S[TAUES]* +UID +PPID +VSZ +%CPU +COMMAND +COMMAND"] >/dev/null | ||
726 | then | ||
727 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procpcpu,procprog,&pos]" | ||
728 | ac_cv_ps_command="$PATH_TO_PS -eo 'stat uid ppid vsz pcpu comm args'" | ||
729 | ac_cv_ps_format="%s %d %d %d %f %s %n" | ||
730 | ac_cv_ps_cols=7 | ||
731 | AC_MSG_RESULT([$ac_cv_ps_command - with no RSS]) | ||
732 | |||
723 | elif ps -Ao 's comm vsz rss uid user ppid args' 2>/dev/null | \ | 733 | elif ps -Ao 's comm vsz rss uid user ppid args' 2>/dev/null | \ |
724 | egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+"] >/dev/null | 734 | egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS +UID +USER +PPID +[RGSCOMDNA]+"] >/dev/null |
725 | then | 735 | then |
726 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 736 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
727 | ac_cv_ps_command="$PATH_TO_PS -Ao 's uid ppid vsz rss pcpu comm args'" | 737 | ac_cv_ps_command="$PATH_TO_PS -Ao 's uid ppid vsz rss pcpu comm args'" |
728 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 738 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
729 | EXTRAS="$EXTRAS check_nagios" | 739 | ac_cv_ps_cols=8 |
730 | AC_MSG_RESULT([$ac_cv_ps_command]) | 740 | AC_MSG_RESULT([$ac_cv_ps_command]) |
731 | 741 | ||
732 | elif ps -Ao 'status comm vsz rss uid user ppid args' 2>/dev/null | \ | 742 | elif ps -Ao 'status comm vsz rss uid user ppid args' 2>/dev/null | \ |
@@ -735,7 +745,7 @@ then | |||
735 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 745 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
736 | ac_cv_ps_command="$PATH_TO_PS -Ao 'status uid ppid vsz rss pcpu comm args'" | 746 | ac_cv_ps_command="$PATH_TO_PS -Ao 'status uid ppid vsz rss pcpu comm args'" |
737 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 747 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
738 | EXTRAS="$EXTRAS check_nagios" | 748 | ac_cv_ps_cols=8 |
739 | AC_MSG_RESULT([$ac_cv_ps_command]) | 749 | AC_MSG_RESULT([$ac_cv_ps_command]) |
740 | 750 | ||
741 | elif ps -Ao 'state comm vsz rss uid user ppid args' 2>/dev/null | \ | 751 | elif ps -Ao 'state comm vsz rss uid user ppid args' 2>/dev/null | \ |
@@ -744,7 +754,7 @@ then | |||
744 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 754 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
745 | ac_cv_ps_command="$PATH_TO_PS -Ao 'state uid ppid vsz rss pcpu comm args'" | 755 | ac_cv_ps_command="$PATH_TO_PS -Ao 'state uid ppid vsz rss pcpu comm args'" |
746 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 756 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
747 | EXTRAS="$EXTRAS check_nagios" | 757 | ac_cv_ps_cols=8 |
748 | AC_MSG_RESULT([$ac_cv_ps_command]) | 758 | AC_MSG_RESULT([$ac_cv_ps_command]) |
749 | 759 | ||
750 | dnl wonder who takes state instead of stat | 760 | dnl wonder who takes state instead of stat |
@@ -754,7 +764,7 @@ then | |||
754 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" | 764 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos]" |
755 | ac_cv_ps_command="$PATH_TO_PS -ao 'state uid ppid vsz rss pcpu command args'" | 765 | ac_cv_ps_command="$PATH_TO_PS -ao 'state uid ppid vsz rss pcpu command args'" |
756 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 766 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
757 | EXTRAS="$EXTRAS check_nagios" | 767 | ac_cv_ps_cols=7 |
758 | AC_MSG_RESULT([$ac_cv_ps_command]) | 768 | AC_MSG_RESULT([$ac_cv_ps_command]) |
759 | 769 | ||
760 | dnl IRIX 53 | 770 | dnl IRIX 53 |
@@ -764,6 +774,7 @@ then | |||
764 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&pos,procprog]" | 774 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&procvsz,&procrss,&pos,procprog]" |
765 | ac_cv_ps_command="$PATH_TO_PS -el" | 775 | ac_cv_ps_command="$PATH_TO_PS -el" |
766 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %d %d %*s %*s %*s %n%s" | 776 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %d %d %*s %*s %*s %n%s" |
777 | ac_cv_ps_cols=7 | ||
767 | AC_MSG_RESULT([$ac_cv_ps_command]) | 778 | AC_MSG_RESULT([$ac_cv_ps_command]) |
768 | 779 | ||
769 | dnl IRIX 63 | 780 | dnl IRIX 63 |
@@ -773,6 +784,7 @@ then | |||
773 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" | 784 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" |
774 | ac_cv_ps_command="$PATH_TO_PS -el" | 785 | ac_cv_ps_command="$PATH_TO_PS -el" |
775 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" | 786 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" |
787 | ac_cv_ps_cols=5 | ||
776 | AC_MSG_RESULT([$ac_cv_ps_command]) | 788 | AC_MSG_RESULT([$ac_cv_ps_command]) |
777 | 789 | ||
778 | dnl AIX 4.1: | 790 | dnl AIX 4.1: |
@@ -784,6 +796,7 @@ then | |||
784 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" | 796 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" |
785 | ac_cv_ps_command="$PATH_TO_PS -el" | 797 | ac_cv_ps_command="$PATH_TO_PS -el" |
786 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %n%s" | 798 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %n%s" |
799 | ac_cv_ps_cols=7 | ||
787 | AC_MSG_RESULT([$ac_cv_ps_command]) | 800 | AC_MSG_RESULT([$ac_cv_ps_command]) |
788 | 801 | ||
789 | dnl AIX? | 802 | dnl AIX? |
@@ -793,6 +806,7 @@ then | |||
793 | ac_cv_ps_varlist="[&procuid,&procppid,&procvsz,&procrss,procstat,&pos,procprog]" | 806 | ac_cv_ps_varlist="[&procuid,&procppid,&procvsz,&procrss,procstat,&pos,procprog]" |
794 | ac_cv_ps_command="$PATH_TO_PS glaxen" | 807 | ac_cv_ps_command="$PATH_TO_PS glaxen" |
795 | ac_cv_ps_format="%*s %d %*s %d %*s %*s %d %d %*s %s %*s %*s %n%s" | 808 | ac_cv_ps_format="%*s %d %*s %d %*s %*s %d %d %*s %s %*s %*s %n%s" |
809 | ac_cv_ps_cols=7 | ||
796 | AC_MSG_RESULT([$ac_cv_ps_command]) | 810 | AC_MSG_RESULT([$ac_cv_ps_command]) |
797 | 811 | ||
798 | dnl MacOSX / Darwin | 812 | dnl MacOSX / Darwin |
@@ -806,7 +820,7 @@ then | |||
806 | ac_cv_ps_command="$PATH_TO_PS wwaxo 'state vsz rss uid ppid pcpu ucomm command'" | 820 | ac_cv_ps_command="$PATH_TO_PS wwaxo 'state vsz rss uid ppid pcpu ucomm command'" |
807 | ac_cv_ps_varlist="[procstat,&procvsz,&procrss,&procuid,&procppid,&procpcpu,procprog,&pos]" | 821 | ac_cv_ps_varlist="[procstat,&procvsz,&procrss,&procuid,&procppid,&procpcpu,procprog,&pos]" |
808 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" | 822 | ac_cv_ps_format="%s %d %d %d %d %f %s %n" |
809 | EXTRAS="$EXTRAS check_nagios" | 823 | ac_cv_ps_cols=7 |
810 | AC_MSG_RESULT([$ac_cv_ps_command]) | 824 | AC_MSG_RESULT([$ac_cv_ps_command]) |
811 | 825 | ||
812 | dnl UnixWare | 826 | dnl UnixWare |
@@ -816,24 +830,24 @@ then | |||
816 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" | 830 | ac_cv_ps_varlist="[procstat,&procuid,&procppid,&pos,procprog]" |
817 | ac_cv_ps_command="$PATH_TO_PS -Al" | 831 | ac_cv_ps_command="$PATH_TO_PS -Al" |
818 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" | 832 | ac_cv_ps_format="%*s %s %d %*s %d %*s %*s %*s %*s %*s %*s %*s %*s %*s %n%s" |
819 | #if ps -Ao 'vsz comm' 2>/dev/null | \ | 833 | ac_cv_ps_cols=7 |
820 | # egrep -i ["^ *VSZ +COMMAND"] >/dev/null | ||
821 | #then | ||
822 | # ac_cv_vsz_command="$PATH_TO_PS -Ao 'vsz comm'" | ||
823 | # ac_cv_vsz_format="%*s %d" | ||
824 | #fi | ||
825 | AC_MSG_RESULT([$ac_cv_ps_command]) | 834 | AC_MSG_RESULT([$ac_cv_ps_command]) |
826 | 835 | ||
827 | else | 836 | else |
828 | AC_MSG_WARN([unable to find usable ps syntax]) | 837 | AC_MSG_WARN([unable to find usable ps syntax - check_procs and check_nagios will not be compiled]) |
829 | fi | 838 | fi |
830 | 839 | ||
831 | AC_DEFINE_UNQUOTED(PS_VARLIST,$ac_cv_ps_varlist, | 840 | if test -n $ac_cv_ps_varlist ; then |
832 | [Variable list for sscanf of 'ps' output]) | 841 | AC_DEFINE_UNQUOTED(PS_VARLIST,$ac_cv_ps_varlist, |
833 | AC_DEFINE_UNQUOTED(PS_COMMAND,"$ac_cv_ps_command", | 842 | [Variable list for sscanf of 'ps' output]) |
834 | [Verbatim command to execute for ps in check_procs]) | 843 | AC_DEFINE_UNQUOTED(PS_COMMAND,"$ac_cv_ps_command", |
835 | AC_DEFINE_UNQUOTED(PS_FORMAT,"$ac_cv_ps_format", | 844 | [Verbatim command to execute for ps in check_procs]) |
836 | [Format string for scanning ps output in check_procs]) | 845 | AC_DEFINE_UNQUOTED(PS_FORMAT,"$ac_cv_ps_format", |
846 | [Format string for scanning ps output in check_procs]) | ||
847 | AC_DEFINE_UNQUOTED(PS_COLS,$ac_cv_ps_cols, | ||
848 | [Number of columns in ps command]) | ||
849 | EXTRAS="$EXTRAS check_procs check_nagios" | ||
850 | fi | ||
837 | 851 | ||
838 | dnl jm_AFS | 852 | dnl jm_AFS |
839 | jm_LIST_MOUNTED_FILESYSTEMS([list_mounted_fs=yes], [list_mounted_fs=no]) | 853 | jm_LIST_MOUNTED_FILESYSTEMS([list_mounted_fs=yes], [list_mounted_fs=no]) |