Ben Reser <b...@reser.org> writes:

> I don't think the C standards specify this sort of behavior but something has
> to be shared between the kernel and the process in order to allow this
> modification.

sendmail is known for changing its ps line.  There is a python module
that demonstrates various methods:

https://github.com/dvarrazzo/py-setproctitle/blob/master/src/spt_status.c

Ways to do it include setproctitle(), pstat(), modifying argv, writing
to /dev/kmem (!), calling exec(), etc.  I have no idea if it is possible
on Windows, or even if the parameters are visible on Windows.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*

Reply via email to