Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 39F98200C1D for ; Thu, 16 Feb 2017 23:26:15 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 388EC160B61; Thu, 16 Feb 2017 22:26:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 82175160B52 for ; Thu, 16 Feb 2017 23:26:14 +0100 (CET) Received: (qmail 67557 invoked by uid 500); 16 Feb 2017 22:26:13 -0000 Mailing-List: contact commits-help@hawq.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hawq.incubator.apache.org Delivered-To: mailing list commits@hawq.incubator.apache.org Received: (qmail 67548 invoked by uid 99); 16 Feb 2017 22:26:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2017 22:26:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3A294C0D28 for ; Thu, 16 Feb 2017 22:26:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.218 X-Spam-Level: X-Spam-Status: No, score=-6.218 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hL-UIgtG2k38 for ; Thu, 16 Feb 2017 22:26:12 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id A24395F36C for ; Thu, 16 Feb 2017 22:26:11 +0000 (UTC) Received: (qmail 67516 invoked by uid 99); 16 Feb 2017 22:26:10 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2017 22:26:10 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7B236DFC63; Thu, 16 Feb 2017 22:26:10 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: espino@apache.org To: commits@hawq.incubator.apache.org Message-Id: <86005510a08345cbbc0e571c5a6cf772@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-hawq git commit: HAWQ-1340. Remove unused file - tools/bin/disqual.ksh Date: Thu, 16 Feb 2017 22:26:10 +0000 (UTC) archived-at: Thu, 16 Feb 2017 22:26:15 -0000 Repository: incubator-hawq Updated Branches: refs/heads/master b9dd7b59e -> 93ed1847b HAWQ-1340. Remove unused file - tools/bin/disqual.ksh This closes #339 PR. Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/93ed1847 Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/93ed1847 Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/93ed1847 Branch: refs/heads/master Commit: 93ed1847b0bdd65c8af49e1433999b361ff60572 Parents: b9dd7b5 Author: Ed Espino Authored: Thu Feb 16 10:18:06 2017 -0800 Committer: Ed Espino Committed: Thu Feb 16 10:18:06 2017 -0800 ---------------------------------------------------------------------- tools/bin/diskqual.ksh | 41 ----------------------------------------- 1 file changed, 41 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/93ed1847/tools/bin/diskqual.ksh ---------------------------------------------------------------------- diff --git a/tools/bin/diskqual.ksh b/tools/bin/diskqual.ksh deleted file mode 100644 index 7da0ab2..0000000 --- a/tools/bin/diskqual.ksh +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/ksh -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -disks=`format &1 | - nawk '$1 == "real" { printf("%.0f\n", 67.108864 / $2) }' -} - -getspeed() -{ - for iter in 1 2 3 - do - getspeed1 $1 - done | sort -n | tail -2 | head -1 -} - -for disk in $disks -do - echo $disk `getspeed $disk` MB/sec -done -