Move all to deprecated folder.

This commit is contained in:
2016-11-16 21:57:57 +01:00
parent 01738a7684
commit 05de7d6c04
9777 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
From bf646965f75cdad77a45fa3b0046e093b202b2ce Mon Sep 17 00:00:00 2001
From: Gustavo Zacarias <gustavo@zacarias.com.ar>
Date: Thu, 22 Jul 2010 12:42:10 -0300
Subject: [PATCH] Make cpu number counter more reliable
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
iostat.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/iostat.c b/iostat.c
index 13e2af7..5d74085 100644
--- a/iostat.c
+++ b/iostat.c
@@ -140,7 +140,7 @@ void get_number_of_cpus()
handle_error("Can't open /proc/cpuinfo", !ncpufp);
while (fgets(buffer, sizeof(buffer), ncpufp)) {
- if (!strncmp(buffer, "processor\t:", 11))
+ if (!strncasecmp(buffer, "processor\t", 10))
ncpu++;
}
fclose(ncpufp);
--
1.7.1

View File

@@ -0,0 +1,6 @@
config BR2_PACKAGE_IOSTAT
bool "iostat"
help
An I/O performance monitoring utility.
http://www.linuxinsight.com/iostat_utility.html

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 edc5aa73f43bd6c7d49f2c1d5906a0a68c0b28bc4dfdaf1f2aa5ae4a2449c58e iostat-2.2.tar.gz

View File

@@ -0,0 +1,21 @@
################################################################################
#
# iostat
#
################################################################################
IOSTAT_VERSION = 2.2
IOSTAT_SITE = http://www.linuxinsight.com/files
IOSTAT_LICENSE = GPL
IOSTAT_LICENSE_FILES = LICENSE
define IOSTAT_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS) -DHZ=100"
endef
define IOSTAT_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(IOSTAT_DIR)/iostat $(TARGET_DIR)/usr/bin/iostat
endef
$(eval $(generic-package))