[Nagiosplug-devel] [ nagiosplug-Bugs-948667 ] check_procs under HP-UX does not see command arguments

SourceForge.net noreply at sourceforge.net
Wed May 5 12:43:04 CEST 2004


Bugs item #948667, was opened at 2004-05-05 19:16
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=948667&group_id=29880

Category: Argument proccessing
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark Plaksin (happyzi)
>Assigned to: Ton Voon (tonvoon)
Summary: check_procs under HP-UX does not see command arguments

Initial Comment:
The ps command used by check_procs on HP-UX does not
show command arguments.  So it can't be used to search
for things like "man ascii".

I think this is true for all versions of check_procs. 
I've specifically tried 1.3.1 and CVS HEAD under HP-UX
11.00.  I suspect it's the same on all versions of HP-UX.

configure picks '/usr/bin/ps -el' as the ps command. 
If this is changed to:
/usr/bin/env UNIX95=1 /usr/bin/ps  -eo
'state,uid,ppid,args'

and PS_FORMAT is "%s %s %s %n%s" and PS_VARLIST is
procstat,&procuid,&procppid,&pos,procprog

then it works.

----------------------------------------------------------------------

>Comment By: Ton Voon (tonvoon)
Date: 2004-05-05 20:42

Message:
Logged In: YES 
user_id=664364

Mark,

CVS HEAD was recently changed for HP-UX (configure output should 
show HP-UX as the ps syntax). Does this work?

Ton

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=948667&group_id=29880




More information about the Devel mailing list