18 Commits

Author SHA1 Message Date
Thomas Graf
be8ef18b74 conf: Read global config from $(sysconfdir)/bmon.conf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-07-06 13:33:12 +02:00
Žilvinas Valinskas
ef4e488b2f Fix spelling.
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-06-05 12:04:34 +02:00
Žilvinas Valinskas
ee98b9ea30 osx: fix remaining compiler warnings
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-06-02 15:03:26 +02:00
Žilvinas Valinskas
852008c4ae osx: read interfaces, counters & etc.
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-06-02 15:03:23 +02:00
Žilvinas Valinskas
22b13d2506 osx: Import src/in_sysctl.c from bmon v2.0.1.
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-06-02 15:03:19 +02:00
Žilvinas Valinskas
c62eb9de44 osx: bmon v3.2 compiles and links
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-06-02 15:03:14 +02:00
Thomas Graf
deb1cd2aba unit: Do not cache unit divisor list result
Now that we support multiple divisor variants caching no longer makes sense

Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-05-08 15:30:10 +02:00
Thomas Graf
fd461f6568 curses: only initialize curses module if actually being used
Fixes display problems with plain ascii output

Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-05-08 15:22:00 +02:00
Thomas Graf
46ec101b00 Add -b / --use-bit option to display rates in bit/s instead of bytes/s
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-05-08 15:16:38 +02:00
Thomas Graf
d3a53dc1c1 conf: Correctly terminate default config with CFG_END()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-05-08 10:57:23 +02:00
Thomas Graf
e0efec0c42 ascii: Initialize prec variables
Ensure that branching does not leave behind uninitialized variables

Reported-by: dcb314
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-05-06 15:01:53 +02:00
Thomas Graf
164584b6f5 Merge pull request #8 from valinskas/zv/bmon-sigsegv
Fixes 'bmon -i dummy:randomize' SIGSEGV
2014-05-06 14:56:17 +02:00
Žilvinas Valinskas
aa1542cd98 Fixes 'bmon -i dummy:randomize' SIGSEGV
Reverse 'value' and 'type' parameters order in dummy_parse_opt()
function.
2014-05-01 10:07:27 +03:00
Andrew McCarthy
bb3b4c4b2c Fix spelling of Packets. 2014-04-30 09:46:46 +01:00
Dmitry Smirnov
bdd621e80f man page corrections (lintianisation) + spelling:
* hyphen-used-as-minus-sign
 * spelling-error-in-binary usr/bin/bmon childs children
2013-10-05 14:46:05 +10:00
Thomas Graf
509d64bd18 module: Support auto enabling and enforce single registration of module
Enforces a single registration of a module with a subsystem.
module_register() now returns -EBUSY if module is already
registered.

Adds support for BMON_MODULE_AUTO to flag modules that should
be autoloaded upon the first call to module_set(). Loading
will succeed if the probe() function succeeds.
2013-07-13 13:05:20 +02:00
Thomas Graf
2c047d2af3 curses: Use RARROW to mark selected item 2013-07-13 12:48:37 +02:00
Thomas Graf
3be703f67d Initial import 2013-07-05 15:11:46 +02:00