SUMMARY: 5.1a pk#5 and brackets around 'ps' process output

From: Mike Broderick (broderic@MIT.EDU)
Date: Mon Sep 08 2003 - 11:58:03 EDT


I had many replies to this, some some echoing the standard "don't reply
on ps output, use a PID file" that was good advice but not applicable
lest I wanted to hack commercial third party scripts. Some recommended
different ps command switches but nothing I tried changed the output in
the CMD field (still truncated and in brackets).

The solution that worked that a few recommended was calling HP s/w
support to obtain/install a customer specific patch
(T64KIT0019721-V51AB23-20030822 for 5.1a pk#5).

Thanks to Jenny Butler, Debra Alpert, Steve Herber, Phillip Brown,
Jean-marc Vincent, Bob Vickers, and Chris Medaglia for their replies

                                                                                                       
_Mike

Mike Broderick wrote:

> We just applied patch kit #5 to a 5.1a system to fix a problem and now
> several processes (all the Netbackup ones) show up in a 'ps' listing
> with brackets around the command (and command paths and params no
> longer appear). E.g.,
>
> pk#5:
>
> root 877 1 0.0 14:18:19 ?? 0:00.55 [ltid]
> root 883 1 0.0 14:18:19 ?? 0:00.31 [bprd]
> root 885 1 0.2 14:18:19 ?? 0:06.03 [vmd]
> root 889 1 0.0 14:18:19 ?? 0:01.04 [bpdbm]
> root 985 877 0.0 14:18:23 ?? 0:00.03 [acsd]
> root 1038 877 0.0 14:18:25 ?? 0:00.03 [tldd]
> root 1095 877 0.0 14:18:27 ?? 0:08.37 [avrd]
> root 1096 985 0.0 14:18:27 ?? 0:00.01
> [acssel]
>
> pk#4:
>
> root 439603 440795 0.0 Aug 26 ?? 2:39.99 avrd
> root 440722 1 0.0 Aug 26 ?? 2:26.44 vmd -v
> root 440765 1 0.0 Aug 26 ?? 0:00.00 portmap
> root 440767 1 0.0 Aug 26 ?? 0:09.50
> /usr/openv/netbackup/bin/bprd
> root 440795 1 0.0 Aug 26 ?? 0:12.70
> /usr/openv/volmgr/bin/ltid
> root 440820 1 0.0 Aug 26 ?? 0:01.49 tldcd -v
> root 440833 440891 0.0 Aug 26 ?? 0:00.17 acsssi 13741
> root 440842 440795 0.0 Aug 26 ?? 0:00.58 tldd -v
> root 440853 440891 0.0 Aug 26 ?? 0:00.01 acssel -s 13740
>
>
> /usr/bin/ps was patched but the old 'ps' also shows the changed output.
>
> This is breaking several Netbackup scripts that apparently rely on
> that output. I browsed the 119 patch list but could not readily
> identify the one that made this change.
>
> Anyone else seen this or know how to undo just this change.
>
>
> _Mike
>



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:35 EDT