diff options
author | Ben Pfaff <blp@nicira.com> | 2010-01-19 15:00:56 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-01-26 10:52:46 -0800 |
commit | 40f0707cd9d105203c2b8b97a955b57aca426f13 (patch) | |
tree | fe1150b1cdd4ee8dbfabc3ce37ed2bceced12ac9 /vswitchd/ovs-brcompatd.c | |
parent | 7c6a5f146742506a7a15cceface63ec3ba1e3076 (diff) |
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>
Diffstat (limited to 'vswitchd/ovs-brcompatd.c')
-rw-r--r-- | vswitchd/ovs-brcompatd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vswitchd/ovs-brcompatd.c b/vswitchd/ovs-brcompatd.c index 04ee2c06..585ab2c7 100644 --- a/vswitchd/ovs-brcompatd.c +++ b/vswitchd/ovs-brcompatd.c @@ -1144,6 +1144,7 @@ main(int argc, char *argv[]) struct ovsdb_idl *idl; int retval; + proctitle_init(argc, argv); set_program_name(argv[0]); time_init(); vlog_init(); |