<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3268" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<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><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></BODY></HTML>