|
From: Wayne J. <wjo...@mq...> - 2007-10-23 13:20:18
|
Some of our users have complained that since we started using the Java = Wrapper, that they can't find the process with the ps command. Well, = actually they can, just that it comes out something like: =20 wjohnson 16248 1 09:27 00:18 3632 0.0 00:00:00 2 = /home/wjohnson/qpasa/./wrapper /home/wjohnson/qpasa/qpws.conf = wrapper.syslog.ident=3Dqpws = wrapper.pidfile=3D/home/wjohnson/qpasa/./qpws.pid = wrapper.daemonize=3DTRUE Theoretically, on Unix, a program can overwrite it's command arguments = with another string (see = http://www.netsplit.com/blog/articles/2007/01/10/hiding-arguments-from-ps= ). A common example of this is the infamous sendmail daemon. =20 Some questions: 1) Is there already a way to do this with the wrapper? 2) Is it advisable to do this with the wrapper? Is it safe? Portable? 3) Is it something that would be useful in the community if I should = come up with a patch? 4) Would the maintainers be willing to integrate such a patch? =20 I have no problems writing the patch, but would prefer it become part of = the product, rather than as a local change of course. =20 Thanks. Wayne Johnson=20 Senior Software Engineer=20 MQSoftware, Inc.=20 1660 S Highway 100=20 Minneapolis, MN 55416=20 (952) 345-8628=20 =20 |