Thomas Graf
e2df502abc
Remove unused variables
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-25 01:07:19 +02:00
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
cce438bef3
Add coverity logo to README
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 22:08:07 +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
279865c18d
README: Proper image scaling
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 15:31:24 +02:00
Thomas Graf
774d678dfe
Convert README to markdown
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 15:30:16 +02:00
Thomas Graf
b7d371a47c
Fix build status
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 15:23:10 +02:00
Thomas Graf
6f8c33d93e
Include travis-ci build status
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 15:20:14 +02:00
Thomas Graf
4a88b0cfeb
Merge pull request #16 from tgraf/travis-ci
...
Add travis-ci support
2014-08-24 15:18:03 +02:00
Thomas Graf
71a7a9667d
Add travis-ci support
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 15:14:22 +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
a29f6da2c5
3.4 release
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 14:14:50 +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
Thomas Graf
c06050d4ee
Provide correct bmon.conf example
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-08-24 14:03:09 +02:00
Thomas Graf
cbcd8dd8f2
Merge pull request #13 from valinskas/zv/fix-segfault
...
bmon: unlink list element from list before xfree()
2014-07-25 14:57:32 -07:00
Žilvinas Valinskas
f7df93bcd3
bmon: unlink list element from list before xfree()
2014-07-20 23:56:07 +03:00
Thomas Graf
a2c0e3d08e
3.3 release
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-07-06 13:51:29 +02:00
Thomas Graf
20814a34f1
Ignore more generated files
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-07-06 13:43:45 +02:00
Thomas Graf
e30ab3ad3d
Install bmon.conf in examples dir in package doc
...
Defaults are fine, no need to clutter sysconfdir with a useless
default config file.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-07-06 13:41:04 +02: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
Thomas Graf
b34be16240
Merge branch 'spelling'
2014-06-05 12:04:51 +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
Thomas Graf
ee347743ae
Merge branch 'macosx'
2014-06-02 15:03:43 +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
Žilvinas Valinskas
be69e1c337
osx: use <float.h> instead of <values.h>
...
Signed-off-by: Žilvinas Valinskas <zilvinas.valinskas@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-06-02 15:02:56 +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
127ffda015
Split LICENSE into LICENSE.BSD and LICENSE.MIT to be accurate
...
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2014-05-08 11:03:43 +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
Thomas Graf
bc2994f222
Merge pull request #7 from valinskas/master
...
Fix ${target_os} expansion in configure.ac
2014-05-06 14:55:07 +02:00
Thomas Graf
1c996307d7
Merge pull request #6 from andrewmccarthy/master
...
Fix spelling of Packets
2014-05-06 14:54:34 +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
Žilvinas Valinskas
0cf2ba344d
Fix ${target_os} expansion.
...
Adds missing AC_CANONICAL_{TARGET,SYSTEM} calls in configure.ac
to initialize ${target_os} and other variables. Without changes
${target_os} is always undefined (an empty string).
2014-04-30 23:17:21 +03:00
Andrew McCarthy
bb3b4c4b2c
Fix spelling of Packets.
2014-04-30 09:46:46 +01:00
Thomas Graf
efa145200c
Merge pull request #3 from motoko-kusanagi/patch-1
...
Update configure.ac
2013-12-03 02:44:05 -08:00
Marcin Szymkowski
15ba68f584
Update configure.ac
...
I reckon to add "requires libnl3-dev" instead of only libnl. I was trying to ./configure bmon for about 15 mins without success only because error message was showing me that my system is missing libnl not libnl3 :-(
2013-12-03 11:23:22 +01:00
Thomas Graf
d47fffc5bb
Bump for 3.2 release
2013-10-07 12:35:33 +02:00
Thomas Graf
f9da0ae5d1
Merge pull request #1 from onlyjob/master
...
man page corrections (lintianisation) + spelling:
2013-10-07 01:56:12 -07: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