From: Eric Bollengier Date: Fri, 26 Nov 2010 09:43:48 +0000 (+0100) Subject: Display globla bandwidth limit in status client X-Git-Tag: Release-5.2.1~859 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a17f4bc069c70801a5d9e4649e085612612071b0;p=bacula%2Fbacula Display globla bandwidth limit in status client --- diff --git a/bacula/src/filed/status.c b/bacula/src/filed/status.c index aa515c9552..ed4f04d6d0 100644 --- a/bacula/src/filed/status.c +++ b/bacula/src/filed/status.c @@ -138,8 +138,9 @@ static void list_status_header(STATUS_PKT *sp) edit_uint64_with_commas(sm_buffers, b4), edit_uint64_with_commas(sm_max_buffers, b5)); sendit(msg.c_str(), len, sp); - len = Mmsg(msg, _(" Sizeof: boffset_t=%d size_t=%d debug=%d trace=%d\n"), - sizeof(boffset_t), sizeof(size_t), debug_level, get_trace()); + len = Mmsg(msg, _(" Sizeof: boffset_t=%d size_t=%d debug=%d trace=%d " + "bwlimit=%lldkb/s\n"), sizeof(boffset_t), sizeof(size_t), + debug_level, get_trace(), me->max_bandwidth/1024); sendit(msg.c_str(), len, sp); if (debug_level > 0 && plugin_list->size() > 0) { Plugin *plugin;