On Wed, Sep 05, 2007 at 12:31:53PM -0700, Wayne Johnson wrote:
> We have a script that starts a C wrapper (tanuki) which starts a java command to start one of our daemons.  We've had a complaint that the ps command shows the java command options which is nothing like the original batch file parameters, confusing people who want to kill it.
> 
> The man page for ps suggests that a program can change what ps sees as it's arguments.  Anyone know how to do this?

http://www.netsplit.com/blog/articles/2007/01/10/hiding-arguments-from-ps

Cheers,
florin

-- 
Bruce Schneier expects the Spanish Inquisition.
      http://geekz.co.uk/schneierfacts/fact/163
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20070905/ed9458c2/attachment.pgp