summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKelvin Cheung <keguang.zhang@gmail.com>2012-08-06 10:26:26 +0800
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-08-06 12:49:29 +0200
commit663a1b6241b2dcae87427eff72fba9ae3fbf8d80 (patch)
tree013142c3c5c4a271c9a0e4930e051870298c2054
parentd30aaf3e0c5f90306a1c931794d9096d549405cf (diff)
downloadbuildroot-novena-663a1b6241b2dcae87427eff72fba9ae3fbf8d80.tar.gz
buildroot-novena-663a1b6241b2dcae87427eff72fba9ae3fbf8d80.zip
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/cpuload/Config.in8
-rw-r--r--package/cpuload/cpuload.mk13
3 files changed, 22 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index f308de793..c9ad06a7c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -663,6 +663,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 000000000..82bc450af
--- /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 000000000..d25c50463
--- /dev/null
+++ b/package/cpuload/cpuload.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# cpuload
+#
+#############################################################
+
+CPULOAD_VERSION = v0.3
+CPULOAD_SITE = git://github.com/kelvincheung/cpuload.git
+CPULOAD_LICENSE = GPLv2
+CPULOAD_LICENSE_FILES = COPYING
+
+
+$(eval $(autotools-package))