[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [hobbit] HPUX and procs column
- To: <hobbit (at) hswn.dk>
- Subject: RE: [hobbit] HPUX and procs column
- From: "Manocchia, Robert" <Robert-Manocchia (at) IDEXX.com>
- Date: Mon, 2 Jun 2008 16:27:45 -0400
- Thread-index: AcjE7ipjbwFeCnYlSXiee8HySFkzMgAANTNA
- Thread-topic: [hobbit] HPUX and procs column
Try the following in the client/bin/hobbitclient-hp-ux.sh file
echo "[ps]"
UNIX95=1 ps -Ax -o pid,ppid,user,stime,state,pri,pcpu,time,vsz,args
It should return the expected string command instead of cmd.
-----Original Message-----
From: Linder, Doug (SABIC Innovative Plastics, consultant)
[mailto:Doug.Linder (at) sabic-ip.com]
Sent: Monday, June 02, 2008 4:21 PM
To: hobbit (at) hswn.dk
Subject: [hobbit] HPUX and procs column
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:
yellow Expected string COMMAND not found in ps output header
UID PID PPID C STIME TTY TIME CMD
root 0 0 0 Jul 5 ? 04:10 swapper
root 1 0 0 Jul 5 ? 35:35 init
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.
Is that string somewhere in hobbit that I can change, like a script, or
would it be compiled into the binary?
---
Doug Linder
UNIX Systems Administrator
CompuCom Systems, Inc.
SABIC Innovative Plastics
T: 413 448 7563
D: *838 7563
E: doug.linder (at) sabic-ip.com
<mailto:doug.linderrdoug.linder (at) sabic-ip.com>