Thomas Graf
9d89c5bc8e
curses: Handle out of memory return value of of vasprintf()
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 22:11:32 +02:00
Thomas Graf
584ef44252
proc: Silence warning of unhandled fgets() return value
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 22:11:02 +02:00
Thomas Graf
41e36f2a66
element: Remove unneeded condition, element is always member of group
...
Fixes: CID 49003
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 20:52:53 +02:00
Thomas Graf
ccf33755ad
utils: Fix copy_timestamp() accuracy
...
Fixes: CID 49000
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 20:51:00 +02:00
Thomas Graf
3cff7715ce
curses: Check if value is provided for ngraph
...
Fixes: CID 49001
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 20:48:12 +02:00
Thomas Graf
22c83ceb1a
proc: Fix leakage of fd if element lookup failed
...
Fixes: CID 49002
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 20:44:53 +02:00
Thomas Graf
6eae8530c5
Fix uint64_t printf modifiers
...
Reported by clang. Repo compiles cleanly with clang at this point.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 14:55:27 +02:00
Thomas Graf
afb5db14c8
curses: Fix '?' to toggle quick help
...
Previously, pressing '?' only made the quick help appear but not
disappear again.
Reported-by: Bill [github id "broomdodger"]
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 14:05:42 +02:00
Žilvinas Valinskas
f7df93bcd3
bmon: unlink list element from list before xfree()
2014-07-20 23:56:07 +03:00
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