Philipp Thomas wrote:
> I've been told by a collegue that wuftpd has function for modifying the info
> that ps shows. If there's interest, I could have a look at the wuftpd
> sources and see if I can come up with a patch for wget.
On some systems the kernel keeps (a part of) the command line and then ps
just shows whatever the kernel provides. The only way around this is to
fork and exec another instance of a program with different command line
arguments. Even with that in place, you'd still have a short time when
the original arguments can be seen by ps. That might not be much of a
concern, but various (GUI) front ends would be very confused with
something like this. Shells would have the same problem.
A daemon can afford it, because it has to fork anyway (even twice on some
systems) because of controling terminal and session stuff. A normal utility
can't do that, I think.
--
.-. .-. Sarcasm is just one more service we offer.
(_ \ / _)
| [EMAIL PROTECTED]
|