daemon: Make --monitor process change its process title.
authorBen Pfaff <blp@nicira.com>
Tue, 19 Jan 2010 23:00:56 +0000 (15:00 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 26 Jan 2010 18:52:46 +0000 (10:52 -0800)
commit40f0707cd9d105203c2b8b97a955b57aca426f13
treefe1150b1cdd4ee8dbfabc3ce37ed2bceced12ac9
parent7c6a5f146742506a7a15cceface63ec3ba1e3076
daemon: Make --monitor process change its process title.

When --monitor is used, administrators sometimes become confused about the
presence of two copies of each process.  This commit attempts to clarify
the situation by making the monitoring process change its process name, as
seen in /proc/$pid/cmdline and in "ps", to clearly indicate what is going
on.

CC: Dan Wendlandt <dan@nicira.com>
14 files changed:
extras/ezio/ezio-term.c
extras/ezio/ovs-switchui.c
lib/command-line.c
lib/command-line.h
lib/daemon.c
ovsdb/ovsdb-client.c
ovsdb/ovsdb-server.c
tests/test-jsonrpc.c
tests/test-timeval.c
utilities/ovs-controller.c
utilities/ovs-discover.c
utilities/ovs-openflowd.c
vswitchd/ovs-brcompatd.c
vswitchd/ovs-vswitchd.c