Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] bwm-ng: move bwm-ng from "Networking applications" to "System tools".
@ 2012-07-19  8:54 Kelvin Cheung
  2012-07-19  8:54 ` [Buildroot] [PATCH 2/2] New package: cpuload Kelvin Cheung
  2012-07-19 21:50 ` [Buildroot] [PATCH 1/2] bwm-ng: move bwm-ng from "Networking applications" to "System tools" Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Kelvin Cheung @ 2012-07-19  8:54 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
---
 package/Config.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index 6aabb8e..154b82c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot]  [PATCH  2/2] New package: cpuload
  2012-07-19  8:54 [Buildroot] [PATCH 1/2] bwm-ng: move bwm-ng from "Networking applications" to "System tools" Kelvin Cheung
@ 2012-07-19  8:54 ` Kelvin Cheung
  2012-07-19 21:50   ` Thomas Petazzoni
  2012-07-19 21:50 ` [Buildroot] [PATCH 1/2] bwm-ng: move bwm-ng from "Networking applications" to "System tools" Thomas Petazzoni
  1 sibling, 1 reply; 5+ messages in thread
From: Kelvin Cheung @ 2012-07-19  8:54 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 154b82c..817716b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
diff --git a/package/cpuload/Config.in b/package/cpuload/Config.in
new file mode 100644
index 0000000..82bc450
--- /dev/null
+++ b/package/cpuload/Config.in
@@ -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
diff --git a/package/cpuload/cpuload.mk b/package/cpuload/cpuload.mk
new file mode 100644
index 0000000..2cbe82a
--- /dev/null
+++ b/package/cpuload/cpuload.mk
@@ -0,0 +1,11 @@
+#############################################################
+#
+# cpuload
+#
+#############################################################
+
+CPULOAD_VERSION = v0.2
+CPULOAD_SITE = git://github.com/kelvincheung/cpuload.git
+
+
+$(eval $(autotools-package))
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH  2/2] New package: cpuload
  2012-07-19  8:54 ` [Buildroot] [PATCH 2/2] New package: cpuload Kelvin Cheung
@ 2012-07-19 21:50   ` Thomas Petazzoni
  2012-07-20  6:05     ` Kelvin Cheung
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2012-07-19 21:50 UTC (permalink / raw)
  To: buildroot

Le Thu, 19 Jul 2012 16:54:09 +0800,
Kelvin Cheung <keguang.zhang@gmail.com> a ?crit :

> 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.
> 
> Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>

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
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/2] bwm-ng: move bwm-ng from "Networking applications" to "System tools".
  2012-07-19  8:54 [Buildroot] [PATCH 1/2] bwm-ng: move bwm-ng from "Networking applications" to "System tools" Kelvin Cheung
  2012-07-19  8:54 ` [Buildroot] [PATCH 2/2] New package: cpuload Kelvin Cheung
@ 2012-07-19 21:50 ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2012-07-19 21:50 UTC (permalink / raw)
  To: buildroot

Le Thu, 19 Jul 2012 16:54:08 +0800,
Kelvin Cheung <keguang.zhang@gmail.com> a ?crit :

> 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.
> 
> Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>

Makes sense, applied, thanks.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] New package: cpuload
  2012-07-19 21:50   ` Thomas Petazzoni
@ 2012-07-20  6:05     ` Kelvin Cheung
  0 siblings, 0 replies; 5+ messages in thread
From: Kelvin Cheung @ 2012-07-20  6:05 UTC (permalink / raw)
  To: buildroot

2012/7/20 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

> Le Thu, 19 Jul 2012 16:54:09 +0800,
> Kelvin Cheung <keguang.zhang@gmail.com> a ?crit :
>
> > 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.
> >
> > Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
>
> 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.


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



-- 
Best Regards!
Kelvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120720/6db05983/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-20  6:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-19  8:54 [Buildroot] [PATCH 1/2] bwm-ng: move bwm-ng from "Networking applications" to "System tools" Kelvin Cheung
2012-07-19  8:54 ` [Buildroot] [PATCH 2/2] New package: cpuload Kelvin Cheung
2012-07-19 21:50   ` Thomas Petazzoni
2012-07-20  6:05     ` Kelvin Cheung
2012-07-19 21:50 ` [Buildroot] [PATCH 1/2] bwm-ng: move bwm-ng from "Networking applications" to "System tools" Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox