<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16640" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008>I was seeing this on both hp/ux 11.00 and
11.23. I fixed it by changing the line in hobbitclient-hp-ux.sh
to:</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008>UNIX95=1 ps -ef -o
uid,pid,ppid,cpu,stime,tty=TTY -o time,comm</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008>I guess you could use ps -A instead of -ef
but both work. You can leave out the =TTY and second "-o" if you don't
care if the TTY column is not named TTY.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008>DL</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Lucida Sans Typewriter" color=#0000ff
size=2><SPAN class=989031715-03062008></SPAN></FONT> </DIV><FONT
face="Lucida Sans Typewriter" color=#0000ff size=2></FONT><FONT
face="Lucida Sans Typewriter" color=#0000ff size=2></FONT><FONT
face="Lucida Sans Typewriter" color=#0000ff size=2></FONT><FONT
face="Lucida Sans Typewriter" color=#0000ff size=2></FONT><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Lars Ebeling
[mailto:lars.ebeling@leopg9.no-ip.org] <BR><B>Sent:</B> Tuesday, June 03, 2008
12:06 AM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> Re: [hobbit] HPUX and
procs column<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2>What version of HP-UX are you running? I am
running 11.11 and here it works.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Lars</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=Doug.Linder@sabic-ip.com
href="mailto:Doug.Linder@sabic-ip.com">Linder, Doug (SABIC Innovative
Plastics, consultant)</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=hobbit@hswn.dk
href="mailto:hobbit@hswn.dk">hobbit@hswn.dk</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 02, 2008 10:20
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [hobbit] HPUX and procs
column</DIV>
<DIV><FONT face="Lucida Sans Typewriter" color=#0000ff size=2></FONT><FONT
face="Lucida Sans Typewriter" color=#0000ff size=2></FONT><BR></DIV>
<DIV><FONT face="Lucida Sans Typewriter" size=2><SPAN
class=159151520-02062008>I just started doing some process monitoring in
Hobbit. It's working fine on all platforms except HP/UX. On
HP/UX systems the status goes to Warning immediately, and when you get the
details it says:</SPAN></FONT></DIV>
<DIV><FONT face="Lucida Sans Typewriter" size=2></FONT> </DIV>
<DIV><FONT face="Lucida Sans Typewriter" size=2>yellow Expected string
COMMAND not found in ps output header</FONT></DIV>
<DIV><FONT face="Lucida Sans Typewriter" size=2></FONT> </DIV>
<DIV><FONT face="Lucida Sans Typewriter"
size=2>UID PID PPID
C STIME
TTY TIME
CMD<BR>root
0 0 0 Jul 5
? 04:10
swapper<BR>root
1 0 0 Jul 5
? 35:35
init</FONT></DIV>
<DIV><FONT face="Lucida Sans Typewriter" size=2></FONT> </DIV>
<DIV><FONT face="Lucida Sans Typewriter" size=2><SPAN
class=159151520-02062008>I checked and sure enough, HP/UX seems to use "CMD"
as the header for the ps column that the other operating systems call
"COMMAND", so it isn't checking the processes right.</SPAN></FONT></DIV>
<DIV><FONT face="Lucida Sans Typewriter" size=2></FONT> </DIV>
<DIV><SPAN class=159151520-02062008><FONT face="Lucida Sans Typewriter"
size=2>Is that string somewhere in hobbit that I can change, like a script,
or would it be compiled into the binary?</FONT></SPAN></DIV>
<DIV><FONT face="Lucida Sans Typewriter" size=2></FONT> </DIV>
<DIV><FONT face="Lucida Sans Typewriter" size=2></FONT> </DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2>---</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Doug Linder</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>UNIX Systems
Administrator</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>
<DIV align=left>
<DIV align=left></DIV>
<DIV align=left>
<DIV align=left>
<DIV align=left><FONT face=Verdana color=#999999 size=2>CompuCom Systems,
Inc.</FONT></DIV><FONT face=Verdana>
<DIV align=left><FONT face="Lucida Sans Typewriter"
size=2></FONT> </DIV></DIV></FONT><FONT face=Verdana>
<DIV align=left><FONT face=Verdana color=#999999 size=2>SABIC Innovative
Plastics</FONT></DIV>
<DIV align=left><FONT color=#999999 size=2>T: 413 448 7563</FONT></DIV>
<DIV align=left><FONT color=#999999 size=2>D: *838 7563</FONT></DIV>
<DIV align=left><FONT color=#999999><FONT size=2>E: </FONT><A
title="blocked::mailto:brooke.storm@sabic-ip.com
mailto:patrick.mcnulty@sabic-ip.com"
href="mailto:doug.linderrdoug.linder@sabic-ip.com"><FONT
title="blocked::mailto:brooke.storm@sabic-ip.com
mailto:patrick.mcnulty@sabic-ip.com"
size=2>doug.linder@sabic-ip.com</FONT></A></FONT></DIV></FONT></DIV></DIV>
<DIV><FONT face="Lucida Sans Typewriter"></FONT> </DIV></FONT></DIV>
<DIV> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>