From patchwork Thu Jul 19 08:54:09 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keguang Zhang X-Patchwork-Id: 171911 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 070132C00A2 for ; Thu, 19 Jul 2012 18:54:35 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0E5B7A054C; Thu, 19 Jul 2012 08:54:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FNwBB+zmF-lo; Thu, 19 Jul 2012 08:54:31 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 2FB66A0542; Thu, 19 Jul 2012 08:54:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 2A26C8F797 for ; Thu, 19 Jul 2012 08:54:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 211758D67A for ; Thu, 19 Jul 2012 08:54:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0vNpdAFL6eDy for ; Thu, 19 Jul 2012 08:54:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gg0-f171.google.com (mail-gg0-f171.google.com [209.85.161.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 40C7A8D5B3 for ; Thu, 19 Jul 2012 08:54:28 +0000 (UTC) Received: by ggmi1 with SMTP id i1so4670658ggm.16 for ; Thu, 19 Jul 2012 01:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=KwqxZgTbw5qhdgnIKErMoOugDmDiLCY+3Pr1+SsjJ7I=; b=fUJ1XPnqKusurzxJSzP1vopYrkI8zJxOIcVBQyPF+7W5Zn0E2HGdH0jZ0cewGo4Swy ziAVn0IPBxaVvMKXUaAXuNEkFRrCs9EVCx9T2Bc20NnwlIsdEN9+6bsRoFsDJzjBcS64 eZjTODC9U/5ST6xuZB27POpBL1IjAcXkauEiBLxFKMjhFwgA9qONPY2Bn9NHmmDwvf3y zgpu8kgUXbbs+gizFsu7Kfj0KWIbGforAllrR1MzPvTbUu2jwa7YjNkeo7jDZ00Kp3Cb 5P/wspYO0Umzl8hbHgW8Ncb/YITOOOYc8nw0CDdKclFYOXm4x9S0llKouUZ4i+psClYU xCBg== Received: by 10.66.76.196 with SMTP id m4mr2117523paw.61.1342688066788; Thu, 19 Jul 2012 01:54:26 -0700 (PDT) Received: from kelvin-Work.chd.intersil.com ([182.148.112.76]) by mx.google.com with ESMTPS id ms9sm1391673pbb.43.2012.07.19.01.54.23 (version=SSLv3 cipher=OTHER); Thu, 19 Jul 2012 01:54:26 -0700 (PDT) From: Kelvin Cheung To: buildroot@busybox.net Date: Thu, 19 Jul 2012 16:54:09 +0800 Message-Id: <1342688049-12065-2-git-send-email-keguang.zhang@gmail.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1342688049-12065-1-git-send-email-keguang.zhang@gmail.com> References: <1342688049-12065-1-git-send-email-keguang.zhang@gmail.com> Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH 2/2] New package: cpuload X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 --- 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))