[Nagiosplug-devel] [ nagiosplug-Bugs-1395515 ] bug in configure.in for AIX and Solaris
SourceForge.net
noreply at sourceforge.net
Mon Jan 2 11:32:13 CET 2006
Bugs item #1395515, was opened at 2006-01-02 20:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1395515&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Compilation
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: Jean-Yves LENHOF (jylenhof)
Assigned to: Nobody/Anonymous (nobody)
Summary: bug in configure.in for AIX and Solaris
Initial Comment:
There are some bugs (I'm still looking for another one)
in configure.in... for the ppid it should be &procppid
instead of &procpid for AIX and Solaris (you'll have to
check all platforms)
dnl AIX 4.3.3 and 5.1 do not have an rss field
elif ps -eo 'stat uid pid ppid vsz pcpu comm args'
2>/dev/null | \
egrep -i ["^ *S[TAUES]* +UID +PID +PPID +VSZ
+%CPU +COMMAND +COMMAND"] >
/dev/null
then
ac_cv_ps_varlist="[procstat,&procuid,&procpid,&procpid,&procvsz,&procpcp
u,procprog,&pos]"
ac_cv_ps_command="$PATH_TO_PS -eo 'stat uid pid
ppid vsz pcpu comm args'
"
ac_cv_ps_format="%s %d %d %d %d %f %s %n"
ac_cv_ps_cols=8
AC_MSG_RESULT([$ac_cv_ps_command - with no RSS])
dnl Solaris 2.6
elif ps -Ao 's comm vsz rss uid user pid ppid args'
2>/dev/null | \
egrep -i ["^S[TAUES]* +C[OMDNA]+ +V[SIZE]+ +RSS
+UID +USER +PID +PPID +[
RGSCOMDNA]+"] >/dev/null
then
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1395515&group_id=29880
More information about the Devel
mailing list