Skip to contentSkip to conversation

bwm-ng: move bwm-ng from "Networking applications" to "System tools".

PATCH New Kelvin Cheung 2 participants 5 messages Jul 19, 2012 – Jul 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 bwm-ng: move bwm-ng from "Networking applications" to "System tools".

bwm-ng can monitor not only network bandwidth but also disk-io bandwidth, so it is more appropriate to put bwm-ng into System tools.

---
 package/Config.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
package/Config.in +1 -1
index 6aabb8e..154b82c 100644
@@ -511,7 +511,6 @@ endif
 source "package/bind/Config.in"
 source "package/bmon/Config.in"
 source "package/bridge-utils/Config.in"
-source "package/bwm-ng/Config.in"
 source "package/can-utils/Config.in"
 source "package/connman/Config.in"
 source "package/ctorrent/Config.in"
@@ -658,6 +657,7 @@ source "package/attr/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/bootutils/Config.in"
 endif
+source "package/bwm-ng/Config.in"
 source "package/htop/Config.in"
 source "package/kmod/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
Signature · 1 line
1.7.1
#1 lore raw

PATCH 2/2 New package: cpuload

Add new package: cpuload

cpuload is a simple tool to obtain intuitive vision of CPU load (including total, user, system, irq and softirq) within a certain time, which is especially useful for embedded system without GUI.

---
 package/Config.in          |    1 +
 package/cpuload/Config.in  |    8 ++++++++
 package/cpuload/cpuload.mk |   11 +++++++++++
 3 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 package/cpuload/Config.in
 create mode 100644 package/cpuload/cpuload.mk
package/Config.in +1 -0
index 154b82c..817716b 100644
@@ -658,6 +658,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/bootutils/Config.in"
 endif
 source "package/bwm-ng/Config.in"
+source "package/cpuload/Config.in"
 source "package/htop/Config.in"
 source "package/kmod/Config.in"
 if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
package/cpuload/Config.in new file +8 -0
new file mode 100644
index 0000000..82bc450
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_CPULOAD
+	bool "cpuload"
+	help
+	  cpuload is a simple tool to obtain intuitive vision of CPU load
+	  (including total, user, system, irq and softirq) within a certain
+	  time, which is especially useful for embedded system without GUI.
+
+	  https://github.com/kelvincheung/cpuload
package/cpuload/cpuload.mk new file +11 -0
new file mode 100644
index 0000000..2cbe82a
@@ -0,0 +1,11 @@
+#############################################################
+#
+# cpuload
+#
+#############################################################
+
+CPULOAD_VERSION = v0.2
+CPULOAD_SITE = git://github.com/kelvincheung/cpuload.git
+
+
+$(eval $(autotools-package))
Signature · 1 line
1.7.1
#2 lore raw

PATCH 2/2 New package: cpuload

Le Thu, 19 Jul 2012 16:54:09 +0800,
Kelvin Cheung <[email protected]> a ?crit :

Quoted 7 lines

Add new package: cpuload

cpuload is a simple tool to obtain intuitive vision of CPU load (including total, user, system, irq and softirq) within a certain time, which is especially useful for embedded system without GUI.

Your code includes <wchar.h>, but the package does not depend on BR2_USE_WCHAR. Did you try to build your package with the minimal uClibc settings (i.e wchar, IPv6, RPC, locale, etc. disabled) to see if it builds without requiring any special toolchain feature?

Thanks,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw

PATCH 2/2 New package: cpuload

2012/7/20 Thomas Petazzoni <[email protected]>

Quoted 9 lines

Le Thu, 19 Jul 2012 16:54:09 +0800,
Kelvin Cheung <[email protected]> a ?crit :

Quoted 6 lines

Add new package: cpuload

cpuload is a simple tool to obtain intuitive vision of CPU load (including total, user, system, irq and softirq) within a certain time, which is especially useful for embedded system without GUI.

Quoted 7 lines
Quoted 1 line

Your code includes <wchar.h>, but the package does not depend on BR2_USE_WCHAR. Did you try to build your package with the minimal uClibc settings (i.e wchar, IPv6, RPC, locale, etc. disabled) to see if it builds without requiring any special toolchain feature?

Thanks for reminding me.
I have removed the unnecessary wide-character string code in cpuload, and upgrade it to version 0.3.

Please review the new patch.

In addtion, I have tested 'cpuload' on several architectures: x86, MIPS and ARM. It works well so far.

Quoted 10 lines

Thanks,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

Signature · 5 lines
Best Regards!
Kelvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120720/6db05983/attachment.html>
#4 lore raw

PATCH 1/2 bwm-ng: move bwm-ng from "Networking applications" to "System tools".

In reply to Kelvin Cheung

Le Thu, 19 Jul 2012 16:54:08 +0800,
Kelvin Cheung <[email protected]> a ?crit :

Quoted 4 lines

bwm-ng can monitor not only network bandwidth but also disk-io bandwidth, so it is more appropriate to put bwm-ng into System tools.

Makes sense, applied, thanks.

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com